Commit 689caf04 authored by David Sehr's avatar David Sehr
Browse files

Cache DexFile begin and size

Avoid virtual function invocations in DexFile Begin() and Size() methods
by caching duplicate copies of the beginning address and size at construction.

Bug: 110980617
Test: make -j 50 test-art-host
Change-Id: I70867bcd69e30a93b91873171d365a916b76bc96
parent 04a4f20f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment