summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2017-01-12 14:51:44 -0800
committerMathieu Chartier <mathieuc@google.com>2017-01-12 15:15:51 -0800
commit4201cf014cfe00c145edc0b32bf30b1ceaf1495f (patch)
tree086c5df83832b6d80864a294503b6dc6025f270c /compiler/optimizing/graph_visualizer.cc
parent9e68f5043323eaf4543ebf3b6f496145d8ae77a2 (diff)
Avoid suspending heap task thread for getting stack traces
Instead of suspending the heap task thread, GetThreadStack (called by VMStack_fillStackTraceElements and VMStack_getThreadStackTrace) will return an empty thread stack. This fixes possible deadlocks caused by suspending the GC thread and doing allocations for the stack trace. Bug: 28261069 Test: test-art-host Change-Id: I45a0b8ac94a99d6bbcfcdc2b41afadf941ec0138
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions