< prev index next >

test/compiler/rtm/cli/TestRTMAbortRatioOptionOnSupportedConfig.java

Print this page

        

*** 27,37 **** * @summary Verify RTMAbortRatio option processing on CPU with rtm * support and on VM with rtm locking support. * @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 --- 27,37 ---- * @summary Verify RTMAbortRatio option processing on CPU with rtm * support and on VM with rtm locking support. * @library /test/lib / * @modules java.base/jdk.internal.misc * java.management ! * @requires vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os * @build sun.hotspot.WhiteBox * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions * -XX:+WhiteBoxAPI
*** 53,60 **** new String[] { "-1", "101" }, RTMGenericCommandLineOptionTest.RTM_ABORT_RATIO_WARNING); } public static void main(String args[]) throws Throwable { ! new TestRTMAbortRatioOptionOnSupportedConfig().test(); } } --- 53,60 ---- new String[] { "-1", "101" }, RTMGenericCommandLineOptionTest.RTM_ABORT_RATIO_WARNING); } public static void main(String args[]) throws Throwable { ! new TestRTMAbortRatioOptionOnSupportedConfig().runTestCases(); } }
< prev index next >