summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorSebastien Hertz <shertz@google.com>2017-04-14 14:18:36 +0200
committerSebastien Hertz <shertz@google.com>2017-04-14 14:22:18 +0200
commit70d60275cc2860bde50e5f9c5b151e94f745ae14 (patch)
treeafc785bedfa86320cce7a1d3c4578ae9763f076f /compiler/optimizing/graph_visualizer.cc
parentc1be9f2b776b4900e0603013f7c4d84e534f0bb0 (diff)
JDWP: fix Dbg::ResumeThread
A thread should be resumed if and only if it has been suspended by the debugger. Therefore, we must check the debug suspend count, not the suspend count (which includes debug suspend count). Otherwise we could end up resuming a thread that has been suspended for another reason (like a GC) but not by the debugger itself. Bug: 27385848 Test: art/tools/run-jdwp-tests.sh --mode=host --variant=X64 Change-Id: I70ed6dfc233501e92332634650babf21ba911048
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions