diff options
author | Vladimir Marko <vmarko@google.com> | 2020-04-15 15:35:16 +0100 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2020-04-21 07:52:45 +0000 |
commit | eae30815293d9cacb4bf9f48d7dfdce8a436b426 (patch) | |
tree | 9e2c8165b065638202455c4812ebca4648f1d706 /compiler/optimizing/graph_visualizer.cc | |
parent | 11f12be5087956f0096d9f0f8e0e1720c286ca64 (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 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions