summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/main.jpp
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2016-05-18 13:09:54 -0700
committerAndreas Gampe <agampe@google.com>2016-05-18 13:09:54 -0700
commit9821cceebf077cb747aed543582b3d740a03ea7f (patch)
treeb5e0ada95d1c79cb380e17e6751b91542f7643bb /test/ProfileTestMultiDex/main.jpp
parent3fdf31d101819d4e0200e80d1692ffcbe785af90 (diff)
ART: Optimize PreSetup pass for oat-file open
The PreSetup pass for opening an oatfile with dlopen parses all shared objects and tries to retrieve the corresponding mem map (so as to have a fake MemMap to reserve the space for any scanning operations and so on). Optimistically optimize this pass by counting the number of shared objects before the dlopen, and skipping as many afterwards. This saves about half a millisecond on an N6P. Bug: 28801010 Change-Id: I70156f9875e89c5af3c9e36e8f01c5662e3f736e
Diffstat (limited to 'test/ProfileTestMultiDex/main.jpp')
0 files changed, 0 insertions, 0 deletions