Skip to content
Commit 539a1750 authored by Anton Bikineev's avatar Anton Bikineev Committed by Chromium LUCI CQ
Browse files

PCScan: Implement wait-free scanning

In the current safepoint synchronization scheme there is a global
barrier that ensures that safepoints are never left until scanning is
fully done. This causes all workers to block waiting for the slowest
one to finish and thereby causing all mutator threads to starve.

This CL introduces raceful wait-free scanning with offset based
randomization. This should provide a more sound forward progress
guarantee.

Bug: 11297512,1200485
Change-Id: I749f079a43be990abd7675598d7a141dbc94aea5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2844590


Commit-Queue: Anton Bikineev <bikineev@chromium.org>
Reviewed-by: default avatarMichael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#875933}
parent 9b5a281b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment