changeset 25368:506eef1dc714

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
author ctornqvi
date Wed, 25 Jun 2014 13:03:29 -0700
parents 31eeda0060a9
children 62e9d6343cf7
files hotspot/test/runtime/Unsafe/RangeCheck.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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());