diff test/runtime/NMT/AllocTestType.java @ 8100:b861c8af2510

Merge
author hseigel
date Wed, 20 Feb 2013 07:42:01 -0500
parents 1b0dc9f87e75
children
line wrap: on
line diff
--- a/test/runtime/NMT/AllocTestType.java	Wed Feb 20 07:16:23 2013 -0500
+++ b/test/runtime/NMT/AllocTestType.java	Wed Feb 20 07:42:01 2013 -0500
@@ -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.*;