test/lib/sun/hotspot/WhiteBox.java
changeset 38629 0602da3f94c9
parent 37958 04a779e51d6e
child 39196 1973d0318492
--- 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();