hotspot/src/share/vm/interpreter/interpreter.cpp
void AbstractInterpreter::initialize() {
{- -------------------------------------------
(1) 既に初期化が終わっていれば, することはないので, ここでリターン
---------------------------------------- -}
if (_code != NULL) return;
{- -------------------------------------------
(1) (デバッグ用の処理)
(BytecodeCounter, BytecodeHistogram, BytecodePairHistogram の初期化を行っている.
See: BytecodeCounter, BytecodeHistogram, BytecodePairHistogram)
---------------------------------------- -}
// make sure 'imported' classes are initialized
if (CountBytecodes || TraceBytecodes || StopInterpreterAt) BytecodeCounter::reset();
if (PrintBytecodeHistogram) BytecodeHistogram::reset();
if (PrintBytecodePairHistogram) BytecodePairHistogram::reset();
{- -------------------------------------------
(1) InvocationCounter::reinitialize() を呼び出して, InvocationCounter の初期化を行う.
---------------------------------------- -}
InvocationCounter::reinitialize(DelayCompilationDuringStartup);
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.