--- a/test/lib/sun/hotspot/WhiteBox.java Fri Jun 10 11:40:02 2016 -0700
+++ b/test/lib/sun/hotspot/WhiteBox.java Fri Jun 10 15:03:10 2016 -0700
@@ -378,6 +378,12 @@
public native long metaspaceCapacityUntilGC();
public native boolean metaspaceShouldConcurrentCollect();
+ // 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();