equal
deleted
inserted
replaced
24 |
24 |
25 /* |
25 /* |
26 * @test |
26 * @test |
27 * @bug 8134883 |
27 * @bug 8134883 |
28 * @summary C1's range check elimination breaks with a non-natural loop that an exception handler as one entry |
28 * @summary C1's range check elimination breaks with a non-natural loop that an exception handler as one entry |
|
29 * |
29 * @compile TestRangeCheckExceptionHandlerLoop.jasm |
30 * @compile TestRangeCheckExceptionHandlerLoop.jasm |
30 * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement TestRangeCheckExceptionHandlerLoopMain |
31 * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement |
|
32 * compiler.rangechecks.TestRangeCheckExceptionHandlerLoopMain |
31 */ |
33 */ |
|
34 |
|
35 package compiler.rangechecks; |
32 |
36 |
33 public class TestRangeCheckExceptionHandlerLoopMain { |
37 public class TestRangeCheckExceptionHandlerLoopMain { |
34 public static void main(String[] args) throws Exception { |
38 public static void main(String[] args) throws Exception { |
35 Exception exception = new Exception(); |
39 Exception exception = new Exception(); |
36 int[] array = new int[10]; |
40 int[] array = new int[10]; |