< prev index next >
test/compiler/rtm/locking/TestUseRTMForInflatedLocks.java
Print this page
*** 24,37 ****
/**
* @test
* @bug 8031320
* @summary Verify that rtm locking is used for inflated locks.
! * @library /testlibrary /test/lib /
* @modules java.base/jdk.internal.misc
* java.management
! * @build compiler.rtm.locking.TestUseRTMForInflatedLocks
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -XX:+WhiteBoxAPI compiler.rtm.locking.TestUseRTMForInflatedLocks
*/
--- 24,37 ----
/**
* @test
* @bug 8031320
* @summary Verify that rtm locking is used for inflated locks.
! * @library /test/lib /
* @modules java.base/jdk.internal.misc
* java.management
! * @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -XX:+WhiteBoxAPI compiler.rtm.locking.TestUseRTMForInflatedLocks
*/
*** 43,53 ****
import compiler.testlibrary.rtm.RTMLockingStatistics;
import compiler.testlibrary.rtm.RTMTestBase;
import compiler.testlibrary.rtm.predicate.SupportedCPU;
import compiler.testlibrary.rtm.predicate.SupportedVM;
import jdk.test.lib.Asserts;
! import jdk.test.lib.OutputAnalyzer;
import jdk.test.lib.cli.CommandLineOptionTest;
import jdk.test.lib.cli.predicate.AndPredicate;
import java.util.List;
--- 43,53 ----
import compiler.testlibrary.rtm.RTMLockingStatistics;
import compiler.testlibrary.rtm.RTMTestBase;
import compiler.testlibrary.rtm.predicate.SupportedCPU;
import compiler.testlibrary.rtm.predicate.SupportedVM;
import jdk.test.lib.Asserts;
! import jdk.test.lib.process.OutputAnalyzer;
import jdk.test.lib.cli.CommandLineOptionTest;
import jdk.test.lib.cli.predicate.AndPredicate;
import java.util.List;
< prev index next >