Home
last modified time | relevance | path

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

/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.cc922 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in RevokeAllThreadLocalBuffers() local
923 for (Thread* thread : thread_list) { in RevokeAllThreadLocalBuffers()
940 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in AssertAllThreadLocalBuffersAreRevoked() local
941 for (Thread* thread : thread_list) { in AssertAllThreadLocalBuffersAreRevoked()
/art/runtime/native/
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc66 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in DdmVmInternal_getStackTraceById() local
75 Thread* thread = thread_list->SuspendThreadByThreadId(thin_lock_id, in DdmVmInternal_getStackTraceById()
85 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in DdmVmInternal_getStackTraceById()
198 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in DdmVmInternal_getThreadStats() local
201 thread_list->ForEach(ThreadCountCallback, &thread_count); in DdmVmInternal_getThreadStats()
207 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.cc154 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in Thread_setNativeName() local
157 Thread* thread = thread_list->SuspendThreadByPeer(peer, in Thread_setNativeName()
166 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in Thread_setNativeName()
/art/openjdkjvmti/
Dti_stack.h70 const jthread* thread_list,
Dti_stack.cc517 const jthread* thread_list, in GetThreadListStackTraces() argument
530 if (thread_list == nullptr || stack_info_ptr == nullptr) { in GetThreadListStackTraces()
578 if (thread_list[i] == nullptr) { in GetThreadListStackTraces()
581 if (!soa.Env()->IsInstanceOf(thread_list[i], art::WellKnownClasses::java_lang_Thread)) { in GetThreadListStackTraces()
584 data.handles.push_back(hs.NewHandle(soa.Decode<art::mirror::Object>(thread_list[i]))); in GetThreadListStackTraces()
660 art::ObjPtr<art::mirror::Object> peer = soa.Decode<art::mirror::Object>(thread_list[i]); in GetThreadListStackTraces()
668 stack_info[i].thread = reinterpret_cast<JNIEnv*>(soa.Env())->NewLocalRef(thread_list[i]); in GetThreadListStackTraces()
680 new_stack_info.thread = reinterpret_cast<JNIEnv*>(soa.Env())->NewLocalRef(thread_list[i]); in GetThreadListStackTraces()
Dti_thread.cc642 std::list<art::Thread*> thread_list = art::Runtime::Current()->GetThreadList()->GetList(); in GetAllThreads() local
646 for (art::Thread* thread : thread_list) { in GetAllThreads()
DOpenjdkJvmTi.cc312 const jthread* thread_list, in GetThreadListStackTraces() argument
318 thread_list, in GetThreadListStackTraces()
Dti_heap.cc1774 art::ThreadList* thread_list = art::Runtime::Current()->GetThreadList(); in ReplaceStrongRoots() local
1777 art::Thread* t = thread_list->FindThreadByThreadId(id); in ReplaceStrongRoots()
/art/openjdkjvm/
DOpenjdkJvm.cc419 art::ThreadList* thread_list = art::Runtime::Current()->GetThreadList(); in JVM_SetNativeThreadName() local
424 thread = thread_list->SuspendThreadByPeer(jthread, in JVM_SetNativeThreadName()
434 bool resumed = thread_list->Resume(thread, art::SuspendReason::kInternal); in JVM_SetNativeThreadName()
/art/runtime/
Dmonitor.cc684 ThreadList* const thread_list = Runtime::Current()->GetThreadList(); in FailedUnlock() local
685 Thread* expected_owner = thread_list->FindThreadByThreadId(expected_owner_thread_id); in FailedUnlock()
686 Thread* found_owner = thread_list->FindThreadByThreadId(found_owner_thread_id); in FailedUnlock()
1058 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in InflateThinLocked() local
1065 owner = thread_list->SuspendThreadByThreadId(owner_thread_id, in InflateThinLocked()
1077 bool resumed = thread_list->Resume(owner, SuspendReason::kInternal); in InflateThinLocked()
Druntime.cc564 ThreadList* thread_list = runtime->GetThreadList(); in DumpAllThreads() local
565 if (thread_list != nullptr) { in DumpAllThreads()
589 thread_list->Dump(os); in DumpAllThreads()
DAndroid.bp240 "thread_list.cc",
Dthread.cc918 bool Thread::Init(ThreadList* thread_list, JavaVMExt* java_vm, JNIEnvExt* jni_env_ext) { in Init() argument
954 tls32_.thin_lock_thread_id = thread_list->AllocThreadId(this); in Init()
970 thread_list->Register(this); in Init()
/art/runtime/gc/collector/
Dconcurrent_copying.cc280 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in ActivateReadBarrierEntrypoints() local
283 const size_t barrier_count = thread_list->RunCheckpoint(&checkpoint, &callback); in ActivateReadBarrierEntrypoints()
1017 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in CaptureThreadRootsForMarking() local
1019 size_t barrier_count = thread_list->RunCheckpoint(&check_point, /* callback */ nullptr); in CaptureThreadRootsForMarking()
1646 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in ReenableWeakRefAccess() local
1647 for (Thread* thread : thread_list) { in ReenableWeakRefAccess()
1706 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in IssueDisableMarkingCheckpoint() local
1709 size_t barrier_count = thread_list->RunCheckpoint(&check_point, &dmc); in IssueDisableMarkingCheckpoint()
1739 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in IssueEmptyCheckpoint() local
1742 thread_list->RunEmptyCheckpoint(); in IssueEmptyCheckpoint()
[all …]
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/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/
Dheap.cc3208 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in RevokeAllThreadLocalAllocationStacks() local
3209 for (Thread* t : thread_list) { in RevokeAllThreadLocalAllocationStacks()