8160471: compiler/rangechecks/TestRangeCheckEliminationDisabled.java fails after JDK-8150900
Summary: Add UnlockDiagnosticVMOptions to the test
Reviewed-by: kvn, thartmann
--- a/hotspot/test/compiler/rangechecks/TestRangeCheckEliminationDisabled.java Wed Jun 29 11:38:58 2016 +0000
+++ b/hotspot/test/compiler/rangechecks/TestRangeCheckEliminationDisabled.java Wed Jun 29 18:04:04 2016 +0300
@@ -26,7 +26,9 @@
* @test TestRangeCheckEliminationDisabled
* @bug 8154763
* @summary Tests PostLoopMultiversioning with RangeCheckElimination disabled.
- * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+PostLoopMultiversioning -XX:-RangeCheckElimination TestRangeCheckEliminationDisabled
+ * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions
+ * -XX:+PostLoopMultiversioning -XX:-RangeCheckElimination
+ * TestRangeCheckEliminationDisabled
*/
public class TestRangeCheckEliminationDisabled {