hotspot/src/share/vm/prims/jni.cpp
JNI_ENTRY(jint, jni_Throw(JNIEnv *env, jthrowable obj))
{- -------------------------------------------
(1) (デバッグ用の処理)
(See: JNIWrapper)
---------------------------------------- -}
JNIWrapper("Throw");
{- -------------------------------------------
(1) (DTrace のフック点)
---------------------------------------- -}
DTRACE_PROBE2(hotspot_jni, Throw__entry, env, obj);
{- -------------------------------------------
(1) (変数宣言など)
---------------------------------------- -}
jint ret = JNI_OK;
{- -------------------------------------------
(1) (DTrace のフック点)(リターン用) (See: DT_RETURN_MARK)
---------------------------------------- -}
DT_RETURN_MARK(Throw, jint, (const jint&)ret);
{- -------------------------------------------
(1) THROW_OOP_() を用いて, 指定された例外を送出する.
---------------------------------------- -}
THROW_OOP_(JNIHandles::resolve(obj), JNI_OK);
{- -------------------------------------------
(1) (以下は決して到達しないパス)
---------------------------------------- -}
ShouldNotReachHere();
JNI_END
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.