jdk/src/share/classes/sun/misc/VM.java
changeset 10797 f51518b30c84
parent 9035 1255eb81cc2f
child 11117 b6e68b1344d4
equal deleted inserted replaced
10796:a78533d1bbc6 10797:f51518b30c84
   369     private final static int JVMTI_THREAD_STATE_RUNNABLE = 0x0004;
   369     private final static int JVMTI_THREAD_STATE_RUNNABLE = 0x0004;
   370     private final static int JVMTI_THREAD_STATE_BLOCKED_ON_MONITOR_ENTER = 0x0400;
   370     private final static int JVMTI_THREAD_STATE_BLOCKED_ON_MONITOR_ENTER = 0x0400;
   371     private final static int JVMTI_THREAD_STATE_WAITING_INDEFINITELY = 0x0010;
   371     private final static int JVMTI_THREAD_STATE_WAITING_INDEFINITELY = 0x0010;
   372     private final static int JVMTI_THREAD_STATE_WAITING_WITH_TIMEOUT = 0x0020;
   372     private final static int JVMTI_THREAD_STATE_WAITING_WITH_TIMEOUT = 0x0020;
   373 
   373 
       
   374     /*
       
   375      * Returns the first non-null class loader up the execution stack,
       
   376      * or null if only code from the null class loader is on the stack.
       
   377      */
       
   378     public static native ClassLoader latestUserDefinedLoader();
       
   379 
   374     static {
   380     static {
   375         initialize();
   381         initialize();
   376     }
   382     }
   377     private native static void initialize();
   383     private native static void initialize();
   378 }
   384 }