8199927: Make WhiteBox more GC agnostic

Reviewed-by: shade, eosterlund
This commit is contained in:
Per Lidén 2018-03-28 11:38:47 +02:00
parent 24273f04a4
commit 940bc841a7
4 changed files with 35 additions and 102 deletions

View file

@ -382,9 +382,9 @@ public class WhiteBox {
// 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();