changeset 30082:0f1cf539954d

Merge
author kvn
date Fri, 03 Apr 2015 11:40:37 -0700
parents 457b3ae3cecc 2dd31ea5f49c
children 385348cd698e
files
diffstat 1 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/test/lib/sun/hotspot/WhiteBox.java	Tue Mar 31 16:17:14 2015 -0700
+++ b/test/lib/sun/hotspot/WhiteBox.java	Fri Apr 03 11:40:37 2015 -0700
@@ -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);