Home
last modified time | relevance | path

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

/aosp12/art/openjdkjvmti/
H A Dti_threadgroup.cc171 static void GetThreads(art::Handle<art::mirror::Object> thread_group, in GetThreads() argument
174 CHECK(thread_group != nullptr); in GetThreads()
185 if (IsInDesiredThreadGroup(thread_group, peer)) { in GetThreads()
191 static void GetChildThreadGroups(art::Handle<art::mirror::Object> thread_group, in GetChildThreadGroups() argument
194 CHECK(thread_group != nullptr); in GetChildThreadGroups()
199 art::ObjPtr<art::mirror::Object> groups_array = groups_field->GetObject(thread_group.Get()); in GetChildThreadGroups()
234 art::Handle<art::mirror::Object> thread_group = hs.NewHandle( in GetThreadGroupChildren() local
237 art::ObjectLock<art::mirror::Object> thread_group_lock(soa.Self(), thread_group); in GetThreadGroupChildren()
240 GetThreads(thread_group, &thread_peers); in GetThreadGroupChildren()
243 GetChildThreadGroups(thread_group, &thread_groups); in GetThreadGroupChildren()
H A Dti_thread.cc302 info_ptr->thread_group = group == nullptr in GetThreadInfo()
306 info_ptr->thread_group = nullptr; in GetThreadInfo()
362 info_ptr->thread_group = group == nullptr in GetThreadInfo()
/aosp12/art/test/169-threadgroup-jni/
H A Djni_daemon_thread.cc30 jobject thread_group = reinterpret_cast<jobject>(arg); in Runner() local
32 JavaVMAttachArgs args = { JNI_VERSION_1_6, __FUNCTION__, thread_group }; in Runner()
52 JNIEnv* env, jclass, jobject thread_group) { in Java_Main_testNativeThread() argument
54 jobject global_thread_group = env->NewGlobalRef(thread_group); in Java_Main_testNativeThread()
/aosp12/art/test/931-agent-thread/
H A 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
129 thread.get(), thread_klass.get(), initID, thread_group.get(), thread_name.get()); in Java_art_Test931_testAgentThread()
/aosp12/art/test/924-threads/
H A Dthreads.cc117 return env->NewLocalRef(info.thread_group); in Java_art_Test924_getThreadInfo()
129 if (info.thread_group != nullptr) { in Java_art_Test924_getThreadInfo()
130 env->DeleteLocalRef(info.thread_group); in Java_art_Test924_getThreadInfo()
209 jni_env->DeleteLocalRef(info.thread_group); in ThreadEvent()
/aosp12/frameworks/native/services/vr/performanced/
H A Dperformance_service.cpp274 Task thread_group{task.thread_group_id()}; in OnSetSchedulerPolicy() local
275 if (thread_group) { in OnSetSchedulerPolicy()
276 thread_group_cpuset = thread_group.GetCpuSetPath(); in OnSetSchedulerPolicy()
/aosp12/art/runtime/
H A Dthread.cc1041 jobject thread_group, in Attach() argument
1099 if (thread_group == nullptr) { in CreatePeer()
1146 thread_group, in CreatePeer()
1153 thread_group, in CreatePeer()
1172 if (thread_group == nullptr) { in CreateCompileTimePeer()
1201 thread_group, in CreateCompileTimePeer()
1208 thread_group, in CreateCompileTimePeer()
1220 jobject thread_group, in InitPeer() argument
1844 ObjPtr<mirror::Object> thread_group = in DumpState() local
1848 if (thread_group != nullptr) { in DumpState()
[all …]
H A Dthread.h183 static Thread* Attach(const char* thread_name, bool as_daemon, jobject thread_group,
560 void NotifyThreadGroup(ScopedObjectAccessAlreadyRunnable& soa, jobject thread_group = nullptr)
1335 jobject thread_group)
1380 void CreatePeer(const char* name, bool as_daemon, jobject thread_group);
1386 jobject thread_group,
H A Druntime.cc2327 bool Runtime::AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group, in AttachCurrentThread() argument
2330 Thread* self = Thread::Attach(thread_name, as_daemon, thread_group, create_peer); in AttachCurrentThread()
2334 self->NotifyThreadGroup(soa, thread_group); in AttachCurrentThread()
H A Druntime.h272 bool AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group,
/aosp12/art/test/ti-agent/
H A Djni_binder.cc209 if (info.thread_group != nullptr) { in GetClass()
210 env->DeleteLocalRef(info.thread_group); in GetClass()
/aosp12/art/runtime/jni/
H A Djava_vm_ext.cc456 jobject thread_group = nullptr; in AttachCurrentThreadInternal() local
465 thread_group = args->group; in AttachCurrentThreadInternal()
468 if (!runtime->AttachCurrentThread(thread_name, as_daemon, thread_group, in AttachCurrentThreadInternal()
/aosp12/art/tools/jvmti-agents/ti-alloc-sample/
H A Dti_alloc_sample.cc69 DeleteLocalRef(env_, info_.thread_group); in ~ScopedThreadInfo()
/aosp12/art/tools/jvmti-agents/breakpoint-logger/
H A Dbreakpoint_logger.cc89 env_->DeleteLocalRef(info_.thread_group); in ~ScopedThreadInfo()
/aosp12/art/test/912-classes/
H A Dclasses.cc358 jni_env->DeleteLocalRef(info.thread_group); in GetThreadName()
/aosp12/art/test/ti-stress/
H A Dstress.cc139 DeleteLocalRef(env_, info_.thread_group); in ~ScopedThreadInfo()
/aosp12/art/tools/jvmti-agents/ti-fast/
H A Dtifast.cc146 DeleteLocalRef(env_, info_.thread_group); in ~ScopedThreadInfo()
/aosp12/art/openjdkjvmti/include/
H A Djvmti.h522 jthreadGroup thread_group; member
/aosp12/frameworks/proto_logging/stats/
H A Datoms.proto6555 optional ThreadGroup thread_group = 1; field