changeset 1560:0c13d69911f7

8079208: gc/g1/TestLargePageUseForAuxMemory.java fails due to not considering page allocation granularity for setup Summary: The test case needs to use the OS'es allocation granularity to properly determine the boundary values for the test. Reviewed-by: dfazunen, jmasa, ecaspole
author tschatzl
date Wed, 24 Jun 2015 09:41:11 +0200
parents 9b4849be2220
children a7fb45dd6d26 6b60d5404593
files test/lib/sun/hotspot/WhiteBox.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/lib/sun/hotspot/WhiteBox.java	Tue Jun 23 10:20:10 2015 -0700
+++ b/test/lib/sun/hotspot/WhiteBox.java	Wed Jun 24 09:41:11 2015 +0200
@@ -83,6 +83,7 @@
 
   public native int  getHeapOopSize();
   public native int  getVMPageSize();
+  public native long getVMAllocationGranularity();
   public native long getVMLargePageSize();
 
   private native boolean isObjectInOldGen0(Object o);