summaryrefslogtreecommitdiff
path: root/compiler/optimizing/stack_map_stream.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2019-06-17 09:23:17 -0700
committer Treehugger Robot <treehugger-gerrit@google.com> 2019-06-18 20:00:58 +0000
commitb11d521ed04d411aad61e5d5d7e4f81edfe49542 (patch)
treed1d02a92f49605f2fa32571c6f03fb6d2d323422 /compiler/optimizing/stack_map_stream.cc
parent521ff988097af7c79a0b94368d33d21f7c7dfb7d (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