Home
last modified time | relevance | path

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

/art/runtime/
Dsuspend_reason.h25 enum class SuspendReason { enum
35 std::ostream& operator<<(std::ostream& os, const SuspendReason& thread);
Dthread_list.h68 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)
Dthread_list.cc349 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 …]
Dthread-inl.h360 SuspendReason reason) { in ModifySuspendCount()
Dthread.cc1401 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()
Dmonitor.cc1050 SuspendReason::kInternal, in InflateThinLocked()
1061 bool resumed = thread_list->Resume(owner, SuspendReason::kInternal); in InflateThinLocked()
Dthread.h270 SuspendReason reason)
1399 SuspendReason reason)
Ddebugger.cc2481 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/
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc75 SuspendReason::kInternal, in DdmVmInternal_getStackTraceById()
84 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in DdmVmInternal_getStackTraceById()
Ddalvik_system_VMStack.cc63 SuspendReason::kInternal, in GetThreadStack()
72 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in GetThreadStack()
Djava_lang_Thread.cc152 SuspendReason::kInternal, in Thread_setNativeName()
159 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in Thread_setNativeName()
/art/openjdkjvm/
DOpenjdkJvm.cc424 art::SuspendReason::kInternal, in JVM_SetNativeThreadName()
432 bool resumed = thread_list->Resume(thread, art::SuspendReason::kInternal); in JVM_SetNativeThreadName()
/art/openjdkjvmti/
Dti_thread.cc899 art::SuspendReason::kForUserCode, in SuspendOther()
924 if (!self->ModifySuspendCount(self, +1, nullptr, art::SuspendReason::kForUserCode)) { in SuspendSelf()
995 art::SuspendReason::kForUserCode)) { in ResumeThread()