diff options
author | Andreas Gampe <agampe@google.com> | 2019-02-04 11:19:31 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2019-02-05 08:32:49 -0800 |
commit | 9f3928f2f10ad53af12d825e093f57d337f2d570 (patch) | |
tree | daad6e34cd0f3caf8ad63143ea2980e26f927451 /test/ProfileTestMultiDex/Second.java | |
parent | 3aa868aba9cc4d9b61898f7fbfac7a4bccdb74d4 (diff) |
ART: Change vtable check implementation
Trade space for performance and use a (pseudo-)linear implementation
for CheckVTableHasNoDuplicates.
The new algorithm has a first pass that attempts to check under the
assumption that all entries are from the same dex file, and a second
pass dedicated for the cross-dex-file case.
Both passes use maps to store discovered information and detect
duplicates via existing entries. The code is complicated by an effort
to reduce repeated hashing overhead.
Decreases dex2oatd preopting of a big app from 150s to 35s.
Bug: 123888325
Test: m test-art-host
Change-Id: I3e5e3c8ccfeaf94b89b045eb691ec88556399ae6
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions