hotspot/src/share/tools/whitebox/sun/hotspot/WhiteBox.java
changeset 13728 882756847a04
parent 12262 fb3b9fede660
child 15452 3bfde2dea09d
equal deleted inserted replaced
13727:caf5eb7dd4a7 13728:882756847a04
    61 
    61 
    62   // Memory
    62   // Memory
    63   public native long getObjectAddress(Object o);
    63   public native long getObjectAddress(Object o);
    64   public native int  getHeapOopSize();
    64   public native int  getHeapOopSize();
    65 
    65 
       
    66   // Runtime
       
    67   // Make sure class name is in the correct format
       
    68   public boolean isClassAlive(String name) {
       
    69     return isClassAlive0(name.replace('.', '/'));
       
    70   }
       
    71   private native boolean isClassAlive0(String name);
       
    72 
    66   // G1
    73   // G1
    67   public native boolean g1InConcurrentMark();
    74   public native boolean g1InConcurrentMark();
    68   public native boolean g1IsHumongous(Object o);
    75   public native boolean g1IsHumongous(Object o);
    69   public native long    g1NumFreeRegions();
    76   public native long    g1NumFreeRegions();
    70   public native int     g1RegionSize();
    77   public native int     g1RegionSize();