test/compiler/rtm/method_options/TestUseRTMLockElidingOption.java

Print this page
rev 6415 : [mq]: 8011397.WhiteBoxPermission

@@ -28,12 +28,11 @@
  * @summary Verify that UseRTMLockEliding option could be applied to
  *          specified method and that such method will not be deoptimized
  *          on high abort ratio.
  * @library /testlibrary /testlibrary/whitebox /compiler/testlibrary
  * @build TestUseRTMLockElidingOption
- * @run main ClassFileInstaller sun.hotspot.WhiteBox
- * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
+ * @run main/othervm/bootclasspath -XX:+UnlockDiagnosticVMOptions
  *                   -XX:+WhiteBoxAPI TestUseRTMLockElidingOption
  */
 
 import java.util.List;
 import com.oracle.java.testlibrary.*;