--- a/test/lib/sun/hotspot/WhiteBox.java Thu Apr 07 08:48:52 2016 -0700
+++ b/test/lib/sun/hotspot/WhiteBox.java Fri Apr 08 12:36:27 2016 -0400
@@ -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);