commit | 68353fecf7b2e069e14b5b3af7b9f33ebfa29600 | [log] [tgz] |
---|---|---|
author | Lokesh Gidra <lokeshgidra@google.com> | Wed Aug 31 23:22:37 2022 -0700 |
committer | Lokesh Gidra <lokeshgidra@google.com> | Thu Sep 01 18:55:24 2022 +0000 |
tree | 93fe442c072341a2027a94ecb19789b75f73bf38 | |
parent | bd0f277e83ee8ad5faae3813512e780319dc885f [diff] |
Fix padding computation in ArenaAllocator::AllocAlign16() Padding is being wrongly computed, resulting in a new Arena being used for every 16-byte aligned allocation, which seems to be done only for DexCachePair arrays. Fortunately these arrays are 8KB long so no physical memory is wasted, but virtual address space is getting wasted. Test: art/test/testrunner/testrunner.py --host Change-Id: I8cf6dd33eec6ba88a2a3775b58a674a8b5c7ca01