[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/+/2593373Reviewed-by:Kentaro Hara <haraken@chromium.org> Commit-Queue: Benoit L <lizeb@chromium.org> Cr-Commit-Position: refs/heads/master@{#837539}
Showing
Please register or sign in to comment