Top


定義場所(file name)

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

名前(function name)

JNI_LEAF(jint, jni_GetVersion(JNIEnv *env))

本体部(body)

  {- -------------------------------------------
  (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.