commit | 75e4b2af38b2909feaa58f682e9af53e2a50acbd | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Wed May 24 12:01:04 2017 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Wed May 24 18:25:20 2017 -0700 |
tree | 80f3b445347c3add82893ee53b1860917ac99ae9 | |
parent | 7dd1e683ea61341323ba8b138684f4c4fbddb3ab [diff] |
Use HeapGrowthMultiplier for native allocaitons Reduces the amount of native allocation GCs for foreground apps. For camera: The number of native allocations GCs goes from 4 to 2, improving launch time by 25ms (average of 25 runs on pixel). The multiplier is 1 for low ram devices, so this should not increase RAM on devices where it matters. Test: test-art-host (cherry picked from commit 30baf4a6d7c568e423c9d3e3fa7a7a25ab730b62) Change-Id: Ifba47cfebab58d9a60a49446929c3475cef9ff14