Home
last modified time | relevance | path

Searched refs:SuspendReason (Results 1 – 12 of 12) sorted by relevance

/art/runtime/
Dsuspend_reason.h27 enum class SuspendReason : char { enum
35 std::ostream& operator<<(std::ostream& os, SuspendReason thread);
Dthread_list.h76 EXPORT bool Resume(Thread* thread, SuspendReason reason = SuspendReason::kInternal)
90 EXPORT Thread* SuspendThreadByPeer(jobject peer, SuspendReason reason)
101 Thread* SuspendThreadByThreadId(uint32_t thread_id, SuspendReason reason, int attempt_of_4 = 0)
254 SuspendReason reason,
260 void SuspendAllInternal(Thread* self, SuspendReason reason = SuspendReason::kInternal)
Dthread_list.cc830 void ThreadList::SuspendAllInternal(Thread* self, SuspendReason reason) { in SuspendAllInternal()
1012 bool ThreadList::Resume(Thread* thread, SuspendReason reason) { in Resume()
1026 LOG(reason == SuspendReason::kForUserCode ? ERROR : FATAL) in Resume()
1033 LOG(reason == SuspendReason::kForUserCode ? ERROR : FATAL) in Resume()
1037 thread->DecrementSuspendCount(self, /*for_user_code=*/(reason == SuspendReason::kForUserCode)); in Resume()
1047 SuspendReason reason, in SuspendThread()
1142 /*for_user_code=*/(reason == SuspendReason::kForUserCode)); in SuspendThread()
1196 Thread* ThreadList::SuspendThreadByPeer(jobject peer, SuspendReason reason) { in SuspendThreadByPeer()
1225 SuspendReason reason, in SuspendThreadByThreadId()
Dthread-inl.h506 SuspendReason reason) { in IncrementSuspendCount()
513 if (UNLIKELY(reason == SuspendReason::kForUserCode)) { in IncrementSuspendCount()
529 if (reason == SuspendReason::kForUserCode) { in IncrementSuspendCount()
539 IncrementSuspendCount(self, nullptr, nullptr, SuspendReason::kInternal); in IncrementSuspendCount()
Dmonitor.cc1077 owner_thread_id, SuspendReason::kInternal, attempt_of_4); in InflateThinLocked()
1087 bool resumed = thread_list->Resume(owner, SuspendReason::kInternal); in InflateThinLocked()
Dthread.h394 SuspendReason reason) REQUIRES(Locks::thread_suspend_count_lock_)
Dthread.cc1720 IncrementSuspendCount(self, nullptr, &wrapped_barrier, SuspendReason::kInternal); in RequestSynchronousCheckpoint()
/art/test/2011-stack-walk-concurrent-instrument/
Dstack_walk_concurrent.cc85 target, SuspendReason::kInternal); in Java_Main_waitAndInstrumentStack()
90 bool resumed = art::Runtime::Current()->GetThreadList()->Resume(other, SuspendReason::kInternal); in Java_Main_waitAndInstrumentStack()
/art/runtime/native/
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc69 Thread* thread = thread_list->SuspendThreadByThreadId(thin_lock_id, SuspendReason::kInternal); in DdmVmInternal_getStackTraceById()
77 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in DdmVmInternal_getStackTraceById()
Ddalvik_system_VMStack.cc52 Thread* thread = thread_list->SuspendThreadByPeer(peer, SuspendReason::kInternal); in GetThreadStack()
68 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in GetThreadStack()
Djava_lang_Thread.cc152 Thread* thread = thread_list->SuspendThreadByPeer(peer, SuspendReason::kInternal); in Thread_setNativeName()
158 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in Thread_setNativeName()
/art/openjdkjvmti/
Dti_thread.cc918 target_jthread, art::SuspendReason::kForUserCode); in SuspendOther()
943 self->IncrementSuspendCount(self, nullptr, nullptr, art::SuspendReason::kForUserCode); in SuspendSelf()
1011 art::SuspendReason::kForUserCode)) { in ResumeThread()