commit | 1f9ea587791eed3b40171ba392474ad25fc51527 | [log] [tgz] |
---|---|---|
author | André Kempe <[email protected]> | Wed Jan 25 14:35:03 2023 |
committer | Chromium LUCI CQ <[email protected]> | Wed Jan 25 14:35:03 2023 |
tree | 1b6686ca9fee60eeabefeda2027fd60fc81ce204 | |
parent | fa811b4bc4910155a886761578c64d54290b9bb2 [diff] |
Move recursion protection to PoissonAllocationSampler Moving the ReentryGuard from the dispatcher and hooks into the PoissonAllocationSampler enables observers to receive notifications on other observer's memory allocations. Furthermore is reduces overhead of creating a ReentryGuard (which involves accessing thread local storage) until it is really necessary. Bug: 1137393 Change-Id: Ia3fdede065af0b240357cb85508a4efbe953ce8d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4184715 Reviewed-by: Benoit Lize <[email protected]> Reviewed-by: Joe Mason <[email protected]> Commit-Queue: Richard Townsend <[email protected]> Cr-Commit-Position: refs/heads/main@{#1096754}
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.