8048076: [TESTBUG] runtime/Unsafe/RangeCheck.java fails with -Xcomp

Compiler intrinsics doesn't have this assert, disabled the intrinsics to make sure we go through the VM

Reviewed-by: lfoltan, coleenp
This commit is contained in:
Christian Tornqvist 2014-06-25 13:03:29 -07:00
parent b531babf09
commit 30b9c7d9cb

View File

@ -43,6 +43,7 @@ public class RangeCheck {
true,
"-Xmx32m",
"-XX:-TransmitErrorReport",
"-XX:-InlineUnsafeOps", // The compiler intrinsics doesn't have the assert
DummyClassWithMainRangeCheck.class.getName());
OutputAnalyzer output = new OutputAnalyzer(pb.start());