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

/art/test/169-threadgroup-jni/
H A Djni_daemon_thread.cc30 jobject thread_group = reinterpret_cast<jobject>(arg); local
32 JavaVMAttachArgs args = { JNI_VERSION_1_6, __FUNCTION__, thread_group };
52 JNIEnv* env, jclass, jobject thread_group) {
54 jobject global_thread_group = env->NewGlobalRef(thread_group);
51 Java_Main_testNativeThread( JNIEnv* env, jclass, jobject thread_group) argument
/art/test/931-agent-thread/
H A Dagent_thread.cc62 if (info.thread_group != nullptr) {
63 env->DeleteLocalRef(info.thread_group);
118 ScopedLocalRef<jobject> thread_group(env, cur_thread_info.thread_group);
132 thread_group.get(),
/art/openjdkjvmti/
H A Dti_threadgroup.cc168 static void GetThreads(art::Handle<art::mirror::Object> thread_group,
171 CHECK(thread_group != nullptr);
182 if (IsInDesiredThreadGroup(thread_group, peer)) {
188 static void GetChildThreadGroups(art::Handle<art::mirror::Object> thread_group,
191 CHECK(thread_group != nullptr);
196 art::ObjPtr<art::mirror::Object> groups_array = groups_field->GetObject(thread_group.Get());
232 art::Handle<art::mirror::Object> thread_group = hs.NewHandle( local
235 art::ObjectLock<art::mirror::Object> thread_group_lock(soa.Self(), thread_group);
238 GetThreads(thread_group, &thread_peers);
241 GetChildThreadGroups(thread_group,
[all...]
H A Dti_thread.cc240 info_ptr->thread_group = group == nullptr
244 info_ptr->thread_group = nullptr;
300 info_ptr->thread_group = group == nullptr
/art/test/924-threads/
H A Dthreads.cc117 return env->NewLocalRef(info.thread_group);
129 if (info.thread_group != nullptr) {
130 env->DeleteLocalRef(info.thread_group);
209 jni_env->DeleteLocalRef(info.thread_group);
/art/test/ti-agent/
H A Djni_binder.cc209 if (info.thread_group != nullptr) {
210 env->DeleteLocalRef(info.thread_group);
/art/runtime/
H A Dthread.cc833 jobject thread_group,
841 self->CreatePeer(thread_name, as_daemon, thread_group);
883 void Thread::CreatePeer(const char* name, bool as_daemon, jobject thread_group) { argument
888 if (thread_group == nullptr) {
889 thread_group = runtime->GetMainThreadGroup();
912 thread_group, thread_name.get(), thread_priority, thread_is_daemon);
934 thread_group,
941 thread_group,
956 jobject thread_group) {
960 if (thread_group
831 Attach(const char* thread_name, bool as_daemon, jobject thread_group, bool create_peer) argument
953 CreateCompileTimePeer(JNIEnv* env, const char* name, bool as_daemon, jobject thread_group) argument
1005 InitPeer(ScopedObjectAccessAlreadyRunnable& soa, ObjPtr<mirror::Object> peer, jboolean thread_is_daemon, jobject thread_group, jobject thread_name, jint thread_priority) argument
1644 ObjPtr<mirror::Object> thread_group = local
2073 NotifyThreadGroup(ScopedObjectAccessAlreadyRunnable& soa, jobject thread_group) argument
[all...]
H A Dthread.h170 static Thread* Attach(const char* thread_name, bool as_daemon, jobject thread_group,
532 void NotifyThreadGroup(ScopedObjectAccessAlreadyRunnable& soa, jobject thread_group = nullptr)
1274 jobject thread_group)
1289 void CreatePeer(const char* name, bool as_daemon, jobject thread_group);
1295 jobject thread_group,
H A Ddebugger.cc2144 mirror::Object* thread_group = Dbg::GetObjectRegistry()->Get<mirror::Object*>(thread_group_id, local
2149 if (thread_group == nullptr) {
2156 if (!c->IsAssignableFrom(thread_group->GetClass())) {
2162 return thread_group;
2168 mirror::Object* thread_group = DecodeThreadGroup(soa, thread_group_id, &error); local
2175 ObjPtr<mirror::String> s = f->GetObject(thread_group)->AsString();
2185 mirror::Object* thread_group = DecodeThreadGroup(soa, thread_group_id, &error); local
2194 parent = f->GetObject(thread_group);
2201 static void GetChildThreadGroups(mirror::Object* thread_group,
2204 CHECK(thread_group !
2235 mirror::Object* thread_group = DecodeThreadGroup(soa, thread_group_id, &error); local
2369 GetThreads(mirror::Object* thread_group, std::vector<JDWP::ObjectId>* thread_ids) argument
[all...]
H A Djava_vm_ext.cc418 jobject thread_group = nullptr; local
427 thread_group = args->group;
430 if (!runtime->AttachCurrentThread(thread_name, as_daemon, thread_group,
H A Druntime.cc315 /* thread_group*/ nullptr,
1915 bool Runtime::AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group, argument
1918 Thread* self = Thread::Attach(thread_name, as_daemon, thread_group, create_peer);
1922 self->NotifyThreadGroup(soa, thread_group);
H A Ddebugger.h477 static void GetThreads(mirror::Object* thread_group, std::vector<JDWP::ObjectId>* thread_ids)
H A Druntime.h233 bool AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group,
/art/tools/breakpoint-logger/
H A Dbreakpoint_logger.cc89 env_->DeleteLocalRef(info_.thread_group);
/art/test/912-classes/
H A Dclasses.cc358 jni_env->DeleteLocalRef(info.thread_group);
/art/test/ti-stress/
H A Dstress.cc134 env_->DeleteLocalRef(info_.thread_group);
/art/openjdkjvmti/include/
H A Djvmti.h522 jthreadGroup thread_group; member in struct:_jvmtiThreadInfo

Completed in 1515 milliseconds