diff test/testlibrary/whitebox/sun/hotspot/WhiteBox.java @ 10157:f32b6c267d2e

8012015: Use PROT_NONE when reserving memory Summary: Reserved memory had PROT_READ+PROT_WRITE access on Linux/bsd, now changed to PROT_NONE. Reviewed-by: dholmes, ctornqvi
author mikael
date Mon, 29 Apr 2013 11:03:49 -0700
parents 01d5f04e64dc
children d17700c82d7d
line wrap: on
line diff
--- a/test/testlibrary/whitebox/sun/hotspot/WhiteBox.java	Mon Apr 29 16:36:17 2013 -0400
+++ b/test/testlibrary/whitebox/sun/hotspot/WhiteBox.java	Mon Apr 29 11:03:49 2013 -0700
@@ -111,6 +111,9 @@
   // Intered strings
   public native boolean isInStringTable(String str);
 
+  // Memory
+  public native long reserveMemory(long size);
+
   // force Full GC
   public native void fullGC();
 }