提交 d397d619 编写于 作者: K kvn

8010222: 8007439 disabled inlining of cold accessor methods

Summary: added missing parenthesis
Reviewed-by: jrose
上级 aa1a0bcd
...@@ -157,10 +157,11 @@ bool InlineTree::should_inline(ciMethod* callee_method, ciMethod* caller_method, ...@@ -157,10 +157,11 @@ bool InlineTree::should_inline(ciMethod* callee_method, ciMethod* caller_method,
} else { } else {
// Not hot. Check for medium-sized pre-existing nmethod at cold sites. // Not hot. Check for medium-sized pre-existing nmethod at cold sites.
if (callee_method->has_compiled_code() && 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"); set_msg("already compiled into a medium method");
return false; return false;
} }
}
if (size > max_inline_size) { if (size > max_inline_size) {
if (max_inline_size > default_max_inline_size) { if (max_inline_size > default_max_inline_size) {
set_msg("hot method too big"); set_msg("hot method too big");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册