commit | 7229bc4b85f6a6edad20c49c8a90ca0e3087b7a8 | [log] [tgz] |
---|---|---|
author | Vlad Tsyrklevich <vtsyrklevich@chromium.org> | Fri Apr 26 00:18:01 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Apr 26 00:18:01 2019 |
tree | 4eab5d6cad1fcb58bbcc7740a05c26bd7625f46c | |
parent | d00177777eeaa686e92caedb6ce37b7579b860e1 [diff] |
GWP-ASan: Delay use of random eviction As of http://crrev.com/df5978bab08b4cf87b2139d53ed9b8af27ca2bb7 we use random eviction to allocate slots/metadata; however, we use random eviction even before all slots/metadata have been allocated leading to the early reuse of slots/metadata. This is inefficient as it leads to an unnecessary early loss of data. Change the allocation algorithm to use all slots/metadata before using random eviction. Bug: 956724, 939142 Change-Id: I6dcaecaf64f480ac8827db3d6f06f6a6cadfb441 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1584986 Commit-Queue: Vlad Tsyrklevich <vtsyrklevich@chromium.org> Commit-Queue: Vitaly Buka <vitalybuka@chromium.org> Auto-Submit: Vlad Tsyrklevich <vtsyrklevich@chromium.org> Reviewed-by: Vitaly Buka <vitalybuka@chromium.org> Cr-Commit-Position: refs/heads/master@{#654272}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .