commit | 2b7a8e18832b64fab6d985d4f3292755cc6ca1d4 | [log] [tgz] |
---|---|---|
author | Edgar Arriaga <edgararriaga@google.com> | Fri Jan 13 18:24:24 2023 +0000 |
committer | Edgar Arriaga GarcĂa <edgararriaga@google.com> | Mon Jan 23 17:14:52 2023 +0000 |
tree | c3f094294726d82584f7e5c0f251c3a461795613 | |
parent | 44a29da87efba893e06e6480f9a5d8f6239f74ce [diff] |
Optimize app compaction system reduce page faults This patch allows for amortizing the memory churn in compaction over time by reusing the vector and its vmas as well as sending a preassigned buffer to fill maps. Effectively, after a compaction run we usually see no new allocations which also reduces the page fault cost and the allocation cost. Bug: 243976314 Test: am compact full <processname> <uid> Change-Id: I36e96284b72b7b03d75171058def23b783f6c5cd