19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
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 compiler.whitebox.CompilerWhiteBoxTest; |
|
25 |
24 /** |
26 /** |
25 * @test TieredLevelsTest |
27 * @test TieredLevelsTest |
26 * @library /testlibrary /../../test/lib /compiler/whitebox |
28 * @library /testlibrary /../../test/lib / |
27 * @modules java.management |
29 * @modules java.management |
28 * @build TieredLevelsTest |
30 * @build TieredLevelsTest |
29 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
31 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
30 * sun.hotspot.WhiteBox$WhiteBoxPermission |
32 * sun.hotspot.WhiteBox$WhiteBoxPermission |
31 * @run main/othervm -Xbootclasspath/a:. -XX:+TieredCompilation |
33 * @run main/othervm -Xbootclasspath/a:. -XX:+TieredCompilation |
32 * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI |
34 * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI |
33 * -XX:CompileCommand=compileonly,SimpleTestCase$Helper::* |
35 * -XX:CompileCommand=compileonly,compiler.whitebox.SimpleTestCase$Helper::* |
34 * TieredLevelsTest |
36 * TieredLevelsTest |
35 * @summary Verify that all levels < 'TieredStopAtLevel' can be used |
37 * @summary Verify that all levels < 'TieredStopAtLevel' can be used |
36 * @author igor.ignatyev@oracle.com |
38 * @author igor.ignatyev@oracle.com |
37 */ |
39 */ |
38 public class TieredLevelsTest extends CompLevelsTest { |
40 public class TieredLevelsTest extends CompLevelsTest { |