[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


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