diff options
Diffstat (limited to 'test/runtime/NMT/AllocTestType.java')
-rw-r--r-- | test/runtime/NMT/AllocTestType.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/runtime/NMT/AllocTestType.java b/test/runtime/NMT/AllocTestType.java index 764488444..d4b70ecd8 100644 --- a/test/runtime/NMT/AllocTestType.java +++ b/test/runtime/NMT/AllocTestType.java @@ -25,9 +25,10 @@ * @test * @summary Test consistency of NMT by leaking a few select allocations of the Test type and then verify visibility with jcmd * @key nmt jcmd - * @library /testlibrary - * @run compile -J-XX:+UnlockDiagnosticVMOptions -J-XX:+WhiteBoxAPI AllocTestType.java - * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail AllocTestType + * @library /testlibrary /testlibrary/whitebox + * @build AllocTestType + * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail AllocTestType */ import com.oracle.java.testlibrary.*; |