diff options
author | Vladimir Marko <vmarko@google.com> | 2017-02-22 10:57:03 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2017-02-22 17:33:17 +0000 |
commit | 3e1070239a920cc94b020a621acf4daeccebb140 (patch) | |
tree | 10149549582fa984d81b737ac236c6bc931fe6db /test/ProfileTestMultiDex/Second.java | |
parent | 30e015c442c8033390c30d2f293604723c29bc75 (diff) |
Avoid excessive allocation of std::set<> nodes in SwapSpace.
This does not affect the overall memory usage but avoids
a lot of deallocations followed by allocation.
Measured compilation of a big app using heap track:
bytes allocated in total (ignoring deallocations): 4.14GB -> 4.04GB
calls to allocation functions: 21662554 -> 19545823
Test: m test-art-host-gtest
Test: Manually check that oat file for the big app remains identical.
Bug: 34053922
Change-Id: I00568422ba5510550986e29f30bace9ae6245269
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions