Home
last modified time | relevance | path

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

/art/test/169-threadgroup-jni/
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()
/art/openjdkjvmti/
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()
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()
/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.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()
/art/test/ti-agent/
Djni_binder.cc209 if (info.thread_group != nullptr) { in GetClass()
210 env->DeleteLocalRef(info.thread_group); in GetClass()
/art/runtime/
Dthread.cc1035 jobject thread_group, in Attach() argument
1043 self->CreatePeer(thread_name, as_daemon, thread_group); in Attach()
1085 void Thread::CreatePeer(const char* name, bool as_daemon, jobject thread_group) { in CreatePeer() argument
1090 if (thread_group == nullptr) { in CreatePeer()
1091 thread_group = runtime->GetMainThreadGroup(); in CreatePeer()
1114 thread_group, thread_name.get(), thread_priority, thread_is_daemon); in CreatePeer()
1137 thread_group, in CreatePeer()
1144 thread_group, in CreatePeer()
1159 jobject thread_group) { in CreateCompileTimePeer() argument
1163 if (thread_group == nullptr) { in CreateCompileTimePeer()
[all …]
Dthread.h182 static Thread* Attach(const char* thread_name, bool as_daemon, jobject thread_group,
554 void NotifyThreadGroup(ScopedObjectAccessAlreadyRunnable& soa, jobject thread_group = nullptr)
1314 jobject thread_group)
1359 void CreatePeer(const char* name, bool as_daemon, jobject thread_group);
1365 jobject thread_group,
Druntime.cc2111 bool Runtime::AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group, in AttachCurrentThread() argument
2114 Thread* self = Thread::Attach(thread_name, as_daemon, thread_group, create_peer); in AttachCurrentThread()
2118 self->NotifyThreadGroup(soa, thread_group); in AttachCurrentThread()
Druntime.h263 bool AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group,
/art/runtime/jni/
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()
/art/tools/jvmti-agents/ti-alloc-sample/
Dti_alloc_sample.cc69 DeleteLocalRef(env_, info_.thread_group); in ~ScopedThreadInfo()
/art/tools/jvmti-agents/breakpoint-logger/
Dbreakpoint_logger.cc89 env_->DeleteLocalRef(info_.thread_group); in ~ScopedThreadInfo()
/art/test/912-classes/
Dclasses.cc358 jni_env->DeleteLocalRef(info.thread_group); in GetThreadName()
/art/test/ti-stress/
Dstress.cc139 DeleteLocalRef(env_, info_.thread_group); in ~ScopedThreadInfo()
/art/tools/jvmti-agents/ti-fast/
Dtifast.cc146 DeleteLocalRef(env_, info_.thread_group); in ~ScopedThreadInfo()
/art/openjdkjvmti/include/
Djvmti.h522 jthreadGroup thread_group; member