< prev index next >

test/compiler/rtm/cli/TestRTMTotalCountIncrRateOptionOnSupportedConfig.java

Print this page

        

@@ -27,11 +27,11 @@
  * @summary Verify RTMTotalCountIncrRate 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", "0", "3", "42" },
                 RTMGenericCommandLineOptionTest.RTM_COUNT_INCR_WARNING);
     }
 
     public static void main(String args[]) throws Throwable {
-        new TestRTMTotalCountIncrRateOptionOnSupportedConfig().test();
+        new TestRTMTotalCountIncrRateOptionOnSupportedConfig().runTestCases();
     }
 }
< prev index next >