summaryrefslogtreecommitdiff
path: root/test/MultiDexModifiedSecondary/main.jpp
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2020-04-15 15:35:16 +0100
committerVladimir Marko <vmarko@google.com>2020-04-21 10:38:10 +0000
commit63ba6477e76278d949f382e9babb146b13732878 (patch)
tree7bcaeb4679ee2cf2ef2c69fa9db173aa50f0bf3c /test/MultiDexModifiedSecondary/main.jpp
parent050e2153774fa3d58c1c47dbb6fbdb437bd58229 (diff)
Faster dex file verification.
Speed up DexFileVerifier by introducing a "map" from type index to class definition index, implemented as vector<>. Refactor the verification for correctness, moving checks against the header into the CheckIntraSection() phase and checks that rely on other sections to CheckInterSection(). This also allows us to remove some unnecessary checks in the latter phase. Improves the "OpenDexFile" time from --dump-timings output by over 2x for one tested huge apk. (cherry picked from commit eae30815293d9cacb4bf9f48d7dfdce8a436b426) Test: m test-art-host-gtest Test: testrunner.py --host --optimizing. Bug: 153966283 Merged-In: Iae423b8f463648360276130c8b21ab6057cf73a7 Change-Id: Ie5a525bd1975c39e014c86b4386d5402c8bef420
Diffstat (limited to 'test/MultiDexModifiedSecondary/main.jpp')
0 files changed, 0 insertions, 0 deletions