OSDN Git Service

ART: Skip image visitor in OatWriter for VerifyAtRuntime
authorAndreas Gampe <agampe@google.com>
Thu, 17 Sep 2015 00:12:55 +0000 (17:12 -0700)
committerAndreas Gampe <agampe@google.com>
Thu, 17 Sep 2015 21:02:50 +0000 (14:02 -0700)
commitd5ce6a80d6795ada9f47600287706135481cbb4b
treec11e0fb978f53bba035cca795f0626ec475e6458
parent930761fb7a4db70fbd5e75faa1fca07e5b494ae9
ART: Skip image visitor in OatWriter for VerifyAtRuntime

There's no use running the visitor, and it will force-resolve all
methods. Avoid the overhead. Reduces boot image compile time in
verify-at-runtime mode from 1.25s to 1s (on the host, in -j4 mode).

Bug: 24103765
Change-Id: Icdc3be628fed0c9bda01cf5f24fe377f23c571a9
compiler/oat_writer.cc