diff options
author | Andreas Gampe <agampe@google.com> | 2017-07-07 14:09:46 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2017-07-07 17:53:21 -0700 |
commit | 2eeb01a9327b091124521a84c76edb2c6dcfa8f0 (patch) | |
tree | d0c6662bf6d59576fd5858c7654aa258b1e9c726 /test/MultiDex/Main.java | |
parent | d0fc768defcc417393d4ef5a25214b566bfc36c2 (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
Bug: 37620770
Test: m test-art-host
Change-Id: I6ab89e0e99994466183042bd59358439f98dde42
Diffstat (limited to 'test/MultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions