test/lib/sun/hotspot/WhiteBox.java
changeset 37025 e0533c567b27
parent 36542 67e12a9fe95d
child 37955 0e25f6f1d8f0
child 37954 74d146e5be3b
--- a/test/lib/sun/hotspot/WhiteBox.java	Thu Mar 24 13:45:45 2016 -0700
+++ b/test/lib/sun/hotspot/WhiteBox.java	Mon Apr 04 02:10:46 2016 -0700
@@ -344,7 +344,13 @@
   }
   public native Object[] getCodeBlob(long addr);
 
-  public native void clearInlineCaches();
+  private native void clearInlineCaches0(boolean preserve_static_stubs);
+  public void clearInlineCaches() {
+    clearInlineCaches0(false);
+  }
+  public void clearInlineCaches(boolean preserve_static_stubs) {
+    clearInlineCaches0(preserve_static_stubs);
+  }
 
   // Intered strings
   public native boolean isInStringTable(String str);