Top


定義場所(file name)

hotspot/src/share/vm/runtime/objectMonitor.cpp

説明(description)

// check_slow() is a misnomer.  It's called to simply to throw an IMSX exception.
// TODO-FIXME: remove check_slow() -- it's likely dead.

名前(function name)

void ObjectMonitor::check_slow(TRAPS) {

本体部(body)

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

      TEVENT (check_slow - throw IMSX) ;

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

      assert(THREAD != _owner && !THREAD->is_lock_owned((address) _owner), "must not be owner");

  {- -------------------------------------------
  (1) IllegalMonitorStateException を pending_exception フィールドにセット.
      ---------------------------------------- -}

      THROW_MSG(vmSymbols::java_lang_IllegalMonitorStateException(), "current thread not owner");
    }

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