--- old/src/share/vm/code/codeCache.cpp 2014-10-15 13:06:32.635354249 +0200 +++ new/src/share/vm/code/codeCache.cpp 2014-10-15 13:06:32.539354254 +0200 @@ -1013,7 +1013,7 @@ if (SegmentedCodeCache) { warning("%s is full. Compiler has been disabled.", CodeCache::get_code_heap_name(code_blob_type)); warning("Try increasing the code heap size using -XX:%s=", - (code_blob_type == CodeBlobType::MethodNonProfiled) ? "NonProfiledCodeHeapSize" : "ProfiledCodeHeapSize"); + (code_blob_type == CodeBlobType::MethodProfiled) ? "ProfiledCodeHeapSize" : "NonProfiledCodeHeapSize"); } else { warning("CodeCache is full. Compiler has been disabled."); warning("Try increasing the code cache size using -XX:ReservedCodeCacheSize=");