diff options
| -rw-r--r-- | runtime/thread.cc | 3 | ||||
| -rw-r--r-- | runtime/thread_list.cc | 4 |
2 files changed, 0 insertions, 7 deletions
diff --git a/runtime/thread.cc b/runtime/thread.cc index f315b96356..97cfb7a30c 100644 --- a/runtime/thread.cc +++ b/runtime/thread.cc @@ -1981,9 +1981,6 @@ void Thread::DumpState(std::ostream& os, const Thread* thread, pid_t tid) { if (thread->IsStillStarting()) { os << " (still starting up)"; } - if (thread->GetDisableThreadFlipCount() != 0) { - os << " DisableFlipCount = " << thread->GetDisableThreadFlipCount(); - } os << "\n"; } else { os << '"' << ::art::GetThreadName(tid) << '"' diff --git a/runtime/thread_list.cc b/runtime/thread_list.cc index 69f88d8401..6482e72417 100644 --- a/runtime/thread_list.cc +++ b/runtime/thread_list.cc @@ -1291,10 +1291,6 @@ void ThreadList::Unregister(Thread* self) { DCHECK_EQ(self, Thread::Current()); CHECK_NE(self->GetState(), ThreadState::kRunnable); Locks::mutator_lock_->AssertNotHeld(self); - if (self->GetDisableThreadFlipCount() != 0) { - LOG(FATAL) << "Incomplete PrimitiveArrayCritical section at exit: " << *self << "count = " - << self->GetDisableThreadFlipCount(); - } VLOG(threads) << "ThreadList::Unregister() " << *self; |