Home
last modified time | relevance | path

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

/art/runtime/native/
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc61 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in DdmVmInternal_getStackTraceById() local
70 Thread* thread = thread_list->SuspendThreadByThreadId(thin_lock_id, in DdmVmInternal_getStackTraceById()
80 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in DdmVmInternal_getStackTraceById()
195 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in DdmVmInternal_getThreadStats() local
198 thread_list->ForEach(ThreadCountCallback, &thread_count); in DdmVmInternal_getThreadStats()
204 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()
71 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in GetThreadStack()
Djava_lang_Thread.cc149 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in Thread_setNativeName() local
152 Thread* thread = thread_list->SuspendThreadByPeer(peer, in Thread_setNativeName()
160 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in Thread_setNativeName()
/art/runtime/gc/space/
Dbump_pointer_space.cc115 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in RevokeAllThreadLocalBuffers() local
116 for (Thread* thread : thread_list) { in RevokeAllThreadLocalBuffers()
135 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in AssertAllThreadLocalBuffersAreRevoked() local
136 for (Thread* thread : thread_list) { in AssertAllThreadLocalBuffersAreRevoked()
171 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in GetBytesAllocated() local
176 for (Thread* thread : thread_list) { in GetBytesAllocated()
189 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in GetObjectsAllocated() local
194 for (Thread* thread : thread_list) { in GetObjectsAllocated()
Dregion_space.cc920 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in RevokeAllThreadLocalBuffers() local
921 for (Thread* thread : thread_list) { in RevokeAllThreadLocalBuffers()
938 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in AssertAllThreadLocalBuffersAreRevoked() local
939 for (Thread* thread : thread_list) { in AssertAllThreadLocalBuffersAreRevoked()
/art/openjdkjvmti/
Dti_stack.h70 const jthread* thread_list,
Dti_stack.cc515 const jthread* thread_list, in GetThreadListStackTraces() argument
528 if (thread_list == nullptr || stack_info_ptr == nullptr) { in GetThreadListStackTraces()
576 if (thread_list[i] == nullptr) { in GetThreadListStackTraces()
579 art::ObjPtr<art::mirror::Object> thread = soa.Decode<art::mirror::Object>(thread_list[i]); in GetThreadListStackTraces()
659 art::ObjPtr<art::mirror::Object> peer = soa.Decode<art::mirror::Object>(thread_list[i]); in GetThreadListStackTraces()
667 stack_info[i].thread = reinterpret_cast<JNIEnv*>(soa.Env())->NewLocalRef(thread_list[i]); in GetThreadListStackTraces()
679 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.cc306 const jthread* thread_list, in GetThreadListStackTraces() argument
312 thread_list, in GetThreadListStackTraces()
Dti_heap.cc1772 art::ThreadList* thread_list = art::Runtime::Current()->GetThreadList(); in ReplaceStrongRoots() local
1775 art::Thread* t = thread_list->FindThreadByThreadId(id); in ReplaceStrongRoots()
/art/runtime/gc/collector/
Dconcurrent_copying.cc317 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in ActivateReadBarrierEntrypoints() local
320 const size_t barrier_count = thread_list->RunCheckpoint(&checkpoint, &callback); in ActivateReadBarrierEntrypoints()
1056 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in CaptureThreadRootsForMarking() local
1058 size_t barrier_count = thread_list->RunCheckpoint(&check_point, /* callback */ nullptr); in CaptureThreadRootsForMarking()
1727 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in ReenableWeakRefAccess() local
1728 for (Thread* thread : thread_list) { in ReenableWeakRefAccess()
1793 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in IssueDisableMarkingCheckpoint() local
1796 size_t barrier_count = thread_list->RunCheckpoint(&check_point, &dmc); in IssueDisableMarkingCheckpoint()
1826 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in IssueEmptyCheckpoint() local
1829 thread_list->RunEmptyCheckpoint(); in IssueEmptyCheckpoint()
[all …]
Dmark_sweep.cc1190 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in MarkRootsCheckpoint() local
1193 size_t barrier_count = thread_list->RunCheckpoint(&check_point); in MarkRootsCheckpoint()
Dmark_compact.cc1243 std::list<Thread*> thread_list = runtime->GetThreadList()->GetList(); in MarkingPause() local
1244 for (Thread* thread : thread_list) { in MarkingPause()
3726 ThreadList* thread_list = runtime->GetThreadList(); in MarkRootsCheckpoint() local
3730 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()
1065 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in InflateThinLocked() local
1072 owner = thread_list->SuspendThreadByThreadId(owner_thread_id, in InflateThinLocked()
1084 bool resumed = thread_list->Resume(owner, SuspendReason::kInternal); in InflateThinLocked()
Druntime.cc601 ThreadList* thread_list = runtime->GetThreadList(); in DumpAllThreads() local
602 if (thread_list != nullptr) { in DumpAllThreads()
626 thread_list->Dump(os); in DumpAllThreads()
DAndroid.bp295 "thread_list.cc",
Dthread.cc958 bool Thread::Init(ThreadList* thread_list, JavaVMExt* java_vm, JNIEnvExt* jni_env_ext) { in Init() argument
990 tls32_.thin_lock_thread_id = thread_list->AllocThreadId(this); in Init()
1006 thread_list->Register(this); in Init()
/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.cc3372 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in RevokeAllThreadLocalAllocationStacks() local
3373 for (Thread* t : thread_list) { in RevokeAllThreadLocalAllocationStacks()