20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 import java.util.function.IntPredicate; |
24 import java.util.function.IntPredicate; |
|
25 import compiler.whitebox.CompilerWhiteBoxTest; |
25 |
26 |
26 /** |
27 /** |
27 * @test NonTieredLevelsTest |
28 * @test NonTieredLevelsTest |
28 * @library /testlibrary /test/lib /compiler/whitebox |
29 * @library /testlibrary /test/lib /compiler/whitebox / |
29 * @modules java.management |
30 * @modules java.management |
30 * @build NonTieredLevelsTest |
31 * @build NonTieredLevelsTest |
31 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
32 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
32 * sun.hotspot.WhiteBox$WhiteBoxPermission |
33 * sun.hotspot.WhiteBox$WhiteBoxPermission |
33 * @run main/othervm -Xbootclasspath/a:. -XX:-TieredCompilation |
34 * @run main/othervm -Xbootclasspath/a:. -XX:-TieredCompilation |
34 * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI |
35 * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI |
35 * -XX:CompileCommand=compileonly,SimpleTestCase$Helper::* |
36 * -XX:CompileCommand=compileonly,compiler.whitebox.SimpleTestCase$Helper::* |
36 * NonTieredLevelsTest |
37 * NonTieredLevelsTest |
37 * @summary Verify that only one level can be used |
38 * @summary Verify that only one level can be used |
38 * @author igor.ignatyev@oracle.com |
39 * @author igor.ignatyev@oracle.com |
39 */ |
40 */ |
40 public class NonTieredLevelsTest extends CompLevelsTest { |
41 public class NonTieredLevelsTest extends CompLevelsTest { |