8271925: ZGC: Arraycopy stub passes invalid oop to load barrier #5014
The fix for JDK-8270461, see PR 252, made sure that the arraycopy offset when cloning an oop array always points to the first element of the array. However, it missed to adjust the copy length as well, leading to reading/copying 8 bytes beyond the end of the array.
This only reproduces in Valhalla (probably because the mark word layout differs there) and only with
The text was updated successfully, but these errors were encountered:
@TobiHartmann This change now passes all automated pre-integration checks.
After integration, the commit message for the final commit will be:
At the time when this comment was updated there had been 28 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
Going to push as commit d53d94b.
Your commit was automatically rebased without conflicts.