# HG changeset patch # User mchernov # Date 1441131172 -10800 # Node ID 4a67159196015d6899bda0ce142eb4f3c77f3a18 # Parent 32b99d29dd516192937a7ecb1b33349c58c850b1 8081317: [NEWTEST] documented GC ratio tuning and new size options should be covered by regression tests Reviewed-by: iignatyev, dfazunen diff -r 32b99d29dd51 -r 4a6715919601 test/lib/sun/hotspot/WhiteBox.java --- a/test/lib/sun/hotspot/WhiteBox.java Fri Sep 04 10:11:20 2015 -0300 +++ b/test/lib/sun/hotspot/WhiteBox.java Tue Sep 01 21:12:52 2015 +0300 @@ -30,7 +30,6 @@ 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 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 @@ 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);