test/lib/sun/hotspot/WhiteBox.java
changeset 30081 2dd31ea5f49c
parent 29666 888a845d7bdc
child 30083 385348cd698e
--- a/test/lib/sun/hotspot/WhiteBox.java	Thu Mar 26 13:54:09 2015 -0700
+++ b/test/lib/sun/hotspot/WhiteBox.java	Mon Mar 30 07:53:19 2015 +0200
@@ -168,14 +168,7 @@
       return allocateCodeBlob( intSize, type);
   }
   public native void    freeCodeBlob(long addr);
-  public        void    forceNMethodSweep() {
-    try {
-        forceNMethodSweep0().join();
-    } catch (InterruptedException e) {
-        Thread.currentThread().interrupt();
-    }
-  }
-  public native Thread  forceNMethodSweep0();
+  public native void    forceNMethodSweep();
   public native Object[] getCodeHeapEntries(int type);
   public native int     getCompilationActivityMode();
   public native Object[] getCodeBlob(long addr);