diff options
author | Andreas Gampe <agampe@google.com> | 2017-07-07 14:03:08 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2017-07-07 17:53:21 -0700 |
commit | d0fc768defcc417393d4ef5a25214b566bfc36c2 (patch) | |
tree | cc7052af2722709d9eec7b580bf6f0196f299af3 /test/MultiDex/main.jpp | |
parent | c7960729dd3585bc971645ded2fab7498b456749 (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
Bug: 37620770
Test: m test-art-host
Change-Id: I24f46786c9cf15e6523389c630952eff0981f4dc
Diffstat (limited to 'test/MultiDex/main.jpp')
0 files changed, 0 insertions, 0 deletions