changeset 1636:3458934dfae6

8081317: [NEWTEST] documented GC ratio tuning and new size options should be covered by regression tests Reviewed-by: iignatyev, dfazunen
author mchernov
date Tue, 01 Sep 2015 21:12:52 +0300
parents da355bc6d1f9
children 81140a77ebd8
files test/lib/sun/hotspot/WhiteBox.java
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);