< prev index next >

test/compiler/rtm/cli/TestUseRTMLockingOptionWithBiasedLocking.java

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

*** 28,49 **** * @summary Verify processing of UseRTMLocking and UseBiasedLocking * options combination on CPU and VM with rtm support. * @library /testlibrary /test/lib / * @modules java.base/jdk.internal.misc * java.management ! * @build TestUseRTMLockingOptionWithBiasedLocking * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions ! * -XX:+WhiteBoxAPI TestUseRTMLockingOptionWithBiasedLocking */ ! import jdk.test.lib.*; ! import jdk.test.lib.cli.*; ! import jdk.test.lib.cli.predicate.AndPredicate; import compiler.testlibrary.rtm.predicate.SupportedCPU; import compiler.testlibrary.rtm.predicate.SupportedVM; public class TestUseRTMLockingOptionWithBiasedLocking extends CommandLineOptionTest { private TestUseRTMLockingOptionWithBiasedLocking() { super(new AndPredicate(new SupportedCPU(), new SupportedVM())); --- 28,53 ---- * @summary Verify processing of UseRTMLocking and UseBiasedLocking * options combination on CPU and VM with rtm support. * @library /testlibrary /test/lib / * @modules java.base/jdk.internal.misc * java.management ! * ! * @build compiler.rtm.cli.TestUseRTMLockingOptionWithBiasedLocking * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions ! * -XX:+WhiteBoxAPI ! * compiler.rtm.cli.TestUseRTMLockingOptionWithBiasedLocking */ ! package compiler.rtm.cli; ! import compiler.testlibrary.rtm.predicate.SupportedCPU; import compiler.testlibrary.rtm.predicate.SupportedVM; + import jdk.test.lib.ExitCode; + import jdk.test.lib.cli.CommandLineOptionTest; + import jdk.test.lib.cli.predicate.AndPredicate; public class TestUseRTMLockingOptionWithBiasedLocking extends CommandLineOptionTest { private TestUseRTMLockingOptionWithBiasedLocking() { super(new AndPredicate(new SupportedCPU(), new SupportedVM()));
< prev index next >