Searched refs:thread_klass (Results 1 – 6 of 6) sorted by relevance
/art/test/931-agent-thread/ |
D | agent_thread.cc | 100 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() 124 thread_klass.get(), "<init>", "(Ljava/lang/ThreadGroup;Ljava/lang/String;)V"); in Java_art_Test931_testAgentThread() 129 thread.get(), thread_klass.get(), initID, thread_group.get(), thread_name.get()); in Java_art_Test931_testAgentThread()
|
/art/tools/jvmti-agents/simple-force-redefine/ |
D | forceredefine.cc | 236 ScopedLocalRef<jclass> thread_klass(env, env->FindClass("java/lang/Thread")); in CbVmInit() local 237 if (thread_klass.get() == nullptr) { in CbVmInit() 242 ScopedLocalRef<jobject> thread(env, env->AllocObject(thread_klass.get())); in CbVmInit() 251 thread_klass.get(), in CbVmInit() 252 env->GetMethodID(thread_klass.get(), "<init>", "(Ljava/lang/String;)V"), in CbVmInit() 254 env->CallVoidMethod(thread.get(), env->GetMethodID(thread_klass.get(), "setPriority", "(I)V"), 1); in CbVmInit() 256 thread.get(), env->GetMethodID(thread_klass.get(), "setDaemon", "(Z)V"), JNI_TRUE); in CbVmInit()
|
/art/test/1919-vminit-thread-start-timing/ |
D | vminit.cc | 86 ScopedLocalRef<jclass> thread_klass(env, env->FindClass("java/lang/Thread")); in CreateAgentThread() local 87 CHECK(thread_klass.get() != nullptr); in CreateAgentThread() 89 ScopedLocalRef<jobject> thread(env, env->AllocObject(thread_klass.get())); in CreateAgentThread() 92 jmethodID initID = env->GetMethodID(thread_klass.get(), "<init>", "(Ljava/lang/String;)V"); in CreateAgentThread() 95 env->CallNonvirtualVoidMethod(thread.get(), thread_klass.get(), initID, thread_name.get()); in CreateAgentThread()
|
/art/test/912-classes/ |
D | classes.cc | 394 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/tools/jvmti-agents/simple-profile/ |
D | simple_profile.cc | 181 ScopedLocalRef<jclass> thread_klass(env, env->FindClass("java/lang/Thread")); in FinishInitialization() local 182 CHECK_NE(thread_klass.get(), nullptr); in FinishInitialization() 183 ScopedLocalRef<jobject> thread(env, env->AllocObject(thread_klass.get())); in FinishInitialization() 185 jmethodID initID = env->GetMethodID(thread_klass.get(), "<init>", "(Ljava/lang/String;)V"); in FinishInitialization() 186 jmethodID setDaemonId = env->GetMethodID(thread_klass.get(), "setDaemon", "(Z)V"); in FinishInitialization() 189 env->CallNonvirtualVoidMethod(thread.get(), thread_klass.get(), initID, thread_name.get()); in FinishInitialization()
|
/art/openjdkjvmti/ |
D | ti_thread.cc | 620 art::ObjPtr<art::mirror::Class> thread_klass = art::WellKnownClasses::java_lang_Thread.Get(); in GetThreadState() local 621 if (!thread_klass->IsAssignableFrom(peer->GetClass())) { in GetThreadState() 624 art::ArtField* started_field = thread_klass->FindDeclaredInstanceField("started", "Z"); in GetThreadState()
|