diff options
author | Andreas Gampe <agampe@google.com> | 2017-07-07 14:03:08 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2017-07-07 21:14:12 -0700 |
commit | d412d7b98649ce9bd84b4ef733030316c976f5c1 (patch) | |
tree | 1dd61563b9b3a89f46a3cb5d4e267aad8e8bcfaa /test/ProfileTestMultiDex/Main.java | |
parent | d236626aad8a11a0ced55b3e0c2a7411bcd9b810 (diff) |
ART: Presize output vector in RecentAllocations
Reserve the needed storage for each allocation record before dumping the
data to avoid incremental increases.
Effect on b/37620770 repro case: Dump time ~ 12s
(cherry picked from commit d0fc768defcc417393d4ef5a25214b566bfc36c2)
Bug: 37620770
Test: m test-art-host
Merged-In: I24f46786c9cf15e6523389c630952eff0981f4dc
Change-Id: I24f46786c9cf15e6523389c630952eff0981f4dc
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions