test/compiler/rtm/locking/TestUseRTMForInflatedLocks.java
Print this page
rev 6415 : [mq]: 8011397.WhiteBoxPermission
*** 26,37 ****
* @test
* @bug 8031320
* @summary Verify that rtm locking is used for inflated locks.
* @library /testlibrary /testlibrary/whitebox /compiler/testlibrary
* @build TestUseRTMForInflatedLocks
! * @run main ClassFileInstaller sun.hotspot.WhiteBox
! * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -XX:+WhiteBoxAPI TestUseRTMForInflatedLocks
*/
import java.util.List;
--- 26,36 ----
* @test
* @bug 8031320
* @summary Verify that rtm locking is used for inflated locks.
* @library /testlibrary /testlibrary/whitebox /compiler/testlibrary
* @build TestUseRTMForInflatedLocks
! * @run main/othervm/bootclasspath -XX:+UnlockDiagnosticVMOptions
* -XX:+WhiteBoxAPI TestUseRTMForInflatedLocks
*/
import java.util.List;