diff options
author | Andreas Gampe <agampe@google.com> | 2016-10-17 17:40:27 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2016-10-17 17:40:27 -0700 |
commit | c02685c18904d41424942c956258a527f7b20bb0 (patch) | |
tree | e55c8b3b214ffbd9ccd0de2cf1e2eb2e9be3624a /compiler/optimizing/graph_visualizer.cc | |
parent | 38a4223fcc0493553d9ad324a1dc145869eb663a (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