[9] RFR (XS): 8150933: System::arraycopy intrinsic doesn't mark mismatched loads

Vladimir Kozlov vladimir.kozlov at oracle.com
Tue Mar 1 15:59:08 UTC 2016


Seems fine.

Thanks,
Vladimir

On 3/1/16 7:52 AM, Vladimir Ivanov wrote:
> https://bugs.openjdk.java.net/browse/JDK-8150933
> http://cr.openjdk.java.net/~vlivanov/8150933/webrev.00
>
> System.arraycopy intrinsic produces a mismatched access for unaligned
> case, but doesn't mark it as such.
>
> Also, added a check to avoid constant folding when mismatched access
> happens. It allows to produce correct code in product binaries, but
> signals about the problem when fastdebug binaries are used.
>
> Testing: failing tests, JPRT.
>
> Best regards,
> Vladimir Ivanov


More information about the hotspot-compiler-dev mailing list