diff options
author | Andreas Gampe <agampe@google.com> | 2017-07-07 14:09:46 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2017-07-07 21:14:12 -0700 |
commit | 5b92a70d9cc263cef961bc6c81fe159352f0f4cb (patch) | |
tree | 1428cb2a3071dcd3aeb04a9cb9977a20190ead71 /test/ProfileTestMultiDex/Second.java | |
parent | d412d7b98649ce9bd84b4ef733030316c976f5c1 (diff) |
ART: Change StringTable for RecentAllocations
Avoid the expensive std::distance call by caching the index inside
the set element. This requires a mutable field and a Finish call.
Effect on b/37620770 repro case: Dump time = ~ 12s -> 3.7s
(cherry picked from commit 2eeb01a9327b091124521a84c76edb2c6dcfa8f0)
Bug: 37620770
Test: m test-art-host
Merged-In: I6ab89e0e99994466183042bd59358439f98dde42
Change-Id: I6ab89e0e99994466183042bd59358439f98dde42
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions