[heap] Update marked bytes when making the heap consistent for snapshots
Live bytes are computed during sweeping for regular garbage collection. The live bytes computation was missing from the logic that makes the heap consistent after performing marking just for taking a snapshot. The result is that ProcessHeap counters are not usable when just performing a garbage collection for snapshots as the counters would always be zeroed out. Bug: chromium:865438 Change-Id: Id0d7e7a75895a6e6bb0ae62959f3e7a36b3d26fa Reviewed-on: https://chromium-review.googlesource.com/1155121Reviewed-by:Kentaro Hara <haraken@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#579339}
Showing
Please register or sign in to comment