8010222: 8007439 disabled inlining of cold accessor methods
authorkvn
Tue, 19 Mar 2013 10:56:33 -0700
changeset 16373 8f8a2a1c5d09
parent 16372 20c2c4dc8b77
child 16376 19dd2d7d68b3
8010222: 8007439 disabled inlining of cold accessor methods Summary: added missing parenthesis Reviewed-by: jrose
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) {