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
1 file changed