--- old/src/share/vm/opto/bytecodeInfo.cpp 2015-09-22 16:26:53.145641893 +0200 +++ new/src/share/vm/opto/bytecodeInfo.cpp 2015-09-22 16:26:53.037641897 +0200 @@ -108,7 +108,7 @@ int caller_bci, ciCallProfile& profile, WarmCallInfo* wci_result) { // Allows targeted inlining - if (callee_method->should_inline()) { + if (C->env()->dirset()->inline_commanded(callee_method)) { *wci_result = *(WarmCallInfo::always_hot()); if (C->print_inlining() && Verbose) { CompileTask::print_inline_indent(inline_level()); @@ -222,12 +222,12 @@ } // ignore heuristic controls on inlining - if (callee_method->should_inline()) { + if (C->env()->dirset()->inline_commanded(callee_method)) { set_msg("force inline by CompileCommand"); return false; } - if (callee_method->should_not_inline()) { + if (C->env()->dirset()->dont_inline_commanded(callee_method)) { set_msg("disallowed by CompileCommand"); return true; }