OSDN Git Service

ART: Clean up less in dex2oat
authorAndreas Gampe <agampe@google.com>
Thu, 17 Sep 2015 21:03:21 +0000 (14:03 -0700)
committerAndreas Gampe <agampe@google.com>
Fri, 18 Sep 2015 17:53:29 +0000 (17:53 +0000)
commit3f30e1219dd76f78bb9b6504e696a04a3dfae564
tree72e36563f506fbbd5ea98dee64b44fbf1e3ca782
parent930761fb7a4db70fbd5e75faa1fca07e5b494ae9
ART: Clean up less in dex2oat

In non-debug builds, clean up even less. We already did not shut
down the runtime. Also skipping the compiler driver and the
verification results removes all major points of destructor
performance.

Tested with a common large app on Nexus 9. Time between dex2oat timing
message and executable exit (log from immediately-after log echo)
[w/o swap, w/ swap].
Before:  2.409s / 48.774s
After:   0.132s /  0.188s

Bug: 24199200
Change-Id: I5d8c17f8e28796545cfbb3887c07c92905f9b48d
dex2oat/dex2oat.cc