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

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Tue Mar 1 15:52:33 UTC 2016


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