< prev index next >

test/compiler/rtm/locking/TestUseRTMDeopt.java

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke

*** 28,50 **** * @summary Verify that UseRTMDeopt affects uncommon trap installation in * copmpiled methods with synchronized block. * @library /testlibrary /test/lib / * @modules java.base/jdk.internal.misc * java.management ! * @build TestUseRTMDeopt * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions ! * -XX:+WhiteBoxAPI TestUseRTMDeopt */ ! import jdk.test.lib.*; ! import jdk.test.lib.cli.CommandLineOptionTest; ! import jdk.test.lib.cli.predicate.AndPredicate; ! import compiler.testlibrary.rtm.*; import compiler.testlibrary.rtm.predicate.SupportedCPU; import compiler.testlibrary.rtm.predicate.SupportedVM; /** * Test verifies that usage of UseRTMDeopt option affects uncommon traps usage * for methods that use locking. */ --- 28,56 ---- * @summary Verify that UseRTMDeopt affects uncommon trap installation in * copmpiled methods with synchronized block. * @library /testlibrary /test/lib / * @modules java.base/jdk.internal.misc * java.management ! * @build compiler.rtm.locking.TestUseRTMDeopt * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions ! * -XX:+WhiteBoxAPI ! * compiler.rtm.locking.TestUseRTMDeopt */ ! package compiler.rtm.locking; ! ! import compiler.testlibrary.rtm.AbortProvoker; ! import compiler.testlibrary.rtm.AbortType; ! 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; /** * Test verifies that usage of UseRTMDeopt option affects uncommon traps usage * for methods that use locking. */
< prev index next >