8048076: [TESTBUG] runtime/Unsafe/RangeCheck.java fails with -Xcomp
authorctornqvi
Wed, 25 Jun 2014 13:03:29 -0700
changeset 25368 506eef1dc714
parent 25337 31eeda0060a9
child 25370 62e9d6343cf7
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
hotspot/test/runtime/Unsafe/RangeCheck.java
--- 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());