diff test/testlibrary/whitebox/sun/hotspot/WhiteBox.java @ 13053:9d8b29a0548c

8027237: New tests on ReservedSpace/VirtualSpace classes Summary: Three tests added: 1) test stressing VirtualSpace by resizing it constantly 2) test running unit tests in several threads 3) test checking protected area in ReservedHeapSpace class Reviewed-by: stefank, zgu Contributed-by: aleksey.timofeev@oracle.com
author mgerdin
date Fri, 08 Nov 2013 16:48:21 +0100
parents 40136aa2cdb1
children a48e16541e6b
line wrap: on
line diff
--- a/test/testlibrary/whitebox/sun/hotspot/WhiteBox.java	Sat Nov 02 20:56:18 2013 +0100
+++ b/test/testlibrary/whitebox/sun/hotspot/WhiteBox.java	Fri Nov 08 16:48:21 2013 +0100
@@ -144,4 +144,10 @@
 
   // force Full GC
   public native void fullGC();
+
+  // Tests on ReservedSpace/VirtualSpace classes
+  public native int stressVirtualSpaceResize(long reservedSpaceSize, long magnitude, long iterations);
+  public native void runMemoryUnitTests();
+  public native void readFromNoaccessArea();
+
 }