diff options
Diffstat (limited to 'runtime/thread_list.cc')
-rw-r--r-- | runtime/thread_list.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/runtime/thread_list.cc b/runtime/thread_list.cc index 08e66ea..ec5b775 100644 --- a/runtime/thread_list.cc +++ b/runtime/thread_list.cc @@ -728,11 +728,14 @@ void ThreadList::SuspendSelfForDebugger() { Thread::resume_cond_->Wait(self); if (self->GetSuspendCount() != 0) { // The condition was signaled but we're still suspended. This - // can happen if the debugger lets go while a SIGQUIT thread + // can happen when we suspend then resume all threads to + // update instrumentation or compute monitor info. This can + // also happen if the debugger lets go while a SIGQUIT thread // dump event is pending (assuming SignalCatcher was resumed for // just long enough to try to grab the thread-suspend lock). - LOG(WARNING) << *self << " still suspended after undo " - << "(suspend count=" << self->GetSuspendCount() << ")"; + VLOG(jdwp) << *self << " still suspended after undo " + << "(suspend count=" << self->GetSuspendCount() << ", " + << "debug suspend count=" << self->GetDebugSuspendCount() << ")"; } } CHECK_EQ(self->GetSuspendCount(), 0); |