test/lib/sun/hotspot/WhiteBox.java
changeset 49630 2f1b308b4469
parent 49322 38933ade5bf5
child 51214 67736b4846a0
--- 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();