RFR(XS): 8048076 - [TESTBUG] runtime/Unsafe/RangeCheck.java fails with -Xcomp

Coleen Phillimore coleen.phillimore at oracle.com
Wed Jun 25 19:53:12 UTC 2014


Looks good.
Coleen

On 6/25/14, 8:56 AM, Christian Tornqvist wrote:
> Hi everyone,
>
>   
>
> Small fix for an issue with the runtime/Unsafe/RangeCheck.java test, when
> run with -Xcomp we don't trigger the assert. The reason for this is the
> compiler intrinsic for Unsafe.getObject() (which doesn't have this
> check/assert) is used and we don't end up calling the VM function. Simply
> added "-XX:-InlineUnsafeOps" to not use the intrinsics.
>
>   
>
> The old test has the same problem and I don't know why this hasn't shown up
> before.
>
>   
>
> Webrev:
>
> http://cr.openjdk.java.net/~ctornqvi/webrev/8048076/webrev.00/
>
>   
>
> Bug:
>
> https://bugs.openjdk.java.net/browse/JDK-8048076
>
>   
>
> Thanks,
>
> Christian
>



More information about the hotspot-runtime-dev mailing list