< prev index next >

test/hotspot/jtreg/compiler/loopopts/TestDivZeroCheckControl.java

Print this page

        

*** 24,38 **** --- 24,49 ---- /* * @test * @bug 8229496 * @summary Verify that zero check is executed before division/modulo operation. + * @requires vm.compiler2.enabled & !vm.graal.enabled * @run main/othervm -Xbatch -XX:LoopUnrollLimit=0 * -XX:CompileCommand=dontinline,compiler.loopopts.TestDivZeroCheckControl::test* * compiler.loopopts.TestDivZeroCheckControl */ + /* + * @test + * @bug 8229496 + * @summary Verify that zero check is executed before division/modulo operation. + * @requires vm.graal.enabled + * @run main/othervm -Xbatch + * -XX:CompileCommand=dontinline,compiler.loopopts.TestDivZeroCheckControl::test* + * compiler.loopopts.TestDivZeroCheckControl + */ + package compiler.loopopts; public class TestDivZeroCheckControl { public static int test1(int div, int array[]) {
< prev index next >