commit | 371b04724522c5acbb76878e5825a308ef065f32 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Mon Feb 27 16:37:21 2017 -0800 |
committer | Mathieu Chartier <mathieuc@google.com> | Thu Mar 02 16:40:26 2017 -0800 |
tree | 99193548cbfc17840ba0f323fb164d7826566136 | |
parent | ec78cc266a5ec7fdbaeb41eb645fa1a431eaa61d [diff] |
Clear empty unevac regions in ClearFromSpace The motivation is to release RAM for empty unevac regions at the end of the current GC instead of next GC. Results on RitzPerf: This optimization accounts for 2.33GB out of 53GB of freed bytes ~4%. This also means that the average heap size is probably 4% smaller, though it may not translate to RAM savings for actual apps. Bug: 35800768 Bug: 12687968 Test: test-art-host Change-Id: I38fa8dcda1aa6b439060ff170941b3a53022846f