Searched refs:SuspendReason (Results 1 – 12 of 12) sorted by relevance
/art/runtime/ |
D | suspend_reason.h | 27 enum class SuspendReason : char { enum 35 std::ostream& operator<<(std::ostream& os, SuspendReason thread);
|
D | thread_list.h | 76 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)
|
D | thread_list.cc | 830 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()
|
D | thread-inl.h | 506 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()
|
D | monitor.cc | 1077 owner_thread_id, SuspendReason::kInternal, attempt_of_4); in InflateThinLocked() 1087 bool resumed = thread_list->Resume(owner, SuspendReason::kInternal); in InflateThinLocked()
|
D | thread.h | 394 SuspendReason reason) REQUIRES(Locks::thread_suspend_count_lock_)
|
D | thread.cc | 1720 IncrementSuspendCount(self, nullptr, &wrapped_barrier, SuspendReason::kInternal); in RequestSynchronousCheckpoint()
|
/art/test/2011-stack-walk-concurrent-instrument/ |
D | stack_walk_concurrent.cc | 85 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/ |
D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 69 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()
|
D | dalvik_system_VMStack.cc | 52 Thread* thread = thread_list->SuspendThreadByPeer(peer, SuspendReason::kInternal); in GetThreadStack() 68 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in GetThreadStack()
|
D | java_lang_Thread.cc | 152 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/ |
D | ti_thread.cc | 918 target_jthread, art::SuspendReason::kForUserCode); in SuspendOther() 943 self->IncrementSuspendCount(self, nullptr, nullptr, art::SuspendReason::kForUserCode); in SuspendSelf() 1011 art::SuspendReason::kForUserCode)) { in ResumeThread()
|