< prev index next >

test/compiler/rtm/cli/TestRTMRetryCountOption.java

Print this page




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


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