src/share/vm/opto/bytecodeInfo.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/opto/bytecodeInfo.cpp

src/share/vm/opto/bytecodeInfo.cpp

Print this page
rev 9032 : 8137167: JEP165: Compiler Control: Implementation task
Summary: Compiler Control JEP
Reviewed-by: roland, twisti

*** 106,116 **** // positive filter: should callee be inlined? bool InlineTree::should_inline(ciMethod* callee_method, ciMethod* caller_method, int caller_bci, ciCallProfile& profile, WarmCallInfo* wci_result) { // Allows targeted inlining ! if (callee_method->should_inline()) { *wci_result = *(WarmCallInfo::always_hot()); if (C->print_inlining() && Verbose) { CompileTask::print_inline_indent(inline_level()); tty->print_cr("Inlined method is hot: "); } --- 106,116 ---- // positive filter: should callee be inlined? bool InlineTree::should_inline(ciMethod* callee_method, ciMethod* caller_method, int caller_bci, ciCallProfile& profile, WarmCallInfo* wci_result) { // Allows targeted inlining ! if (C->directive()->should_inline(callee_method)) { *wci_result = *(WarmCallInfo::always_hot()); if (C->print_inlining() && Verbose) { CompileTask::print_inline_indent(inline_level()); tty->print_cr("Inlined method is hot: "); }
*** 220,235 **** set_msg(fail_msg); return true; } // ignore heuristic controls on inlining ! if (callee_method->should_inline()) { set_msg("force inline by CompileCommand"); return false; } ! if (callee_method->should_not_inline()) { set_msg("disallowed by CompileCommand"); return true; } #ifndef PRODUCT --- 220,235 ---- set_msg(fail_msg); return true; } // ignore heuristic controls on inlining ! if (C->directive()->should_inline(callee_method)) { set_msg("force inline by CompileCommand"); return false; } ! if (C->directive()->should_not_inline(callee_method)) { set_msg("disallowed by CompileCommand"); return true; } #ifndef PRODUCT
src/share/vm/opto/bytecodeInfo.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File