Home
last modified time | relevance | path

Searched refs:thread_list (Results 1 – 17 of 17) sorted by relevance

/art/runtime/native/
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc65 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in DdmVmInternal_getStackTraceById() local
74 Thread* thread = thread_list->SuspendThreadByThreadId(thin_lock_id, in DdmVmInternal_getStackTraceById()
84 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in DdmVmInternal_getStackTraceById()
146 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in DdmVmInternal_getThreadStats() local
149 thread_list->ForEach(ThreadCountCallback, &thread_count); in DdmVmInternal_getThreadStats()
155 thread_list->ForEach(ThreadStatsGetterCallback, &bytes); in DdmVmInternal_getThreadStats()
Ddalvik_system_VMStack.cc59 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in GetThreadStack() local
61 Thread* thread = thread_list->SuspendThreadByPeer(peer, in GetThreadStack()
72 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in GetThreadStack()
Djava_lang_Thread.cc147 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in Thread_setNativeName() local
150 Thread* thread = thread_list->SuspendThreadByPeer(peer, in Thread_setNativeName()
159 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in Thread_setNativeName()
/art/runtime/gc/space/
Dbump_pointer_space.cc116 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in RevokeAllThreadLocalBuffers() local
117 for (Thread* thread : thread_list) { in RevokeAllThreadLocalBuffers()
136 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in AssertAllThreadLocalBuffersAreRevoked() local
137 for (Thread* thread : thread_list) { in AssertAllThreadLocalBuffersAreRevoked()
176 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in GetBytesAllocated() local
181 for (Thread* thread : thread_list) { in GetBytesAllocated()
194 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in GetObjectsAllocated() local
199 for (Thread* thread : thread_list) { in GetObjectsAllocated()
Dregion_space.cc878 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in RevokeAllThreadLocalBuffers() local
879 for (Thread* thread : thread_list) { in RevokeAllThreadLocalBuffers()
896 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in AssertAllThreadLocalBuffersAreRevoked() local
897 for (Thread* thread : thread_list) { in AssertAllThreadLocalBuffersAreRevoked()
/art/openjdkjvmti/
Dti_stack.h69 const jthread* thread_list,
Dti_stack.cc500 const jthread* thread_list, in GetThreadListStackTraces() argument
513 if (thread_list == nullptr || stack_info_ptr == nullptr) { in GetThreadListStackTraces()
561 if (thread_list[i] == nullptr) { in GetThreadListStackTraces()
564 if (!soa.Env()->IsInstanceOf(thread_list[i], art::WellKnownClasses::java_lang_Thread)) { in GetThreadListStackTraces()
567 data.handles.push_back(hs.NewHandle(soa.Decode<art::mirror::Object>(thread_list[i]))); in GetThreadListStackTraces()
643 art::ObjPtr<art::mirror::Object> peer = soa.Decode<art::mirror::Object>(thread_list[i]); in GetThreadListStackTraces()
651 stack_info[i].thread = reinterpret_cast<JNIEnv*>(soa.Env())->NewLocalRef(thread_list[i]); in GetThreadListStackTraces()
663 new_stack_info.thread = reinterpret_cast<JNIEnv*>(soa.Env())->NewLocalRef(thread_list[i]); in GetThreadListStackTraces()
Dti_thread.cc639 std::list<art::Thread*> thread_list = art::Runtime::Current()->GetThreadList()->GetList(); in GetAllThreads() local
643 for (art::Thread* thread : thread_list) { in GetAllThreads()
DOpenjdkJvmTi.cc310 const jthread* thread_list, in GetThreadListStackTraces() argument
316 thread_list, in GetThreadListStackTraces()
/art/openjdkjvm/
DOpenjdkJvm.cc417 art::ThreadList* thread_list = art::Runtime::Current()->GetThreadList(); in JVM_SetNativeThreadName() local
422 thread = thread_list->SuspendThreadByPeer(jthread, in JVM_SetNativeThreadName()
432 bool resumed = thread_list->Resume(thread, art::SuspendReason::kInternal); in JVM_SetNativeThreadName()
/art/runtime/
Dmonitor.cc644 ThreadList* const thread_list = Runtime::Current()->GetThreadList(); in FailedUnlock() local
645 Thread* expected_owner = thread_list->FindThreadByThreadId(expected_owner_thread_id); in FailedUnlock()
646 Thread* found_owner = thread_list->FindThreadByThreadId(found_owner_thread_id); in FailedUnlock()
1042 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in InflateThinLocked() local
1049 owner = thread_list->SuspendThreadByThreadId(owner_thread_id, in InflateThinLocked()
1061 bool resumed = thread_list->Resume(owner, SuspendReason::kInternal); in InflateThinLocked()
Ddebugger.cc2478 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in SuspendThread() local
2479 Thread* thread = thread_list->SuspendThreadByPeer(peer.get(), in SuspendThread()
3652 ThreadList* const thread_list = Runtime::Current()->GetThreadList(); in ScopedDebuggerThreadSuspension() local
3653 suspended_thread = thread_list->SuspendThreadByPeer(thread_peer, in ScopedDebuggerThreadSuspension()
3846 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in PrepareInvokeMethod() local
3980 thread_list->UndoDebuggerSuspensions(); in PrepareInvokeMethod()
3983 bool resumed = thread_list->Resume(targetThread, SuspendReason::kForDebugger); in PrepareInvokeMethod()
DAndroid.bp199 "thread_list.cc",
/art/runtime/gc/allocator/
Drosalloc.cc1588 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in RevokeAllThreadLocalRuns() local
1590 for (Thread* thread : thread_list) { in RevokeAllThreadLocalRuns()
1615 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in AssertAllThreadLocalRunsAreRevoked() local
1616 for (Thread* t : thread_list) { in AssertAllThreadLocalRunsAreRevoked()
1886 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in Verify() local
1887 for (auto it = thread_list.begin(); it != thread_list.end(); ++it) { in Verify()
/art/openjdkjvmti/include/
Djvmti.h1522 const jthread* thread_list,
1915 const jthread* thread_list, in GetThreadListStackTraces()
1918 …return functions->GetThreadListStackTraces(this, thread_count, thread_list, max_frame_count, stack… in GetThreadListStackTraces()
/art/runtime/gc/collector/
Dmark_sweep.cc1187 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in MarkRootsCheckpoint() local
1190 size_t barrier_count = thread_list->RunCheckpoint(&check_point); in MarkRootsCheckpoint()
/art/runtime/gc/
Dheap.cc3326 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in RevokeAllThreadLocalAllocationStacks() local
3327 for (Thread* t : thread_list) { in RevokeAllThreadLocalAllocationStacks()