Home
last modified time | relevance | path

Searched refs:thread_group (Results 1 – 14 of 14) sorted by relevance

/art/runtime/openjdkjvmti/
Dti_threadgroup.cc168 static void GetThreads(art::Handle<art::mirror::Object> thread_group, in GetThreads() argument
171 CHECK(thread_group != nullptr); in GetThreads()
182 if (IsInDesiredThreadGroup(thread_group, peer)) { in GetThreads()
188 static void GetChildThreadGroups(art::Handle<art::mirror::Object> thread_group, in GetChildThreadGroups() argument
191 CHECK(thread_group != nullptr); in GetChildThreadGroups()
196 art::ObjPtr<art::mirror::Object> groups_array = groups_field->GetObject(thread_group.Get()); in GetChildThreadGroups()
232 art::Handle<art::mirror::Object> thread_group = hs.NewHandle( in GetThreadGroupChildren() local
235 art::ObjectLock<art::mirror::Object> thread_group_lock(soa.Self(), thread_group); in GetThreadGroupChildren()
238 GetThreads(thread_group, &thread_peers); in GetThreadGroupChildren()
241 GetChildThreadGroups(thread_group, &thread_groups); in GetThreadGroupChildren()
Dti_thread.cc212 info_ptr->thread_group = group == nullptr in GetThreadInfo()
216 info_ptr->thread_group = nullptr; in GetThreadInfo()
272 info_ptr->thread_group = group == nullptr in GetThreadInfo()
/art/test/931-agent-thread/
Dagent_thread.cc62 if (info.thread_group != nullptr) { in AgentMain()
63 env->DeleteLocalRef(info.thread_group); in AgentMain()
118 ScopedLocalRef<jobject> thread_group(env, cur_thread_info.thread_group); in Java_art_Test931_testAgentThread() local
132 thread_group.get(), in Java_art_Test931_testAgentThread()
/art/test/924-threads/
Dthreads.cc77 return env->NewLocalRef(info.thread_group); in Java_art_Test924_getThreadInfo()
89 if (info.thread_group != nullptr) { in Java_art_Test924_getThreadInfo()
90 env->DeleteLocalRef(info.thread_group); in Java_art_Test924_getThreadInfo()
169 jni_env->DeleteLocalRef(info.thread_group); in ThreadEvent()
/art/test/ti-agent/
Djni_binder.cc209 if (info.thread_group != nullptr) { in FindClass()
210 env->DeleteLocalRef(info.thread_group); in FindClass()
/art/runtime/
Dthread.cc791 jobject thread_group, in Attach() argument
799 self->CreatePeer(thread_name, as_daemon, thread_group); in Attach()
840 void Thread::CreatePeer(const char* name, bool as_daemon, jobject thread_group) { in CreatePeer() argument
845 if (thread_group == nullptr) { in CreatePeer()
846 thread_group = runtime->GetMainThreadGroup(); in CreatePeer()
869 thread_group, thread_name.get(), thread_priority, thread_is_daemon); in CreatePeer()
891 thread_group, in CreatePeer()
898 thread_group, in CreatePeer()
913 jobject thread_group) { in CreateCompileTimePeer() argument
917 if (thread_group == nullptr) { in CreateCompileTimePeer()
[all …]
Dthread.h159 static Thread* Attach(const char* thread_name, bool as_daemon, jobject thread_group,
1186 jobject thread_group)
1201 void CreatePeer(const char* name, bool as_daemon, jobject thread_group);
1207 jobject thread_group,
Ddebugger.cc2062 mirror::Object* thread_group = Dbg::GetObjectRegistry()->Get<mirror::Object*>(thread_group_id, in DecodeThreadGroup() local
2067 if (thread_group == nullptr) { in DecodeThreadGroup()
2074 if (!c->IsAssignableFrom(thread_group->GetClass())) { in DecodeThreadGroup()
2080 return thread_group; in DecodeThreadGroup()
2086 mirror::Object* thread_group = DecodeThreadGroup(soa, thread_group_id, &error); in GetThreadGroupName() local
2093 ObjPtr<mirror::String> s = f->GetObject(thread_group)->AsString(); in GetThreadGroupName()
2103 mirror::Object* thread_group = DecodeThreadGroup(soa, thread_group_id, &error); in GetThreadGroupParent() local
2112 parent = f->GetObject(thread_group); in GetThreadGroupParent()
2119 static void GetChildThreadGroups(mirror::Object* thread_group, in GetChildThreadGroups() argument
2122 CHECK(thread_group != nullptr); in GetChildThreadGroups()
[all …]
Djava_vm_ext.cc384 jobject thread_group = nullptr; in AttachCurrentThreadInternal() local
393 thread_group = args->group; in AttachCurrentThreadInternal()
396 if (!runtime->AttachCurrentThread(thread_name, as_daemon, thread_group, in AttachCurrentThreadInternal()
Druntime.h231 bool AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group,
Ddebugger.h457 static void GetThreads(mirror::Object* thread_group, std::vector<JDWP::ObjectId>* thread_ids)
Druntime.cc1692 bool Runtime::AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group, in AttachCurrentThread() argument
1695 return Thread::Attach(thread_name, as_daemon, thread_group, create_peer) != nullptr; in AttachCurrentThread()
/art/test/912-classes/
Dclasses.cc357 jni_env->DeleteLocalRef(info.thread_group); in GetThreadName()
/art/runtime/openjdkjvmti/include/
Djvmti.h522 jthreadGroup thread_group; member