summaryrefslogtreecommitdiffstats
path: root/runtime/debugger.cc
diff options
context:
space:
mode:
authorHiroshi Yamauchi <yamauchi@google.com>2015-01-16 16:54:35 -0800
committerHiroshi Yamauchi <yamauchi@google.com>2015-01-20 12:40:59 -0800
commit0c8c303c20cdaaf54d26e45cc17dc5afb820d8ef (patch)
treed3289457acd74e6aa3296bbeef1f8a7619537eec /runtime/debugger.cc
parent97d9f286971a4c1eec70e08f9f18f990d21780d5 (diff)
downloadart-0c8c303c20cdaaf54d26e45cc17dc5afb820d8ef.tar.gz
art-0c8c303c20cdaaf54d26e45cc17dc5afb820d8ef.tar.bz2
art-0c8c303c20cdaaf54d26e45cc17dc5afb820d8ef.zip
Clean up the locks around Heap::VisitObjects().
This is so that we could support suspending all threads when visiting objects in the presence of a concurrent, moving collector. Bug: 12687968 Change-Id: Icc8e60630465afde948ebc6ea91d4ebaff5d7837
Diffstat (limited to 'runtime/debugger.cc')
-rw-r--r--runtime/debugger.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/debugger.cc b/runtime/debugger.cc
index c595de738c..c63e2d735e 100644
--- a/runtime/debugger.cc
+++ b/runtime/debugger.cc
@@ -2194,6 +2194,7 @@ JDWP::JdwpThreadStatus Dbg::ToJdwpThreadStatus(ThreadState state) {
case kWaitingForJniOnLoad:
case kWaitingForMethodTracingStart:
case kWaitingForSignalCatcherOutput:
+ case kWaitingForVisitObjects:
case kWaitingInMainDebuggerLoop:
case kWaitingInMainSignalCatcherLoop:
case kWaitingPerformingGc: