Top


定義場所(file name)

hotspot/src/share/vm/prims/jvmtiEventController.cpp

名前(function name)

void
JvmtiEventController::env_initialize(JvmtiEnvBase *env) {

本体部(body)

  {- -------------------------------------------
  (1) JvmtiEventControllerPrivate::env_initialize() を呼んで
      イベント通知設定の初期化を行う.

      (なお, 初期化処理の終了後であれば JvmtiThreadState_lock で排他した状態で呼び出す)
      ---------------------------------------- -}

      if (Threads::number_of_threads() == 0) {
        // during early VM start-up locks don't exist, but we are safely single threaded,
        // call the functionality without holding the JvmtiThreadState_lock.
        JvmtiEventControllerPrivate::env_initialize(env);
      } else {
        MutexLocker mu(JvmtiThreadState_lock);
        JvmtiEventControllerPrivate::env_initialize(env);
      }
    }

This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.