Oilpan: Change callback registration in HeapCompaction
This CL changes the system of callback registration to slot-based as with references. Anytime HeapLinkedHashSet rehashes and impl_.table_ changes while incremental marking is in progress, is when the callback won't be called. So as preparing for HeapCompaction with IncrementalMarking, we change the key of the registration on HashMap from references(buffer address) to slots. Bug: 864425 Change-Id: I5af93f1c56d0a76952e3347c4f3f1ba4f271047b Reviewed-on: https://chromium-review.googlesource.com/1164881 Commit-Queue: Haruka Matsumura <harukamt@google.com> Reviewed-by:Keishi Hattori <keishi@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#582104}
Showing
Please register or sign in to comment