Searched refs:SuspendReason (Results 1 – 13 of 13) sorted by relevance
/art/runtime/ |
D | suspend_reason.h | 25 enum class SuspendReason { enum 35 std::ostream& operator<<(std::ostream& os, const SuspendReason& thread);
|
D | thread_list.h | 68 bool Resume(Thread* thread, SuspendReason reason = SuspendReason::kInternal) 87 SuspendReason reason, 97 Thread* SuspendThreadByThreadId(uint32_t thread_id, SuspendReason reason, bool* timed_out) 201 SuspendReason reason = SuspendReason::kInternal)
|
D | thread_list.cc | 349 bool updated = thread->ModifySuspendCount(self, +1, nullptr, SuspendReason::kInternal); in RunCheckpoint() 391 bool updated = thread->ModifySuspendCount(self, -1, nullptr, SuspendReason::kInternal); in RunCheckpoint() 571 bool updated = thread->ModifySuspendCount(self, -1, nullptr, SuspendReason::kInternal); in FlipThreadRoots() 605 bool updated = thread->ModifySuspendCount(self, -1, nullptr, SuspendReason::kInternal); in FlipThreadRoots() 676 SuspendReason reason) { in SuspendAllInternal() 706 if (reason == SuspendReason::kForDebugger) { in SuspendAllInternal() 810 bool updated = thread->ModifySuspendCount(self, -1, nullptr, SuspendReason::kInternal); in ResumeAll() 831 bool ThreadList::Resume(Thread* thread, SuspendReason reason) { in Resume() 892 SuspendReason reason, in SuspendThreadByPeer() 1012 SuspendReason reason, in SuspendThreadByThreadId() [all …]
|
D | thread-inl.h | 360 SuspendReason reason) { in ModifySuspendCount()
|
D | thread.cc | 1401 SuspendReason reason) { in ModifySuspendCountInternal() 1413 if (UNLIKELY(reason == SuspendReason::kForUserCode)) { in ModifySuspendCountInternal() 1450 case SuspendReason::kForDebugger: in ModifySuspendCountInternal() 1453 case SuspendReason::kForUserCode: in ModifySuspendCountInternal() 1456 case SuspendReason::kInternal: in ModifySuspendCountInternal() 1697 if (!ModifySuspendCount(self, +1, nullptr, SuspendReason::kInternal)) { in RequestSynchronousCheckpoint() 1724 bool updated = ModifySuspendCount(self, -1, nullptr, SuspendReason::kInternal); in RequestSynchronousCheckpoint()
|
D | monitor.cc | 1050 SuspendReason::kInternal, in InflateThinLocked() 1061 bool resumed = thread_list->Resume(owner, SuspendReason::kInternal); in InflateThinLocked()
|
D | thread.h | 270 SuspendReason reason) 1399 SuspendReason reason)
|
D | debugger.cc | 2481 SuspendReason::kForDebugger, in SuspendThread() 2512 bool resumed = Runtime::Current()->GetThreadList()->Resume(thread, SuspendReason::kForDebugger); in ResumeThread() 3655 SuspendReason::kForDebugger, in ScopedDebuggerThreadSuspension() 3680 SuspendReason::kForDebugger); in ~ScopedDebuggerThreadSuspension() 3983 bool resumed = thread_list->Resume(targetThread, SuspendReason::kForDebugger); in PrepareInvokeMethod()
|
/art/runtime/native/ |
D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 75 SuspendReason::kInternal, in DdmVmInternal_getStackTraceById() 84 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in DdmVmInternal_getStackTraceById()
|
D | dalvik_system_VMStack.cc | 63 SuspendReason::kInternal, in GetThreadStack() 72 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in GetThreadStack()
|
D | java_lang_Thread.cc | 152 SuspendReason::kInternal, in Thread_setNativeName() 159 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in Thread_setNativeName()
|
/art/openjdkjvm/ |
D | OpenjdkJvm.cc | 424 art::SuspendReason::kInternal, in JVM_SetNativeThreadName() 432 bool resumed = thread_list->Resume(thread, art::SuspendReason::kInternal); in JVM_SetNativeThreadName()
|
/art/openjdkjvmti/ |
D | ti_thread.cc | 899 art::SuspendReason::kForUserCode, in SuspendOther() 924 if (!self->ModifySuspendCount(self, +1, nullptr, art::SuspendReason::kForUserCode)) { in SuspendSelf() 995 art::SuspendReason::kForUserCode)) { in ResumeThread()
|