Searched refs:thread_list (Results 1 - 19 of 19) sorted by relevance

/art/runtime/native/
H A Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc31 #include "thread_list.h"
65 ThreadList* thread_list = Runtime::Current()->GetThreadList(); local
74 Thread* thread = thread_list->SuspendThreadByThreadId(thin_lock_id,
84 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal);
146 ThreadList* thread_list = Runtime::Current()->GetThreadList(); local
149 thread_list->ForEach(ThreadCountCallback, &thread_count);
155 thread_list->ForEach(ThreadStatsGetterCallback, &bytes);
H A Ddalvik_system_VMStack.cc33 #include "thread_list.h"
59 ThreadList* thread_list = Runtime::Current()->GetThreadList(); local
61 Thread* thread = thread_list->SuspendThreadByPeer(peer,
72 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal);
H A Djava_lang_Thread.cc29 #include "thread_list.h"
147 ThreadList* thread_list = Runtime::Current()->GetThreadList(); local
150 Thread* thread = thread_list->SuspendThreadByPeer(peer,
159 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal);
/art/runtime/gc/space/
H A Dbump_pointer_space.cc21 #include "thread_list.h"
107 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); local
108 for (Thread* thread : thread_list) {
127 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); local
128 for (Thread* thread : thread_list) {
167 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); local
172 for (Thread* thread : thread_list) {
185 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); local
190 for (Thread* thread : thread_list) {
H A Dregion_space.cc22 #include "thread_list.h"
537 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); local
538 for (Thread* thread : thread_list) {
555 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); local
556 for (Thread* thread : thread_list) {
/art/openjdkjvmti/
H A Dti_stack.h69 const jthread* thread_list,
H A Dti_stack.cc62 #include "thread_list.h"
474 const jthread* thread_list,
487 if (thread_list == nullptr || stack_info_ptr == nullptr) {
535 if (thread_list[i] == nullptr) {
538 if (!soa.Env()->IsInstanceOf(thread_list[i], art::WellKnownClasses::java_lang_Thread)) {
541 data.handles.push_back(hs.NewHandle(soa.Decode<art::mirror::Object>(thread_list[i])));
617 art::ObjPtr<art::mirror::Object> peer = soa.Decode<art::mirror::Object>(thread_list[i]);
625 stack_info[i].thread = reinterpret_cast<JNIEnv*>(soa.Env())->NewLocalRef(thread_list[i]);
637 new_stack_info.thread = reinterpret_cast<JNIEnv*>(soa.Env())->NewLocalRef(thread_list[i]);
472 GetThreadListStackTraces(jvmtiEnv* env, jint thread_count, const jthread* thread_list, jint max_frame_count, jvmtiStackInfo** stack_info_ptr) argument
H A Dti_thread.cc57 #include "thread_list.h"
588 std::list<art::Thread*> thread_list = art::Runtime::Current()->GetThreadList()->GetList(); local
592 for (art::Thread* thread : thread_list) {
H A DOpenjdkJvmTi.cc52 #include "thread_list.h"
300 const jthread* thread_list,
306 thread_list,
298 GetThreadListStackTraces(jvmtiEnv* env, jint thread_count, const jthread* thread_list, jint max_frame_count, jvmtiStackInfo** stack_info_ptr) argument
/art/openjdkjvm/
H A DOpenjdkJvm.cc62 #include "thread_list.h"
419 art::ThreadList* thread_list = art::Runtime::Current()->GetThreadList(); local
424 thread = thread_list->SuspendThreadByPeer(jthread,
434 bool resumed = thread_list->Resume(thread, art::SuspendReason::kInternal);
/art/runtime/
H A Dmonitor.cc41 #include "thread_list.h"
640 ThreadList* const thread_list = Runtime::Current()->GetThreadList(); local
641 Thread* expected_owner = thread_list->FindThreadByThreadId(expected_owner_thread_id);
642 Thread* found_owner = thread_list->FindThreadByThreadId(found_owner_thread_id);
986 ThreadList* thread_list = Runtime::Current()->GetThreadList(); local
993 owner = thread_list->SuspendThreadByThreadId(owner_thread_id,
1005 bool resumed = thread_list->Resume(owner, SuspendReason::kInternal);
H A Druntime.cc160 #include "thread_list.h"
326 // could call RosAlloc::InspectAll() which needs the thread_list
495 ThreadList* thread_list = runtime->GetThreadList(); local
496 if (thread_list != nullptr) {
506 thread_list->Dump(os);
H A Ddebugger.cc70 #include "thread_list.h"
2528 ThreadList* thread_list = Runtime::Current()->GetThreadList(); local
2529 Thread* thread = thread_list->SuspendThreadByPeer(peer.get(),
3776 ThreadList* const thread_list = Runtime::Current()->GetThreadList(); local
3777 suspended_thread = thread_list->SuspendThreadByPeer(thread_peer,
3991 ThreadList* thread_list = Runtime::Current()->GetThreadList(); local
4125 thread_list->UndoDebuggerSuspensions();
4128 bool resumed = thread_list->Resume(targetThread, SuspendReason::kForDebugger);
H A Dthread.cc93 #include "thread_list.h"
725 bool Thread::Init(ThreadList* thread_list, JavaVMExt* java_vm, JNIEnvExt* jni_env_ext) { argument
755 tls32_.thin_lock_thread_id = thread_list->AllocThreadId(this);
770 thread_list->Register(this);
/art/runtime/gc/collector/
H A Dconcurrent_copying.cc44 #include "thread_list.h"
247 ThreadList* thread_list = Runtime::Current()->GetThreadList(); local
250 const size_t barrier_count = thread_list->RunCheckpoint(&checkpoint, &callback);
934 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); local
935 for (Thread* thread : thread_list) {
994 ThreadList* thread_list = Runtime::Current()->GetThreadList(); local
997 size_t barrier_count = thread_list->RunCheckpoint(&check_point, &dmc);
1052 ThreadList* thread_list = Runtime::Current()->GetThreadList(); local
1055 thread_list->RunEmptyCheckpoint();
1224 std::list<Thread*> thread_list local
1366 ThreadList* thread_list = Runtime::Current()->GetThreadList(); local
[all...]
H A Dmark_sweep.cc47 #include "thread_list.h"
1186 ThreadList* thread_list = Runtime::Current()->GetThreadList(); local
1189 size_t barrier_count = thread_list->RunCheckpoint(&check_point);
/art/runtime/gc/allocator/
H A Drosalloc.cc35 #include "thread_list.h"
1587 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); local
1589 for (Thread* thread : thread_list) {
1614 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); local
1615 for (Thread* t : thread_list) {
1885 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); local
1886 for (auto it = thread_list.begin(); it != thread_list.end(); ++it) {
/art/openjdkjvmti/include/
H A Djvmti.h1522 const jthread* thread_list,
1915 const jthread* thread_list,
1918 return functions->GetThreadListStackTraces(this, thread_count, thread_list, max_frame_count, stack_info_ptr);
1914 GetThreadListStackTraces(jint thread_count, const jthread* thread_list, jint max_frame_count, jvmtiStackInfo** stack_info_ptr) argument
/art/runtime/gc/
H A Dheap.cc88 #include "thread_list.h"
3133 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); local
3134 for (Thread* t : thread_list) {

Completed in 4840 milliseconds