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