Top


定義場所(file name)

jdk/src/share/native/sun/management/HotspotThread.c

名前(function name)

JNIEXPORT jint JNICALL
Java_sun_management_HotspotThread_getInternalThreadCount
  (JNIEnv *env, jobject dummy)
{

本体部(body)

  {- -------------------------------------------
  (1) JMM_VM_THREAD_COUNT を引数として, jmm_GetLongAttribute() を呼び出すだけ.
      ---------------------------------------- -}

        jlong count = jmm_interface->GetLongAttribute(env, NULL,
                                                      JMM_VM_THREAD_COUNT);
        return (jint) count;
    }

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