< prev index next >
test/compiler/rtm/cli/TestUseRTMLockingOptionOnUnsupportedVM.java
Print this page
*** 25,39 ****
/**
* @test
* @bug 8031320
* @summary Verify UseRTMLocking option processing on CPU with rtm support
* in case when VM should not support this option.
! * @library /testlibrary /test/lib /
* @modules java.base/jdk.internal.misc
* java.management
*
! * @build compiler.rtm.cli.TestUseRTMLockingOptionOnUnsupportedVM
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -XX:+WhiteBoxAPI
* compiler.rtm.cli.TestUseRTMLockingOptionOnUnsupportedVM
--- 25,39 ----
/**
* @test
* @bug 8031320
* @summary Verify UseRTMLocking option processing on CPU with rtm support
* in case when VM should not support this option.
! * @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.cli.TestUseRTMLockingOptionOnUnsupportedVM
*** 41,51 ****
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;
import jdk.test.lib.cli.predicate.NotPredicate;
public class TestUseRTMLockingOptionOnUnsupportedVM
--- 41,51 ----
package compiler.rtm.cli;
import compiler.testlibrary.rtm.predicate.SupportedCPU;
import compiler.testlibrary.rtm.predicate.SupportedVM;
! import jdk.test.lib.process.ExitCode;
import jdk.test.lib.cli.CommandLineOptionTest;
import jdk.test.lib.cli.predicate.AndPredicate;
import jdk.test.lib.cli.predicate.NotPredicate;
public class TestUseRTMLockingOptionOnUnsupportedVM
< prev index next >