8081317: [NEWTEST] documented GC ratio tuning and new size options should be covered by regression tests

Reviewed-by: iignatyev, dfazunen
This commit is contained in:
Michail Chernov 2015-09-01 21:12:52 +03:00
parent 9e1818b72e
commit 092ecab11f

@ -30,7 +30,6 @@ import java.util.Arrays;
import java.util.List;
import java.util.function.BiFunction;
import java.util.function.Function;
import java.util.stream.Stream;
import java.security.BasicPermission;
import java.util.Objects;
@ -84,6 +83,7 @@ public class WhiteBox {
public native int getVMPageSize();
public native long getVMAllocationGranularity();
public native long getVMLargePageSize();
public native long getHeapSpaceAlignment();
private native boolean isObjectInOldGen0(Object o);
public boolean isObjectInOldGen(Object o) {
@ -143,6 +143,10 @@ public class WhiteBox {
return parseCommandLine0(commandline, delim, args);
}
// Parallel GC
public native long psVirtualSpaceAlignment();
public native long psHeapGenerationAlignment();
// NMT
public native long NMTMalloc(long size);
public native void NMTFree(long mem);