Home
last modified time | relevance | path

Searched refs:thread_klass (Results 1 – 4 of 4) sorted by relevance

/art/test/931-agent-thread/
Dagent_thread.cc100 ScopedLocalRef<jclass> thread_klass(env, env->FindClass("java/lang/Thread")); in Java_art_Test931_testAgentThread() local
101 if (thread_klass.get() == nullptr) { in Java_art_Test931_testAgentThread()
104 ScopedLocalRef<jobject> thread(env, env->AllocObject(thread_klass.get())); in Java_art_Test931_testAgentThread()
123 jmethodID initID = env->GetMethodID(thread_klass.get(), in Java_art_Test931_testAgentThread()
130 thread_klass.get(), in Java_art_Test931_testAgentThread()
/art/test/1919-vminit-thread-start-timing/
Dvminit.cc84 ScopedLocalRef<jclass> thread_klass(env, env->FindClass("java/lang/Thread")); in CreateAgentThread() local
85 CHECK(thread_klass.get() != nullptr); in CreateAgentThread()
87 ScopedLocalRef<jobject> thread(env, env->AllocObject(thread_klass.get())); in CreateAgentThread()
90 jmethodID initID = env->GetMethodID(thread_klass.get(), "<init>", "(Ljava/lang/String;)V"); in CreateAgentThread()
93 env->CallNonvirtualVoidMethod(thread.get(), thread_klass.get(), initID, thread_name.get()); in CreateAgentThread()
/art/test/912-classes/
Dclasses.cc394 ScopedLocalRef<jclass> thread_klass(env, env->FindClass("java/lang/Thread")); in RunEventThread() local
395 CHECK(thread_klass.get() != nullptr); in RunEventThread()
397 ScopedLocalRef<jobject> thread(env, env->AllocObject(thread_klass.get())); in RunEventThread()
400 jmethodID initID = env->GetMethodID(thread_klass.get(), "<init>", "(Ljava/lang/String;)V"); in RunEventThread()
403 env->CallNonvirtualVoidMethod(thread.get(), thread_klass.get(), initID, thread_name.get()); in RunEventThread()
415 ScopedLocalRef<jclass> thread_klass(env, env->FindClass("java/lang/Thread")); in JoinTread() local
416 CHECK(thread_klass.get() != nullptr); in JoinTread()
418 jmethodID joinID = env->GetMethodID(thread_klass.get(), "join", "()V"); in JoinTread()
/art/openjdkjvmti/
Dti_thread.cc561 art::ObjPtr<art::mirror::Class> thread_klass = in GetThreadState() local
563 if (!thread_klass->IsAssignableFrom(peer->GetClass())) { in GetThreadState()
566 art::ArtField* started_field = thread_klass->FindDeclaredInstanceField("started", "Z"); in GetThreadState()