8242379: [TESTBUG] compiler/loopopts/TestLoopUnswitchingLostCastDependency.java fails with release VMs

Reviewed-by: roland, kvn
This commit is contained in:
Jie Fu 2020-04-09 09:20:18 +08:00
parent 82dfec76c6
commit 3487361a39

View File

@ -26,7 +26,8 @@
* @bug 8241900
* @summary Loop unswitching may cause dependence on null check to be lost
*
* @run main/othervm -XX:-TieredCompilation -XX:-BackgroundCompilation -XX:+StressGCM -XX:+StressLCM TestLoopUnswitchingLostCastDependency
* @requires vm.compiler2.enabled
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:-TieredCompilation -XX:-BackgroundCompilation -XX:+StressGCM -XX:+StressLCM TestLoopUnswitchingLostCastDependency
*/
import java.util.Arrays;