hotspot/test/compiler/rtm/cli/TestUseRTMDeoptOptionOnUnsupportedConfig.java
changeset 40059 c2304140ed64
parent 39438 206a712f8f16
child 40631 ed82623d7831
equal deleted inserted replaced
40058:b4441f6cfe79 40059:c2304140ed64
    28  * @summary Verify UseRTMDeopt option processing on CPUs without rtm support
    28  * @summary Verify UseRTMDeopt option processing on CPUs without rtm support
    29  *          or on VMs without rtm locking support.
    29  *          or on VMs without rtm locking support.
    30  * @library /testlibrary /test/lib /
    30  * @library /testlibrary /test/lib /
    31  * @modules java.base/jdk.internal.misc
    31  * @modules java.base/jdk.internal.misc
    32  *          java.management
    32  *          java.management
    33  * @build TestUseRTMDeoptOptionOnUnsupportedConfig
    33  *
       
    34  * @build compiler.rtm.cli.TestUseRTMDeoptOptionOnUnsupportedConfig
    34  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
    35  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
    35  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
    36  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
    36  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
    37  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
    37  *                   -XX:+WhiteBoxAPI TestUseRTMDeoptOptionOnUnsupportedConfig
    38  *                   -XX:+WhiteBoxAPI
       
    39  *                   compiler.rtm.cli.TestUseRTMDeoptOptionOnUnsupportedConfig
    38  */
    40  */
    39 
    41 
       
    42 package compiler.rtm.cli;
       
    43 
       
    44 import compiler.testlibrary.rtm.predicate.SupportedCPU;
       
    45 import compiler.testlibrary.rtm.predicate.SupportedVM;
    40 import jdk.test.lib.cli.CommandLineOptionTest;
    46 import jdk.test.lib.cli.CommandLineOptionTest;
    41 
       
    42 import jdk.test.lib.cli.predicate.AndPredicate;
    47 import jdk.test.lib.cli.predicate.AndPredicate;
    43 import jdk.test.lib.cli.predicate.NotPredicate;
    48 import jdk.test.lib.cli.predicate.NotPredicate;
    44 import compiler.testlibrary.rtm.predicate.SupportedCPU;
       
    45 import compiler.testlibrary.rtm.predicate.SupportedVM;
       
    46 
    49 
    47 public class TestUseRTMDeoptOptionOnUnsupportedConfig
    50 public class TestUseRTMDeoptOptionOnUnsupportedConfig
    48         extends RTMGenericCommandLineOptionTest {
    51         extends RTMGenericCommandLineOptionTest {
    49     private static final String DEFAULT_VALUE = "false";
    52     private static final String DEFAULT_VALUE = "false";
    50 
    53