< prev index next >

test/compiler/rtm/cli/TestRTMSpinLoopCountOption.java

Print this page




  22  */
  23 
  24 /**
  25  * @test
  26  * @bug 8031320
  27  * @summary Verify processing of RTMSpinLoopCount option.
  28  * @library /test/lib /
  29  * @modules java.base/jdk.internal.misc
  30  *          java.management
  31  *
  32  * @run main/othervm compiler.rtm.cli.TestRTMSpinLoopCountOption
  33  */
  34 
  35 package compiler.rtm.cli;
  36 
  37 public class TestRTMSpinLoopCountOption
  38         extends RTMGenericCommandLineOptionTest {
  39     private static final String DEFAULT_VALUE = "100";
  40 
  41     private TestRTMSpinLoopCountOption() {
  42         super(Boolean.TRUE::booleanValue, "RTMSpinLoopCount", false, true,
  43                 TestRTMSpinLoopCountOption.DEFAULT_VALUE,
  44                 "0", "10", "42", "1000");
  45     }
  46 
  47     public static void main(String args[]) throws Throwable {
  48         new TestRTMSpinLoopCountOption().test();
  49     }
  50 }


  22  */
  23 
  24 /**
  25  * @test
  26  * @bug 8031320
  27  * @summary Verify processing of RTMSpinLoopCount option.
  28  * @library /test/lib /
  29  * @modules java.base/jdk.internal.misc
  30  *          java.management
  31  *
  32  * @run main/othervm compiler.rtm.cli.TestRTMSpinLoopCountOption
  33  */
  34 
  35 package compiler.rtm.cli;
  36 
  37 public class TestRTMSpinLoopCountOption
  38         extends RTMGenericCommandLineOptionTest {
  39     private static final String DEFAULT_VALUE = "100";
  40 
  41     private TestRTMSpinLoopCountOption() {
  42         super("RTMSpinLoopCount", false, true,
  43                 TestRTMSpinLoopCountOption.DEFAULT_VALUE,
  44                 "0", "10", "42", "1000");
  45     }
  46 
  47     public static void main(String args[]) throws Throwable {
  48         new TestRTMSpinLoopCountOption().runTestCases();
  49     }
  50 }
< prev index next >