commit | 3e78c7ac40e928f887965c2b81f3c30631f1168f | [log] [tgz] |
---|---|---|
author | Benoît Lizé <lizeb@chromium.org> | Mon Jun 17 11:04:30 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jun 17 11:04:30 2019 |
tree | a65efaa5409f5b98221d24f1194242f62e20163e | |
parent | dc627abe0f3d124641a3f33762fd62c4bcb9bf63 [diff] |
blink/platform: Add periodic decommit to PartitionAlloc. PartitionAlloc decommit happens at discrete points up to this CL, typically when renderer memory metrics are collected. This adds a mechanism to post periodic idle time tasks to trigger the reclaim. These tasks run on the main thread as this is likely to be more efficient, and they run during idle time to avoid regressions. This CL does a few things: - Add a feature to enable periodic reclaim to evaluate the impact - Collect total CPU time overhead metrics - Add PostDelayedIdleTask() These are together, as the new classes wouldn't have a use case before this CL. Also fix a couple "git cl lint" warnings. Bug: 942512 Change-Id: I264b49cb8a0da306957bac1b0f714670b20b2eb9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1593260 Commit-Queue: Benoit L <lizeb@chromium.org> Reviewed-by: Alexei Svitkine <asvitkine@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: François Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/master@{#669614}
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 .