commit | c207fe32b58967816c8fe34eadf87f9f846f9089 | [log] [tgz] |
---|---|---|
author | Kevin Babbitt <kbabbitt@microsoft.com> | Mon Dec 13 17:49:01 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Dec 13 17:49:01 2021 |
tree | de66e99df4ef193bbc04ca4fca200381ba6f5781 | |
parent | 39669c6c4d42c81b8a2580d92551a60937bbc6bb [diff] |
Make StringImpl::ref_count_ atomic Convert the field to an atomic type and adjust accesses to match while preserving existing safety checks. This is not the last step to make Blink strings thread-safe, but it is the most potentially impactful on performance. Perf testing results and discussion are in this thread: https://groups.google.com/a/chromium.org/g/platform-architecture-dev/c/Cd483BcI3c8 Change-Id: I2c503b782f028aebbfeb733ceb8009eb00ea8210 Bug: 1083392 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3152354 Reviewed-by: Kentaro Hara <haraken@chromium.org> Commit-Queue: Kevin Babbitt <kbabbitt@microsoft.com> Cr-Commit-Position: refs/heads/main@{#951084}
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.
If you found a bug, please file it at https://crbug.com/new.