OSDN Git Service

ART: Do a pre-pass for monitor_enter dex pc search
authorAndreas Gampe <agampe@google.com>
Thu, 18 Sep 2014 20:16:38 +0000 (13:16 -0700)
committerAndreas Gampe <agampe@google.com>
Mon, 29 Sep 2014 15:12:44 +0000 (08:12 -0700)
commitcb3c08fe9c733e477776dcc0d0fa5a3cf0053aa7
tree518abbf5fa2dc8488ddb7f31b7941d41dc00f002
parentc70535b4f9f1ff3e3da451734bb7d9601012ccc1
ART: Do a pre-pass for monitor_enter dex pc search

In case the method does not have any monitor_enter instructions,
it is unnecessary to run the full verifier. Speeds up stack dumps
and works around b/17514582.

Bug: 17514582
Change-Id: I5201bfbb9fb6cad49596b4c72e71983b58d9f20c
runtime/verifier/method_verifier.cc