• Stephen McGruer's avatar
    Revert "[PartitionAlloc] Use exponential backoff for periodic purge." · 946b81de
    Stephen McGruer authored
    This reverts commit 21349955.
    
    Reason for revert: Very tentative revert (with apologies if it's completely wrong) for strange crashes in mini_installer tests: https://crbug.com/1159411
    
    Original change's description:
    > [PartitionAlloc] Use exponential backoff for periodic purge.
    >
    > Periodic purge should ideally not be scheduled at all when a process is
    > fully idle from the allocator's standpoint, that is doesn't
    > allocate. The current current scheme achieves that, with non-trivial
    > complexity (including managing reentrancy in the allocator).
    >
    > Make the code simpler, by modulating purge frequency with exponential
    > backoff, rather than the complex mechanism we have.
    >
    > Bug: 998048
    > Change-Id: I7faa5b2bb8450e41dba1c6cbdc0f65cd2d9a1dec
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2593373
    > Reviewed-by: Kentaro Hara <haraken@chromium.org>
    > Commit-Queue: Benoit L <lizeb@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#837539}
    
    TBR=haraken@chromium.org,lizeb@chromium.org,chromium-scoped@luci-project-accounts.iam.gserviceaccount.com
    
    Change-Id: I1d47a0aaf1f66ca8be50934b99b5222a07289855
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: 998048, 1159411
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2595088Reviewed-by: default avatarStephen McGruer <smcgruer@chromium.org>
    Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#837561}
    946b81de
thread_cache.h 11.5 KB