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 : char { enum
33 std::ostream& operator<<(std::ostream& os, SuspendReason thread);
Dthread_list.h70 bool Resume(Thread* thread, SuspendReason reason = SuspendReason::kInternal)
89 SuspendReason reason,
99 Thread* SuspendThreadByThreadId(uint32_t thread_id, SuspendReason reason, bool* timed_out)
205 SuspendReason reason = SuspendReason::kInternal)
Dthread_list.cc343 thread->ModifySuspendCount(self, -1, nullptr, SuspendReason::kInternal); in RunCheckpoint()
356 thread->ModifySuspendCount(self, +1, nullptr, SuspendReason::kInternal); in RunCheckpoint()
392 bool updated = thread->ModifySuspendCount(self, -1, nullptr, SuspendReason::kInternal); in RunCheckpoint()
572 bool updated = thread->ModifySuspendCount(self, -1, nullptr, SuspendReason::kInternal); in FlipThreadRoots()
606 bool updated = thread->ModifySuspendCount(self, -1, nullptr, SuspendReason::kInternal); in FlipThreadRoots()
674 SuspendReason reason) { in SuspendAllInternal()
805 bool updated = thread->ModifySuspendCount(self, -1, nullptr, SuspendReason::kInternal); in ResumeAll()
826 bool ThreadList::Resume(Thread* thread, SuspendReason reason) { in Resume()
887 SuspendReason reason, in SuspendThreadByPeer()
1007 SuspendReason reason, in SuspendThreadByThreadId()
[all …]
Dthread-inl.h362 SuspendReason reason) { in ModifySuspendCount()
Dthread.h99 enum class SuspendReason : char;
278 SuspendReason reason)
1450 SuspendReason reason)
Dthread.cc1413 SuspendReason reason) { in ModifySuspendCountInternal()
1424 if (UNLIKELY(reason == SuspendReason::kForUserCode)) { in ModifySuspendCountInternal()
1461 case SuspendReason::kForUserCode: in ModifySuspendCountInternal()
1464 case SuspendReason::kInternal: in ModifySuspendCountInternal()
1705 if (!ModifySuspendCount(self, +1, nullptr, SuspendReason::kInternal)) { in RequestSynchronousCheckpoint()
1732 bool updated = ModifySuspendCount(self, -1, nullptr, SuspendReason::kInternal); in RequestSynchronousCheckpoint()
Dmonitor.cc1066 SuspendReason::kInternal, in InflateThinLocked()
1077 bool resumed = thread_list->Resume(owner, SuspendReason::kInternal); in InflateThinLocked()
/art/test/2011-stack-walk-concurrent-instrument/
Dstack_walk_concurrent.cc84 target, true, SuspendReason::kInternal, &timed_out); in Java_Main_waitAndDeopt()
90 …bool updated = other->ModifySuspendCount(Thread::Current(), -1, nullptr, SuspendReason::kInternal); in Java_Main_waitAndDeopt()
/art/runtime/native/
Ddalvik_system_VMStack.cc63 SuspendReason::kInternal, in GetThreadStack()
72 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in GetThreadStack()
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc76 SuspendReason::kInternal, in DdmVmInternal_getStackTraceById()
85 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in DdmVmInternal_getStackTraceById()
Djava_lang_Thread.cc159 SuspendReason::kInternal, in Thread_setNativeName()
166 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in Thread_setNativeName()
/art/openjdkjvm/
DOpenjdkJvm.cc426 art::SuspendReason::kInternal, in JVM_SetNativeThreadName()
434 bool resumed = thread_list->Resume(thread, art::SuspendReason::kInternal); in JVM_SetNativeThreadName()
/art/openjdkjvmti/
Dti_thread.cc902 art::SuspendReason::kForUserCode, in SuspendOther()
927 if (!self->ModifySuspendCount(self, +1, nullptr, art::SuspendReason::kForUserCode)) { in SuspendSelf()
998 art::SuspendReason::kForUserCode)) { in ResumeThread()