mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8199927: Make WhiteBox more GC agnostic
Reviewed-by: shade, eosterlund
This commit is contained in:
parent
24273f04a4
commit
940bc841a7
4 changed files with 35 additions and 102 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue