< prev index next >

test/compiler/tiered/TieredLevelsTest.java

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

*** 21,48 **** * questions. */ /** * @test TieredLevelsTest * @library /testlibrary /test/lib / * @modules java.base/jdk.internal.misc ! * @modules java.management ! * @build TieredLevelsTest * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+TieredCompilation * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:-UseCounterDecay * -XX:CompileCommand=compileonly,compiler.whitebox.SimpleTestCaseHelper::* ! * TieredLevelsTest ! * @summary Verify that all levels &lt; 'TieredStopAtLevel' can be used ! * @author igor.ignatyev@oracle.com */ import compiler.whitebox.CompilerWhiteBoxTest; public class TieredLevelsTest extends CompLevelsTest { ! public static void main(String[] args) throws Exception, Throwable { if (CompilerWhiteBoxTest.skipOnTieredCompilation(false)) { return; } CompilerWhiteBoxTest.main(TieredLevelsTest::new, args); } --- 21,50 ---- * questions. */ /** * @test TieredLevelsTest + * @summary Verify that all levels &lt; 'TieredStopAtLevel' can be used * @library /testlibrary /test/lib / * @modules java.base/jdk.internal.misc ! * java.management ! * ! * @build compiler.tiered.TieredLevelsTest * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+TieredCompilation * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:-UseCounterDecay * -XX:CompileCommand=compileonly,compiler.whitebox.SimpleTestCaseHelper::* ! * compiler.tiered.TieredLevelsTest */ + package compiler.tiered; + import compiler.whitebox.CompilerWhiteBoxTest; public class TieredLevelsTest extends CompLevelsTest { ! public static void main(String[] args) throws Throwable { if (CompilerWhiteBoxTest.skipOnTieredCompilation(false)) { return; } CompilerWhiteBoxTest.main(TieredLevelsTest::new, args); }
< prev index next >