hotspot/test/compiler/rangechecks/TestRangeCheckExceptionHandlerLoopMain.java
changeset 40059 c2304140ed64
parent 35097 cd29ef2a189d
child 41705 332239c052cc
equal deleted inserted replaced
40058:b4441f6cfe79 40059:c2304140ed64
    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];