< prev index next >

test/compiler/startup/NumCompilerThreadsCheck.java

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke

*** 26,38 **** * @bug 8034775 * @summary Ensures correct minimal number of compiler threads (provided by -XX:CICompilerCount=) * @library /testlibrary * @modules java.base/jdk.internal.misc * java.management */ - import jdk.test.lib.*; public class NumCompilerThreadsCheck { public static void main(String[] args) throws Exception { ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:CICompilerCount=-1"); OutputAnalyzer out = new OutputAnalyzer(pb.start()); --- 26,45 ---- * @bug 8034775 * @summary Ensures correct minimal number of compiler threads (provided by -XX:CICompilerCount=) * @library /testlibrary * @modules java.base/jdk.internal.misc * java.management + * + * @run driver compiler.startup.NumCompilerThreadsCheck */ + package compiler.startup; + + import jdk.test.lib.OutputAnalyzer; + import jdk.test.lib.Platform; + import jdk.test.lib.ProcessTools; + public class NumCompilerThreadsCheck { public static void main(String[] args) throws Exception { ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:CICompilerCount=-1"); OutputAnalyzer out = new OutputAnalyzer(pb.start());
< prev index next >