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