< prev index next >
test/compiler/rtm/cli/TestRTMAbortRatioOptionOnUnsupportedConfig.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 28,48 ****
* @summary Verify RTMAbortRatio option processing on CPU without rtm
* support or on VM that does not support rtm locking.
* @library /testlibrary /test/lib /
* @modules java.base/jdk.internal.misc
* java.management
! * @build TestRTMAbortRatioOptionOnUnsupportedConfig
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
! * -XX:+WhiteBoxAPI TestRTMAbortRatioOptionOnUnsupportedConfig
*/
! import jdk.test.lib.cli.predicate.AndPredicate;
! import jdk.test.lib.cli.predicate.NotPredicate;
import compiler.testlibrary.rtm.predicate.SupportedCPU;
import compiler.testlibrary.rtm.predicate.SupportedVM;
public class TestRTMAbortRatioOptionOnUnsupportedConfig
extends RTMGenericCommandLineOptionTest {
private static final String DEFAULT_VALUE = "50";
--- 28,52 ----
* @summary Verify RTMAbortRatio option processing on CPU without rtm
* support or on VM that does not support rtm locking.
* @library /testlibrary /test/lib /
* @modules java.base/jdk.internal.misc
* java.management
! *
! * @build compiler.rtm.cli.TestRTMAbortRatioOptionOnUnsupportedConfig
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
! * -XX:+WhiteBoxAPI
! * compiler.rtm.cli.TestRTMAbortRatioOptionOnUnsupportedConfig
*/
! package compiler.rtm.cli;
!
import compiler.testlibrary.rtm.predicate.SupportedCPU;
import compiler.testlibrary.rtm.predicate.SupportedVM;
+ import jdk.test.lib.cli.predicate.AndPredicate;
+ import jdk.test.lib.cli.predicate.NotPredicate;
public class TestRTMAbortRatioOptionOnUnsupportedConfig
extends RTMGenericCommandLineOptionTest {
private static final String DEFAULT_VALUE = "50";
< prev index next >