8081317: [NEWTEST] documented GC ratio tuning and new size options should be covered by regression tests
authormchernov
Tue, 01 Sep 2015 21:12:52 +0300
changeset 32557 4a6715919601
parent 32556 32b99d29dd51
child 32558 fad90d6dfa06
8081317: [NEWTEST] documented GC ratio tuning and new size options should be covered by regression tests Reviewed-by: iignatyev, dfazunen
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);