jdk/src/share/classes/sun/misc/VM.java
changeset 3111 fefdeafb7ab9
parent 2 90ce3da70b43
child 3958 b8acd5ee4f4f
equal deleted inserted replaced
2790:e9771c308d06 3111:fefdeafb7ab9
   344     // e.g. WAITING.OBJECT_WAIT
   344     // e.g. WAITING.OBJECT_WAIT
   345     //
   345     //
   346     private native static void getThreadStateValues(int[][] vmThreadStateValues,
   346     private native static void getThreadStateValues(int[][] vmThreadStateValues,
   347                                                     String[][] vmThreadStateNames);
   347                                                     String[][] vmThreadStateNames);
   348 
   348 
       
   349     private static boolean kernelVM;
       
   350     public static boolean isBootedKernelVM() {
       
   351         return booted && kernelVM;
       
   352     }
       
   353 
   349     static {
   354     static {
   350         initialize();
   355         initialize();
   351     }
   356     }
   352     private native static void initialize();
   357     private native static void initialize();
   353 }
   358 }