OpenJDK / jdk / jdk
changeset 57237:1413f714d1a9
8234906: [TESTBUG] TestDivZeroCheckControl fails for client VMs due to Unrecognized VM option LoopUnrollLimit
Reviewed-by: kvn
author | cgo |
---|---|
date | Wed, 04 Dec 2019 10:38:54 +0100 |
parents | e7f7be79ba52 |
children | 18420160287b |
files | test/hotspot/jtreg/compiler/loopopts/TestDivZeroCheckControl.java |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/test/hotspot/jtreg/compiler/loopopts/TestDivZeroCheckControl.java Wed Dec 04 15:01:22 2019 -0800 +++ b/test/hotspot/jtreg/compiler/loopopts/TestDivZeroCheckControl.java Wed Dec 04 10:38:54 2019 +0100 @@ -26,11 +26,21 @@ * @test * @bug 8229496 * @summary Verify that zero check is executed before division/modulo operation. + * @requires vm.compiler2.enabled * @run main/othervm -Xbatch -XX:LoopUnrollLimit=0 * -XX:CompileCommand=dontinline,compiler.loopopts.TestDivZeroCheckControl::test* * compiler.loopopts.TestDivZeroCheckControl */ +/* + * @test + * @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 {