commit | d0fc768defcc417393d4ef5a25214b566bfc36c2 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Fri Jul 07 14:03:08 2017 -0700 |
committer | Andreas Gampe <agampe@google.com> | Fri Jul 07 17:53:21 2017 -0700 |
tree | cc7052af2722709d9eec7b580bf6f0196f299af3 | |
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