diff options
author | Mathieu Chartier <mathieuc@google.com> | 2017-01-12 14:51:44 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2017-01-12 15:15:51 -0800 |
commit | 4201cf014cfe00c145edc0b32bf30b1ceaf1495f (patch) | |
tree | 086c5df83832b6d80864a294503b6dc6025f270c /compiler/optimizing/graph_visualizer.cc | |
parent | 9e68f5043323eaf4543ebf3b6f496145d8ae77a2 (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