--- a/test/lib/sun/hotspot/WhiteBox.java Wed Jul 05 21:46:49 2017 +0200
+++ b/test/lib/sun/hotspot/WhiteBox.java Mon May 30 19:39:09 2016 +0400
@@ -377,6 +377,12 @@
public native long incMetaspaceCapacityUntilGC(long increment);
public native long metaspaceCapacityUntilGC();
+ // 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();
+
// Force Young GC
public native void youngGC();