OSDN Git Service

ART: Better handle multiple event enables
authorAndreas Gampe <agampe@google.com>
Tue, 18 Oct 2016 00:49:59 +0000 (17:49 -0700)
committerAndreas Gampe <agampe@google.com>
Tue, 18 Oct 2016 00:49:59 +0000 (17:49 -0700)
commit8b862ffa7ea7374e48329ae090c68c06a8c885bb
tree521fe654c0ee0e336cb38c8b76fa1f675fcf9164
parent11a66e40891234c4e54fb4c4e37f45f1651af770
ART: Better handle multiple event enables

Only do extra work like allocation listener registration when the
global state changes.

Bug: 31684920
Test: m test-art-host
Change-Id: Id927f2b504e02f2d68bc6e4af2658a6017920d8a
runtime/openjdkjvmti/events.cc