hotspot/src/share/vm/prims/jni.cpp
JNI_LEAF(jint, jni_GetVersion(JNIEnv *env))
{- -------------------------------------------
(1) (デバッグ用の処理)
(See: JNIWrapper)
---------------------------------------- -}
JNIWrapper("GetVersion");
{- -------------------------------------------
(1) (DTrace のフック点)
---------------------------------------- -}
DTRACE_PROBE1(hotspot_jni, GetVersion__entry, env);
{- -------------------------------------------
(1) (DTrace のフック点)
---------------------------------------- -}
DTRACE_PROBE1(hotspot_jni, GetVersion__return, CurrentVersion);
{- -------------------------------------------
(1) CurrentVersion 変数の値をリターンするだけ.
---------------------------------------- -}
return CurrentVersion;
JNI_END
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.