commit | b1d0ee1e02e6c461e2291d8d00b21fd847e88adf | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Thu Apr 20 19:50:32 2017 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Fri Apr 21 10:52:53 2017 +0100 |
tree | 9a28e23dbfc180437123bb35c2f416a95317b643 | |
parent | 38870a8a2717ccf1bcd3faddc53b1999985bb29f [diff] |
Reuse DexCache and ClassLoader handles in inliner. Measured memory usage with heaptrack for a large app: Before: bytes allocated in total (ignoring deallocations): 3.14GB calls to allocation functions: 8130596 After: bytes allocated in total (ignoring deallocations): 3.12GB calls to allocation functions: 7750377 Test: testrunner.py --host Bug: 34053922 Change-Id: I1ad7aaffccc6527cd4f409ca8fca75bab8d7439a