test/lib/sun/hotspot/WhiteBox.java
changeset 30081 2dd31ea5f49c
parent 29666 888a845d7bdc
child 30083 385348cd698e
equal deleted inserted replaced
29667:c3348fd718cc 30081:2dd31ea5f49c
   166                 "size argument has illegal value " + size);
   166                 "size argument has illegal value " + size);
   167       }
   167       }
   168       return allocateCodeBlob( intSize, type);
   168       return allocateCodeBlob( intSize, type);
   169   }
   169   }
   170   public native void    freeCodeBlob(long addr);
   170   public native void    freeCodeBlob(long addr);
   171   public        void    forceNMethodSweep() {
   171   public native void    forceNMethodSweep();
   172     try {
       
   173         forceNMethodSweep0().join();
       
   174     } catch (InterruptedException e) {
       
   175         Thread.currentThread().interrupt();
       
   176     }
       
   177   }
       
   178   public native Thread  forceNMethodSweep0();
       
   179   public native Object[] getCodeHeapEntries(int type);
   172   public native Object[] getCodeHeapEntries(int type);
   180   public native int     getCompilationActivityMode();
   173   public native int     getCompilationActivityMode();
   181   public native Object[] getCodeBlob(long addr);
   174   public native Object[] getCodeBlob(long addr);
   182 
   175 
   183   // Intered strings
   176   // Intered strings