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 8995 : 8046155: JEP165: Compiler Control
Summary:
Reviewed-by:

*** 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->env()->dirset()->inline_commanded(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->env()->dirset()->inline_commanded(callee_method)) { set_msg("force inline by CompileCommand"); return false; } ! if (C->env()->dirset()->dont_inline_commanded(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