diff test/testlibrary/whitebox/sun/hotspot/WhiteBox.java @ 10341:f54c85acc043

8013726: runtime/memory/ReserveMemory.java fails due to 'assert(bytes % os::vm_allocation_granularity() == 0) failed: reserve block size' Summary: Fix regression test to work on all platforms Reviewed-by: ctornqvi, dholmes
author mikael
date Tue, 21 May 2013 09:43:23 -0700
parents d17700c82d7d
children f99558245e5c
line wrap: on
line diff
--- a/test/testlibrary/whitebox/sun/hotspot/WhiteBox.java	Mon May 20 23:41:27 2013 +0400
+++ b/test/testlibrary/whitebox/sun/hotspot/WhiteBox.java	Tue May 21 09:43:23 2013 -0700
@@ -115,7 +115,7 @@
   public native boolean isInStringTable(String str);
 
   // Memory
-  public native long reserveMemory(long size);
+  public native void readReservedMemory();
 
   // force Full GC
   public native void fullGC();