8161604: TestNewSizeFlags fails with RuntimeException: max new size != MaxNewSize value
authormchernov
Tue, 02 Aug 2016 15:21:53 +0300
changeset 39955 c4f471ce041b
parent 39954 3efb7ad969d5
child 39956 f4d6bb80bc87
8161604: TestNewSizeFlags fails with RuntimeException: max new size != MaxNewSize value Reviewed-by: sangheki, tschatzl
test/lib/sun/hotspot/WhiteBox.java
--- a/test/lib/sun/hotspot/WhiteBox.java	Mon Aug 01 10:51:51 2016 +0300
+++ b/test/lib/sun/hotspot/WhiteBox.java	Tue Aug 02 15:21:53 2016 +0300
@@ -84,6 +84,7 @@
   public native long getVMAllocationGranularity();
   public native long getVMLargePageSize();
   public native long getHeapSpaceAlignment();
+  public native long getHeapAlignment();
 
   private native boolean isObjectInOldGen0(Object o);
   public         boolean isObjectInOldGen(Object o) {