Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
13041:04df110c8655 | 13053:9d8b29a0548c |
---|---|
142 // Memory | 142 // Memory |
143 public native void readReservedMemory(); | 143 public native void readReservedMemory(); |
144 | 144 |
145 // force Full GC | 145 // force Full GC |
146 public native void fullGC(); | 146 public native void fullGC(); |
147 | |
148 // Tests on ReservedSpace/VirtualSpace classes | |
149 public native int stressVirtualSpaceResize(long reservedSpaceSize, long magnitude, long iterations); | |
150 public native void runMemoryUnitTests(); | |
151 public native void readFromNoaccessArea(); | |
152 | |
147 } | 153 } |