summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2016-10-17 17:40:27 -0700
committerAndreas Gampe <agampe@google.com>2016-10-17 17:40:27 -0700
commitc02685c18904d41424942c956258a527f7b20bb0 (patch)
treee55c8b3b214ffbd9ccd0de2cf1e2eb2e9be3624a /compiler/optimizing/graph_visualizer.cc
parent38a4223fcc0493553d9ad324a1dc145869eb663a (diff)
ART: Fix lock order issue in allocation tracking
(Un)instrumenting requires the instrumenting lock, which must be acquired before the mutator lock. As the plugin can be called both with and without the lock held, be careful. For simplicity, acquire the lock (potentially) and immediately suspend. Bug: 31684277 Test: m test-art-host Change-Id: Ia6cee2cbe90f13f5543bdfea815d469b28a0f8f4
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions