changeset 16373:8f8a2a1c5d09

8010222: 8007439 disabled inlining of cold accessor methods Summary: added missing parenthesis Reviewed-by: jrose
author kvn
date Tue, 19 Mar 2013 10:56:33 -0700
parents 20c2c4dc8b77
children 19dd2d7d68b3
files hotspot/src/share/vm/opto/bytecodeInfo.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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) {