[heap] Fix compaction of interior slots
Compaction uses overlapping writes which means that the source (from) object may be overwritten by the target (to) object. Since the contents are just copied over the target can be used for reading a slots value. Bug: chromium:875044 Change-Id: I3945fffe4bd1d4f04b57a0964b85d9de7551122e Reviewed-on: https://chromium-review.googlesource.com/1181572 Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Reviewed-by:Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#584695}
Showing
Please register or sign in to comment