commit | 484d47a9dbf56870cb70f3ec94daa997f5ca32be | [log] [tgz] |
---|---|---|
author | Anton Bikineev <bikineev@chromium.org> | Tue Apr 06 14:37:53 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 06 14:37:53 2021 |
tree | 00273d8d0f343abd5a5afed511e3477c99374da5 | |
parent | 4e9c38997eb19efddc347de4d3d75f693f0e23d9 [diff] |
PCScan: Change state to kSweeping only once in the scanner thread Changing the state by all threads can lead to a deadlock. If a mutator thread gets descheduled and the store happens too late (after sweeping was done by the scanner), PCScan will never trigger, since PerformScan() expects the state to be kNotRunning. Bug: 1129751,1190585 Change-Id: Ia21701dce6cfcfb7143b62367bddc7ede9445f2e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2805721 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Anton Bikineev <bikineev@chromium.org> Cr-Commit-Position: refs/heads/master@{#869520}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.