summaryrefslogtreecommitdiff
path: root/test/MultiDex
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2017-07-10 15:31:30 +0100
committerVladimir Marko <vmarko@google.com>2017-07-10 16:45:30 +0100
commit2b0dfe7b2d6539a8dded06104b11f5ddca3e277c (patch)
tree1afb090cb2211e4f0aaae5d5782d5f950c3a0627 /test/MultiDex
parent6375a04cae864416499865453fecd2b50706b3b2 (diff)
Fix over-allocation of DexCache field array.
Fix a facepalm in DexCacheArraysLayout that causes over-allocation of the DexCache fields array. We should not waste valuable flash storage and virtual address space with all these zeros. Total boot*.art size for aosp_angler-userdebug: - arm: - before: 13316096 - after: 11603968 (1.6MiB, -13%) - arm64: - before: 9486336 - after: 8626176 (-0.8MiB, 9%) We should have saved half of this with the original change rather than regressing the other half. Test: m test-art-host-gtest Test: testrunner.py --host --interp-ac Test: testtunner.py --host --interpreter Bug: 30627598 Change-Id: Ied2ffc4fc8e569141fd6db45841163f7f071ddd0
Diffstat (limited to 'test/MultiDex')
0 files changed, 0 insertions, 0 deletions