commit | 30baf4a6d7c568e423c9d3e3fa7a7a25ab730b62 | [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 12:07:38 2017 -0700 |
tree | d507787c3cd2b9f9bfe8e7da9bbff200a70f95e0 | |
parent | 5dc8a08723afa5373abf6ccfc7c0fd57eb7a2936 [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. Bug: 36727951 Test: test-art-host Change-Id: I0b9e090d9d85bcb2fcd24f221988e99b91ec5977