hotspot/src/share/vm/runtime/simpleThresholdPolicy.cpp
// Tell the broker to compile the method
void SimpleThresholdPolicy::submit_compile(methodHandle mh, int bci, CompLevel level, TRAPS) {
{- -------------------------------------------
(1) (変数宣言など)
---------------------------------------- -}
int hot_count = (bci == InvocationEntryBci) ? mh->invocation_count() : mh->backedge_count();
{- -------------------------------------------
(1) CompileBroker::compile_method() を呼んで, JIT コンパイル処理を行う.
---------------------------------------- -}
CompileBroker::compile_method(mh, bci, level, mh, hot_count, "tiered", THREAD);
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.