changeset 4337:80208f353616

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 75a28f465a12
children 1275835a4ccc
files src/share/vm/opto/bytecodeInfo.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/opto/bytecodeInfo.cpp	Tue Mar 19 07:23:29 2013 -0700
+++ b/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) {