diff -r 20c2c4dc8b77 -r 8f8a2a1c5d09 hotspot/src/share/vm/opto/bytecodeInfo.cpp --- a/hotspot/src/share/vm/opto/bytecodeInfo.cpp Tue Mar 19 07:23:29 2013 -0700 +++ b/hotspot/src/share/vm/opto/bytecodeInfo.cpp Tue Mar 19 10:56:33 2013 -0700 @@ -157,9 +157,10 @@ } else { // Not hot. Check for medium-sized pre-existing nmethod at cold sites. if (callee_method->has_compiled_code() && - callee_method->instructions_size() > inline_small_code_size) + callee_method->instructions_size() > inline_small_code_size) { set_msg("already compiled into a medium method"); return false; + } } if (size > max_inline_size) { if (max_inline_size > default_max_inline_size) {