commit | 0a9ee1af2cba8da1de3aace999d8547503c06f4c | [log] [tgz] |
---|---|---|
author | Makoto Onuki <omakoto@google.com> | Wed Jun 19 08:58:02 2019 -0700 |
committer | Makoto Onuki <omakoto@google.com> | Wed Jun 19 10:01:55 2019 -0700 |
tree | 1f01c53d7f2f2a57b39b9527d29a40cffadab9b3 | |
parent | ba3f191bd5239406c7a759fa619c352598b2f740 [diff] |
Optionally trigger CG in onTrimMemory() Set a trim-level threshold to debug.am.run_gc_trim_level to activate it. Bug: 135148702 Test: Manual test with "setprop debug.am.run_gc_trim_level 0", run a lot of heavy apps and take pictures, and check logcat for the "force_gc" event log. Test: Manual test with "setprop debug.am.run_mallopt_trim_level 0", run a lot of heavy apps and take pictures, and check logcat for a debug log. Change-Id: I73b4dc7374e85e9a22c98ab17da53aa6cb25a188