commit | 88646086aca7d4e4f6ce88d9e343d07ba1b43faa | [log] [tgz] |
---|---|---|
author | Takashi Sakamoto <tasak@google.com> | Mon Dec 09 04:07:18 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Dec 09 04:07:18 2024 |
tree | 06b07b134a7d4953849247f8c623fc0ad85006f7 | |
parent | 20a59b61c7f534c6a0e8dd6952f6c86f7ecc86cd [diff] |
[PA] Fix flaky test failure of memory reclaimer unittests on Windows To reproduce the issue: base_unittests --\ gtest_filter=AlternateBucketDistributionAndPartitionFreeList/\ PartitionAllocThreadCacheTest.MultipleThreadCachesAccounting/3:\ MemoryReclaimerTest.DoNotAlwaysPurgeThreadCache --gtest_shuffle --gtest_random_seed=2 Since MultipleThreadCachesAccounting makes ThreadCache tombstone, the next test will crash because of memory access violation. (tcache->CachedMemory() is kTombstone->CachedMemory()) So ThreadCacheProcessScopeForTesting() has to recreate a new ThreadCache for `root_`. Change-Id: I5c8c0a3e5f1e9421cab5a8ef14cc4b15384156a5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6055200 Commit-Queue: Takashi Sakamoto <tasak@google.com> Reviewed-by: Yuki Shiino <yukishiino@chromium.org> Cr-Commit-Position: refs/heads/main@{#1393498}
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.