commit | 30287d4182d1131d5f47dfedf526b9f5cf68934d | [log] [tgz] |
---|---|---|
author | Ryan Powell <ryanpow@google.com> | Thu Aug 15 15:48:32 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Aug 15 15:48:32 2019 |
tree | decad7bb33f5104172c6515c089db98420b28e17 | |
parent | b93266234c614c0f027379db09c14f494fa64890 [diff] |
Create classes for Memory Pressure Voting system. This CL creates the MultiSourceMemoryPressureMonitor, MemoryPressureVoteAggregator, and MemoryPressureVoter classes described here: https://docs.google.com/document/d/1W3FPDyjIAKBcFGNYsHA3EKR1FHrJlbBaqT4_RUnxzq0/edit#. The aggregator class collects votes from voter instances via the OnVote method. A MemoryPressureVoteAggregator object will be owned by the MultiSourceMemoryPressureMonitor class, which will be merged with the MemoryPressureMonitor class after subsequent CL's which will migrate the OS-specific MemoryPressureMonitors to own a Voter and use that Voter to inform the Monitor of their votes. Bug: 980965 Change-Id: Ib84aadca9a4cf74b3c1f8a42787d63a96f5dfd17 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1719109 Commit-Queue: Ryan Powell <ryanpow@google.com> Reviewed-by: François Doray <fdoray@chromium.org> Reviewed-by: Sébastien Marchand <sebmarchand@chromium.org> Cr-Commit-Position: refs/heads/master@{#687282}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .