--- a/test/lib/sun/hotspot/WhiteBox.java Wed Mar 28 11:38:47 2018 +0200
+++ b/test/lib/sun/hotspot/WhiteBox.java Wed Mar 28 11:38:47 2018 +0200
@@ -382,9 +382,9 @@
// Don't use these methods directly
// Use sun.hotspot.gc.GC class instead.
- public native int currentGC();
- public native int allSupportedGC();
- public native boolean gcSelectedByErgo();
+ public native boolean isGCSupported(int name);
+ public native boolean isGCSelected(int name);
+ public native boolean isGCSelectedErgonomically();
// Force Young GC
public native void youngGC();