Home
last modified time | relevance | path

Searched refs:tef (Results 1 – 6 of 6) sorted by relevance

/art/runtime/
Dthread-inl.h595 inline void Thread::NotifyOnThreadExit(ThreadExitFlag* tef) { in NotifyOnThreadExit() argument
596 DCHECK_EQ(tef->exited_, false); in NotifyOnThreadExit()
598 tef->next_ = tlsPtr_.thread_exit_flags; in NotifyOnThreadExit()
599 tlsPtr_.thread_exit_flags = tef; in NotifyOnThreadExit()
600 if (tef->next_ != nullptr) { in NotifyOnThreadExit()
601 DCHECK(!tef->next_->HasExited()); in NotifyOnThreadExit()
602 tef->next_->prev_ = tef; in NotifyOnThreadExit()
604 tef->prev_ = nullptr; in NotifyOnThreadExit()
607 inline void Thread::UnregisterThreadExitFlag(ThreadExitFlag* tef) { in UnregisterThreadExitFlag() argument
608 if (tef->HasExited()) { in UnregisterThreadExitFlag()
[all …]
Dthread.h459 void WaitForFlipFunctionTestingExited(Thread* self, ThreadExitFlag* tef)
618 mirror::Object* LockedGetPeerFromOtherThread(ThreadExitFlag* tef)
628 ThreadExitFlag tef; in LockedGetPeerFromOtherThread() local
629 NotifyOnThreadExit(&tef); in LockedGetPeerFromOtherThread()
630 mirror::Object* result = LockedGetPeerFromOtherThread(&tef); in LockedGetPeerFromOtherThread()
631 UnregisterThreadExitFlag(&tef); in LockedGetPeerFromOtherThread()
767 void NotifyOnThreadExit(ThreadExitFlag* tef) REQUIRES(Locks::thread_list_lock_);
768 void UnregisterThreadExitFlag(ThreadExitFlag* tef) REQUIRES(Locks::thread_list_lock_);
1938 ThreadExitFlag* tef = nullptr,
Dthread.cc1793 ThreadExitFlag* tef, in EnsureFlipFunctionStarted() argument
1798 bool check_exited = (tef != nullptr); in EnsureFlipFunctionStarted()
1817 if (tef->HasExited()) { in EnsureFlipFunctionStarted()
1835 DCHECK(!check_exited || (Locks::thread_list_lock_->IsExclusiveHeld(self) && !tef->HasExited())); in EnsureFlipFunctionStarted()
1915 void Thread::WaitForFlipFunctionTestingExited(Thread* self, ThreadExitFlag* tef) { in WaitForFlipFunctionTestingExited() argument
1917 if (tef->HasExited()) { in WaitForFlipFunctionTestingExited()
1936 if (tef->HasExited()) { in WaitForFlipFunctionTestingExited()
2487 for (ThreadExitFlag* tef = tlsPtr_.thread_exit_flags; tef != nullptr; tef = next) { in SignalExitFlags() local
2488 DCHECK(!tef->exited_); in SignalExitFlags()
2489 tef->exited_ = true; in SignalExitFlags()
[all …]
Dthread_list.cc1058 ThreadExitFlag tef; in SuspendThread() local
1060 thread->NotifyOnThreadExit(&tef); in SuspendThread()
1107 exited = tef.HasExited(); in SuspendThread()
1109 thread->UnregisterThreadExitFlag(&tef); in SuspendThread()
/art/openjdkjvmti/
Dti_threadgroup.cc185 art::ThreadExitFlag* tef = &*i++; in GetThreads() local
186 art::ObjPtr<art::mirror::Object> peer = t->LockedGetPeerFromOtherThread(tef); in GetThreads()
187 if (peer != nullptr && !tef->HasExited() && !t->IsStillStarting() && in GetThreads()
191 t->UnregisterThreadExitFlag(tef); in GetThreads()
Dti_thread.cc659 art::ThreadExitFlag* tef = &*i++; in GetAllThreads() local
661 if (!tef->HasExited() && !thread->IsStillStarting()) { in GetAllThreads()
663 art::ObjPtr<art::mirror::Object> peer = thread->LockedGetPeerFromOtherThread(tef); in GetAllThreads()
668 thread->UnregisterThreadExitFlag(tef); in GetAllThreads()