< prev index next >
test/compiler/print/TestProfileReturnTypePrinting.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 22,39 ****
*/
/**
* @test
* @bug 8073154
! * @build TestProfileReturnTypePrinting
* @run main/othervm -XX:TypeProfileLevel=020
! * -XX:CompileOnly=TestProfileReturnTypePrinting.testMethod
* -XX:+IgnoreUnrecognizedVMOptions -XX:+PrintLIR
! * TestProfileReturnTypePrinting
* @summary Verify that c1's LIR that contains ProfileType node could be dumped
* without a crash disregard to an exact class knowledge.
*/
public class TestProfileReturnTypePrinting {
private static final int ITERATIONS = 1_000_000;
public static void main(String args[]) {
for (int i = 0; i < ITERATIONS; i++) {
--- 22,42 ----
*/
/**
* @test
* @bug 8073154
! * @build compiler.print.TestProfileReturnTypePrinting
* @run main/othervm -XX:TypeProfileLevel=020
! * -XX:CompileCommand=compileonly,compiler.print.TestProfileReturnTypePrinting::testMethod
* -XX:+IgnoreUnrecognizedVMOptions -XX:+PrintLIR
! * compiler.print.TestProfileReturnTypePrinting
* @summary Verify that c1's LIR that contains ProfileType node could be dumped
* without a crash disregard to an exact class knowledge.
*/
+
+ package compiler.print;
+
public class TestProfileReturnTypePrinting {
private static final int ITERATIONS = 1_000_000;
public static void main(String args[]) {
for (int i = 0; i < ITERATIONS; i++) {
< prev index next >