Home
last modified time | relevance | path

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

/art/runtime/native/
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc61 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in DdmVmInternal_getStackTraceById() local
69 Thread* thread = thread_list->SuspendThreadByThreadId(thin_lock_id, SuspendReason::kInternal); in DdmVmInternal_getStackTraceById()
77 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in DdmVmInternal_getStackTraceById()
188 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in DdmVmInternal_getThreadStats() local
191 thread_list->ForEach(ThreadCountCallback, &thread_count); in DdmVmInternal_getThreadStats()
197 thread_list->ForEach(ThreadStatsGetterCallback, &bytes); in DdmVmInternal_getThreadStats()
Ddalvik_system_VMStack.cc51 ThreadList* thread_list = runtime->GetThreadList(); in GetThreadStack() local
52 Thread* thread = thread_list->SuspendThreadByPeer(peer, SuspendReason::kInternal); in GetThreadStack()
68 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in GetThreadStack()
Djava_lang_Thread.cc150 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in Thread_setNativeName() local
152 Thread* thread = thread_list->SuspendThreadByPeer(peer, SuspendReason::kInternal); in Thread_setNativeName()
158 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in Thread_setNativeName()
/art/runtime/gc/space/
Dbump_pointer_space.cc133 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in RevokeAllThreadLocalBuffers() local
134 for (Thread* thread : thread_list) { in RevokeAllThreadLocalBuffers()
153 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in AssertAllThreadLocalBuffersAreRevoked() local
154 for (Thread* thread : thread_list) { in AssertAllThreadLocalBuffersAreRevoked()
188 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in GetBytesAllocated() local
193 for (Thread* thread : thread_list) { in GetBytesAllocated()
206 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in GetObjectsAllocated() local
211 for (Thread* thread : thread_list) { in GetObjectsAllocated()
Dregion_space.cc934 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in RevokeAllThreadLocalBuffers() local
935 for (Thread* thread : thread_list) { in RevokeAllThreadLocalBuffers()
952 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in AssertAllThreadLocalBuffersAreRevoked() local
953 for (Thread* thread : thread_list) { in AssertAllThreadLocalBuffersAreRevoked()
/art/openjdkjvmti/
Dti_object.cc109 std::list<art::Thread*> thread_list; in GetObjectMonitorUsage() local
113 thread_list = art::Runtime::Current()->GetThreadList()->GetList(); in GetObjectMonitorUsage()
115 for (art::Thread* thd : thread_list) { in GetObjectMonitorUsage()
Dti_threadgroup.cc174 std::list<art::Thread*> thread_list = art::Runtime::Current()->GetThreadList()->GetList(); in GetThreads() local
176 std::vector<art::ThreadExitFlag> tefs(thread_list.size()); in GetThreads()
178 for (art::Thread* thd : thread_list) { in GetThreads()
184 for (art::Thread* t : thread_list) { in GetThreads()
Dti_stack.h70 const jthread* thread_list,
Dti_stack.cc521 const jthread* thread_list, in GetThreadListStackTraces() argument
534 if (thread_list == nullptr || stack_info_ptr == nullptr) { in GetThreadListStackTraces()
580 if (thread_list[i] == nullptr) { in GetThreadListStackTraces()
583 art::ObjPtr<art::mirror::Object> thread = soa.Decode<art::mirror::Object>(thread_list[i]); in GetThreadListStackTraces()
661 art::ObjPtr<art::mirror::Object> peer = soa.Decode<art::mirror::Object>(thread_list[i]); in GetThreadListStackTraces()
669 stack_info[i].thread = reinterpret_cast<JNIEnv*>(soa.Env())->NewLocalRef(thread_list[i]); in GetThreadListStackTraces()
681 new_stack_info.thread = reinterpret_cast<JNIEnv*>(soa.Env())->NewLocalRef(thread_list[i]); in GetThreadListStackTraces()
Dti_thread.cc646 std::list<art::Thread*> thread_list = art::Runtime::Current()->GetThreadList()->GetList(); in GetAllThreads() local
648 std::vector<art::ThreadExitFlag> tefs(thread_list.size()); in GetAllThreads()
650 for (art::Thread* thd : thread_list) { in GetAllThreads()
658 for (art::Thread* thread : thread_list) { in GetAllThreads()
DOpenjdkJvmTi.cc306 const jthread* thread_list, in GetThreadListStackTraces() argument
312 thread_list, in GetThreadListStackTraces()
Dti_heap.cc1779 art::ThreadList* thread_list = art::Runtime::Current()->GetThreadList(); in ReplaceStrongRoots() local
1782 art::Thread* t = thread_list->FindThreadByThreadId(id); in ReplaceStrongRoots()
/art/runtime/gc/collector/
Dconcurrent_copying.cc321 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in ActivateReadBarrierEntrypoints() local
324 const size_t barrier_count = thread_list->RunCheckpoint(&checkpoint, &callback); in ActivateReadBarrierEntrypoints()
1043 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in CaptureThreadRootsForMarking() local
1045 size_t barrier_count = thread_list->RunCheckpoint(&check_point, /* callback */ nullptr); in CaptureThreadRootsForMarking()
1714 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in ReenableWeakRefAccess() local
1715 for (Thread* thread : thread_list) { in ReenableWeakRefAccess()
1780 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in IssueDisableMarkingCheckpoint() local
1783 size_t barrier_count = thread_list->RunCheckpoint(&check_point, &dmc); in IssueDisableMarkingCheckpoint()
1815 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in IssueEmptyCheckpoint() local
1818 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()
Dmark_compact.cc1381 std::list<Thread*> thread_list = runtime->GetThreadList()->GetList(); in MarkingPause() local
1382 for (Thread* thread : thread_list) { in MarkingPause()
4375 ThreadList* thread_list = runtime->GetThreadList(); in MarkRootsCheckpoint() local
4379 size_t barrier_count = thread_list->RunCheckpoint(&check_point); in MarkRootsCheckpoint()
/art/runtime/
Dmonitor.cc689 ThreadList* const thread_list = Runtime::Current()->GetThreadList(); in FailedUnlock() local
690 Thread* expected_owner = thread_list->FindThreadByThreadId(expected_owner_thread_id); in FailedUnlock()
691 Thread* found_owner = thread_list->FindThreadByThreadId(found_owner_thread_id); in FailedUnlock()
1070 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in InflateThinLocked() local
1076 owner = thread_list->SuspendThreadByThreadId( in InflateThinLocked()
1087 bool resumed = thread_list->Resume(owner, SuspendReason::kInternal); in InflateThinLocked()
Druntime.cc615 ThreadList* thread_list = runtime->GetThreadList(); in DumpAllThreads() local
616 if (thread_list != nullptr) { in DumpAllThreads()
640 thread_list->Dump(os); in DumpAllThreads()
Dthread.cc953 bool Thread::Init(ThreadList* thread_list, JavaVMExt* java_vm, JNIEnvExt* jni_env_ext) { in Init() argument
985 tls32_.thin_lock_thread_id = thread_list->AllocThreadId(this); in Init()
1001 thread_list->Register(this); in Init()
DAndroid.bp417 "thread_list.cc",
/art/runtime/gc/allocator/
Drosalloc.cc1582 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in RevokeAllThreadLocalRuns() local
1584 for (Thread* thread : thread_list) { in RevokeAllThreadLocalRuns()
1609 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in AssertAllThreadLocalRunsAreRevoked() local
1610 for (Thread* t : thread_list) { in AssertAllThreadLocalRunsAreRevoked()
1882 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in Verify() local
1883 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.cc3440 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in RevokeAllThreadLocalAllocationStacks() local
3441 for (Thread* t : thread_list) { in RevokeAllThreadLocalAllocationStacks()