< prev index next >

test/compiler/rtm/cli/TestRTMAbortRatioOptionOnSupportedConfig.java

Print this page

        

@@ -27,11 +27,11 @@
  * @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,8 +53,8 @@
                 new String[] { "-1", "101" },
                 RTMGenericCommandLineOptionTest.RTM_ABORT_RATIO_WARNING);
     }
 
     public static void main(String args[]) throws Throwable {
-        new TestRTMAbortRatioOptionOnSupportedConfig().test();
+        new TestRTMAbortRatioOptionOnSupportedConfig().runTestCases();
     }
 }
< prev index next >