diff options
author | 2015-10-01 22:08:56 +0000 | |
---|---|---|
committer | 2015-10-01 22:08:56 +0000 | |
commit | 25217af2a7cae96b32ba566aaf697288f3374c99 (patch) | |
tree | a09ae9cb725f45ad97c6b74dda36f678cfa732cd | |
parent | 506b08cbd5e44bedc32f31ea74ddcc921c98ec99 (diff) | |
parent | dabdccc816309ff29b39d13696c58c8543450739 (diff) |
Merge "Add more error printing to TransitionFromSuspendedToRunnable"
-rw-r--r-- | runtime/thread-inl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/thread-inl.h b/runtime/thread-inl.h index 8bf241b66d..b3dd2ebd80 100644 --- a/runtime/thread-inl.h +++ b/runtime/thread-inl.h @@ -191,7 +191,9 @@ inline ThreadState Thread::TransitionFromSuspendedToRunnable() { PassActiveSuspendBarriers(this); } else if ((old_state_and_flags.as_struct.flags & kCheckpointRequest) != 0) { // Impossible - LOG(FATAL) << "Fatal, wrong checkpoint flag"; + LOG(FATAL) << "Transitioning to runnable with checkpoint flag, " + << " flags=" << old_state_and_flags.as_struct.flags + << " state=" << old_state_and_flags.as_struct.state; } else if ((old_state_and_flags.as_struct.flags & kSuspendRequest) != 0) { // Wait while our suspend count is non-zero. MutexLock mu(this, *Locks::thread_suspend_count_lock_); |