diff options
| author | 2019-06-17 09:23:17 -0700 | |
|---|---|---|
| committer | 2019-06-18 20:00:58 +0000 | |
| commit | b11d521ed04d411aad61e5d5d7e4f81edfe49542 (patch) | |
| tree | d1d02a92f49605f2fa32571c6f03fb6d2d323422 /compiler/optimizing/stack_map_stream.cc | |
| parent | 521ff988097af7c79a0b94368d33d21f7c7dfb7d (diff) | |
ART: Preallocate offset map
Reserve space in the offset-to-type map in the dex file verifier.
This avoids reallocations and improves performance, and in the
common case reduces peak memory consumption.
Bug: 110852609
Test: m test-art-host
Change-Id: I57bf32e6486c115b35fb2bdccb789a8b09272840
Diffstat (limited to 'compiler/optimizing/stack_map_stream.cc')
0 files changed, 0 insertions, 0 deletions