commit | b11d521ed04d411aad61e5d5d7e4f81edfe49542 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Mon Jun 17 09:23:17 2019 -0700 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Tue Jun 18 20:00:58 2019 +0000 |
tree | d1d02a92f49605f2fa32571c6f03fb6d2d323422 | |
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