Proactively purging discardable memory on Desktop
This CL adds a way for ClientDiscardableSharedMemoryManager to discard unlocked discardable memory locally. To achieve this, it keeps track of all locked and unlocked, unpurged instances. These are then purged all at once when ReleaseFreeMemory() is called. This is guarded by a new feature which is disabled by default, and as such there is no behaviour change by default. Bug: 1109209 Change-Id: I7755d714ff354e831557627fda401751384392b8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2321400 Commit-Queue: Thiabaud Engelbrecht <thiabaud@google.com> Reviewed-by:Peng Huang <penghuang@chromium.org> Reviewed-by:
Benoit L <lizeb@chromium.org> Cr-Commit-Position: refs/heads/master@{#798630}
Showing
This diff is collapsed.
Please register or sign in to comment