summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2016-06-10 17:04:20 -0700
committerMathieu Chartier <mathieuc@google.com>2016-06-10 17:52:36 -0700
commite99f53203904c23a26e53ca1bf6a4e45814146fe (patch)
tree88142212532717ef4e2435420493eeab02d1eb11 /compiler/optimizing/graph_visualizer.cc
parent4811e726711e42781e7b9d56763588cef796e2f0 (diff)
Use ScopedObjectAccess in ThreadList::Dump
Prevent deadlocks if two different threads are calling Dump at the same time: Thread 1: Requests thread 2 to suspend Thread 2: Requests thread 1 to suspend Both threads are suspended and blocked on ScopedObjectAccess in thread dumping. Added to suspend all stress, reduced thread count to 4 temporarily since this is the maximum number of simultaneous checkpoints. Bug: 28988206 Change-Id: I9e4b8391ebad0bca0e42a03819c58c99ddba6b35
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions