commit | fe9052edaf6bebbccaac5a9fb607012778d0dd74 | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Tue Jul 19 17:56:14 2011 -0700 |
committer | Jeff Brown <jeffbrown@google.com> | Tue Jul 19 18:37:06 2011 -0700 |
tree | 3126f5d8f62f7920b9816e9e4dc8b970a5249693 | |
parent | 5b298a2a95dfb3562ee297d284bef565e595a70c [diff] |
Trim the heap when idle after concurrent GC's. Bug: 4984352 When applied system-wide, trimming the heap can help recover multiple megabytes worth of pages that are no longer used. This is especially useful for applications that periodically allocate large objects during initialization that they then discard when running in the background. Change-Id: Iafffd65a70ae62022f0c74f836a84a7afbe23c3c