commit | 2eeb01a9327b091124521a84c76edb2c6dcfa8f0 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Fri Jul 07 14:09:46 2017 -0700 |
committer | Andreas Gampe <agampe@google.com> | Fri Jul 07 17:53:21 2017 -0700 |
tree | d0c6662bf6d59576fd5858c7654aa258b1e9c726 | |
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