/art/test/169-threadgroup-jni/ |
D | jni_daemon_thread.cc | 30 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/ |
D | ti_threadgroup.cc | 168 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()
|
D | ti_thread.cc | 299 info_ptr->thread_group = group == nullptr in GetThreadInfo() 303 info_ptr->thread_group = nullptr; in GetThreadInfo() 359 info_ptr->thread_group = group == nullptr in GetThreadInfo()
|
/art/test/931-agent-thread/ |
D | agent_thread.cc | 62 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/ |
D | threads.cc | 117 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/ |
D | jni_binder.cc | 209 if (info.thread_group != nullptr) { in GetClass() 210 env->DeleteLocalRef(info.thread_group); in GetClass()
|
/art/runtime/ |
D | thread.h | 181 static Thread* Attach(const char* thread_name, bool as_daemon, jobject thread_group, 531 void NotifyThreadGroup(ScopedObjectAccessAlreadyRunnable& soa, jobject thread_group = nullptr) 1266 jobject thread_group) 1307 void CreatePeer(const char* name, bool as_daemon, jobject thread_group); 1313 jobject thread_group,
|
D | debugger.cc | 2111 mirror::Object* thread_group = Dbg::GetObjectRegistry()->Get<mirror::Object*>(thread_group_id, in DecodeThreadGroup() local 2116 if (thread_group == nullptr) { in DecodeThreadGroup() 2123 if (!c->IsAssignableFrom(thread_group->GetClass())) { in DecodeThreadGroup() 2129 return thread_group; in DecodeThreadGroup() 2135 mirror::Object* thread_group = DecodeThreadGroup(soa, thread_group_id, &error); in GetThreadGroupName() local 2142 ObjPtr<mirror::String> s = f->GetObject(thread_group)->AsString(); in GetThreadGroupName() 2152 mirror::Object* thread_group = DecodeThreadGroup(soa, thread_group_id, &error); in GetThreadGroupParent() local 2161 parent = f->GetObject(thread_group); in GetThreadGroupParent() 2168 static void GetChildThreadGroups(mirror::Object* thread_group, in GetChildThreadGroups() argument 2171 CHECK(thread_group != nullptr); in GetChildThreadGroups() [all …]
|
D | runtime.h | 247 bool AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group,
|
D | debugger.h | 489 static void GetThreads(mirror::Object* thread_group, std::vector<JDWP::ObjectId>* thread_ids)
|
/art/runtime/jni/ |
D | java_vm_ext.cc | 447 jobject thread_group = nullptr; in AttachCurrentThreadInternal() local 456 thread_group = args->group; in AttachCurrentThreadInternal() 459 if (!runtime->AttachCurrentThread(thread_name, as_daemon, thread_group, in AttachCurrentThreadInternal()
|
/art/tools/jvmti-agents/breakpoint-logger/ |
D | breakpoint_logger.cc | 89 env_->DeleteLocalRef(info_.thread_group); in ~ScopedThreadInfo()
|
/art/test/912-classes/ |
D | classes.cc | 358 jni_env->DeleteLocalRef(info.thread_group); in GetThreadName()
|
/art/test/ti-stress/ |
D | stress.cc | 139 DeleteLocalRef(env_, info_.thread_group); in ~ScopedThreadInfo()
|
/art/tools/jvmti-agents/ti-fast/ |
D | tifast.cc | 149 DeleteLocalRef(env_, info_.thread_group); in ~ScopedThreadInfo()
|
/art/openjdkjvmti/include/ |
D | jvmti.h | 522 jthreadGroup thread_group; member
|