heap: Reuse MarkingVisitor::IsInConstruction
Make all calls to header->IsInConstruction go through MarkingVisitor::IsInConstruction. Having a single call instead of multiple calls scattered around the code would make the code easier to maintain (in case we need to change atomicity for example). Bug: 986235 Change-Id: Ie386a59737bbcaa9d35c87e1ccc45037729b69c5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1885050 Commit-Queue: Omer Katz <omerkatz@chromium.org> Reviewed-by:Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#710093}
Showing
Please register or sign in to comment