8048076: [TESTBUG] runtime/Unsafe/RangeCheck.java fails with -Xcomp
Summary: Compiler intrinsics doesn't have this assert, disabled the intrinsics to make sure we go through the VM
Reviewed-by: lfoltan, coleenp
--- a/hotspot/test/runtime/Unsafe/RangeCheck.java Tue Jun 24 12:27:51 2014 -0700
+++ b/hotspot/test/runtime/Unsafe/RangeCheck.java Wed Jun 25 13:03:29 2014 -0700
@@ -43,6 +43,7 @@
true,
"-Xmx32m",
"-XX:-TransmitErrorReport",
+ "-XX:-InlineUnsafeOps", // The compiler intrinsics doesn't have the assert
DummyClassWithMainRangeCheck.class.getName());
OutputAnalyzer output = new OutputAnalyzer(pb.start());