Top


定義場所(file name)

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

名前(function name)

JVM_ENTRY(void, JVM_MonitorNotifyAll(JNIEnv* env, jobject handle))

本体部(body)

  {- -------------------------------------------
  (1) (トレース出力) (See: JVMWrapper)
      ---------------------------------------- -}

      JVMWrapper("JVM_MonitorNotifyAll");

  {- -------------------------------------------
  (1) (変数宣言など)
      ---------------------------------------- -}

      Handle obj(THREAD, JNIHandles::resolve_non_null(handle));

  {- -------------------------------------------
  (1) (assert)
      ---------------------------------------- -}

      assert(obj->is_instance() || obj->is_array(), "JVM_MonitorNotifyAll must apply to an object");

  {- -------------------------------------------
  (1) ObjectSynchronizer::notifyall() を呼び出して, notifyAll 処理を行う.
      ---------------------------------------- -}

      ObjectSynchronizer::notifyall(obj, CHECK);
    JVM_END

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