Mercurial > hg > truffle
comparison test/runtime/NMT/AllocTestType.java @ 8100:b861c8af2510
Merge
author | hseigel |
---|---|
date | Wed, 20 Feb 2013 07:42:01 -0500 |
parents | 1b0dc9f87e75 |
children |
comparison
equal
deleted
inserted
replaced
8099:4c1d8002ffb1 | 8100:b861c8af2510 |
---|---|
23 | 23 |
24 /* | 24 /* |
25 * @test | 25 * @test |
26 * @summary Test consistency of NMT by leaking a few select allocations of the Test type and then verify visibility with jcmd | 26 * @summary Test consistency of NMT by leaking a few select allocations of the Test type and then verify visibility with jcmd |
27 * @key nmt jcmd | 27 * @key nmt jcmd |
28 * @library /testlibrary | 28 * @library /testlibrary /testlibrary/whitebox |
29 * @run compile -J-XX:+UnlockDiagnosticVMOptions -J-XX:+WhiteBoxAPI AllocTestType.java | 29 * @build AllocTestType |
30 * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail AllocTestType | 30 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
31 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail AllocTestType | |
31 */ | 32 */ |
32 | 33 |
33 import com.oracle.java.testlibrary.*; | 34 import com.oracle.java.testlibrary.*; |
34 import sun.hotspot.WhiteBox; | 35 import sun.hotspot.WhiteBox; |
35 | 36 |