Top


定義場所(file name)

hotspot/src/share/vm/interpreter/interpreter.cpp

名前(function name)

void AbstractInterpreter::initialize() {

本体部(body)

  {- -------------------------------------------
  (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.