Create SystemMemoryPressureEvaluator from ChromeOS MemoryPressureMonitor.
This CL creates the SystemMemoryPressureEvaluator for ChromeOS, as part of a refactoring of the MemoryPressureMonitor to use the Voter-Aggregator design described here: https://docs.google.com/document/d/1W3FPDyjIAKBcFGNYsHA3EKR1FHrJlbBaqT4_RUnxzq0/edit?ts=5d3f5714#heading=h.7nki9mck5t64 This Evaluator calculates memory pressure and emits notifications identically to the previous Monitor, but does so by casting its votes for memory pressure through a MemoryPressureVoter. Bug: 980965 Change-Id: I0b3d9caa19ede5474ef1bae04be43fd5a9334869 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1756765 Commit-Queue: Ryan Powell <ryanpow@google.com> Reviewed-by:Avi Drissman <avi@chromium.org> Reviewed-by:
Sébastien Marchand <sebmarchand@chromium.org> Reviewed-by:
François Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/master@{#688684}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment