hotspot/test/compiler/rtm/cli/TestRTMTotalCountIncrRateOptionOnSupportedConfig.java
changeset 46515 dbb676a40899
parent 41705 332239c052cc
child 46698 fa625dca9270
equal deleted inserted replaced
46514:38a2f229b094 46515:dbb676a40899
    27  * @summary Verify RTMTotalCountIncrRate option processing on CPU with
    27  * @summary Verify RTMTotalCountIncrRate option processing on CPU with
    28  *          rtm support and on VM with rtm locking support.
    28  *          rtm support and on VM with rtm locking support.
    29  * @library /test/lib /
    29  * @library /test/lib /
    30  * @modules java.base/jdk.internal.misc
    30  * @modules java.base/jdk.internal.misc
    31  *          java.management
    31  *          java.management
    32  *
    32  * @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os
    33  * @build sun.hotspot.WhiteBox
    33  * @build sun.hotspot.WhiteBox
    34  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
    34  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
    35  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
    35  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
    36  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
    36  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
    37  *                   -XX:+WhiteBoxAPI
    37  *                   -XX:+WhiteBoxAPI
    53                 new String[] { "-1", "0", "3", "42" },
    53                 new String[] { "-1", "0", "3", "42" },
    54                 RTMGenericCommandLineOptionTest.RTM_COUNT_INCR_WARNING);
    54                 RTMGenericCommandLineOptionTest.RTM_COUNT_INCR_WARNING);
    55     }
    55     }
    56 
    56 
    57     public static void main(String args[]) throws Throwable {
    57     public static void main(String args[]) throws Throwable {
    58         new TestRTMTotalCountIncrRateOptionOnSupportedConfig().test();
    58         new TestRTMTotalCountIncrRateOptionOnSupportedConfig().runTestCases();
    59     }
    59     }
    60 }
    60 }