Commit 5b92a70d authored by Andreas Gampe's avatar Andreas Gampe
Browse files

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 2eeb01a9)

Bug: 37620770
Test: m test-art-host
Merged-In: I6ab89e0e99994466183042bd59358439f98dde42
Change-Id: I6ab89e0e99994466183042bd59358439f98dde42
parent d412d7b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment