heap: Ignore v8 references flushing time in speed computation
Incremental marking can get steps that are entirely consumed by flushing of v8 references. This steps contribute to time spend processing worklists on the main thread, but don't contribute any marked bytes. This thus affects our marking speed computation and results in lower than actual marking speed. The lower speed leads to longer step duration which causes marking to do more work than actually needed on the mutator thread. Step duration for minimum steps (i.e. step meant to mark just 64kb) could reach over 0.5ms due to this and similar issues. Ignoring flushing time in the speed computation prevents these uncontrolled false drops in marking speed and maintains a mostly consistent minimum step duration. Bug: 986235 Change-Id: I23132d65680ef19bedad8d8efffd0b92d439af1e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2297500 Commit-Queue: Omer Katz <omerkatz@chromium.org> Reviewed-by:Anton Bikineev <bikineev@chromium.org> Reviewed-by:
Michael Lippautz <mlippautz@chromium.org> Reviewed-by:
Ulan Degenbaev <ulan@chromium.org> Cr-Commit-Position: refs/heads/master@{#790355}
Showing
Please register or sign in to comment