heap: Move call to ThreadHeap::FlushV8References
We called Heap().FlushV8References in IncrementalMarkingStep after returning from MarkPhaseAdvanceMarking. This means that FlushV8References is not called during the atomic pause (which doesn't use IncrementalMarkingStep). This could lead to errors. Moving the call to FlushV8References into MarkPhaseAdvanceMarking means it will be called regardless of whether we're in incremental marking or atomic pause. Bug: 986235 Change-Id: I70f85908f0ed8d750456f19d83f779734a5fac21 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1813328 Commit-Queue: Omer Katz <omerkatz@chromium.org> Reviewed-by:Ulan Degenbaev <ulan@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Reviewed-by:
Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#702786}
Showing
Please register or sign in to comment