summaryrefslogtreecommitdiff
path: root/test/008-exceptions/src/MultiDexBadInit.java
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 07:52:45 +0000
commiteae30815293d9cacb4bf9f48d7dfdce8a436b426 (patch)
tree9e2c8165b065638202455c4812ebca4648f1d706 /test/008-exceptions/src/MultiDexBadInit.java
parent11f12be5087956f0096d9f0f8e0e1720c286ca64 (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. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing. Bug: 153966283 Change-Id: Iae423b8f463648360276130c8b21ab6057cf73a7
Diffstat (limited to 'test/008-exceptions/src/MultiDexBadInit.java')
0 files changed, 0 insertions, 0 deletions