test/runtime/NMT/ReleaseCommittedMemory.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
hotspot Cdiff test/runtime/NMT/ReleaseCommittedMemory.java
test/runtime/NMT/ReleaseCommittedMemory.java
Print this page
*** 24,41 ****
/*
* @test
* @bug 8013120
* @summary Release committed memory and make sure NMT handles it correctly
* @key nmt regression
! * @library /testlibrary /testlibrary/whitebox
* @build ReleaseCommittedMemory
! * @run main ClassFileInstaller sun.hotspot.WhiteBox
! * sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail ReleaseCommittedMemory
*/
! import sun.hotspot.WhiteBox;
public class ReleaseCommittedMemory {
public static void main(String args[]) throws Exception {
WhiteBox wb = WhiteBox.getWhiteBox();
--- 24,41 ----
/*
* @test
* @bug 8013120
* @summary Release committed memory and make sure NMT handles it correctly
* @key nmt regression
! * @library /testlibrary /../../test/lib
* @build ReleaseCommittedMemory
! * @run main ClassFileInstaller jdk.testlib.WhiteBox
! * jdk.testlib.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail ReleaseCommittedMemory
*/
! import jdk.testlib.WhiteBox;
public class ReleaseCommittedMemory {
public static void main(String args[]) throws Exception {
WhiteBox wb = WhiteBox.getWhiteBox();
test/runtime/NMT/ReleaseCommittedMemory.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File