test/lib/sun/hotspot/WhiteBox.java
changeset 39196 1973d0318492
parent 39195 8aa38604bd2b
parent 38629 0602da3f94c9
child 39955 c4f471ce041b
--- 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();