Searched refs:thread_klass (Results 1 – 5 of 5) 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() 123 jmethodID initID = env->GetMethodID(thread_klass.get(), in Java_art_Test931_testAgentThread() 130 thread_klass.get(), in Java_art_Test931_testAgentThread()
|
/art/tools/jvmti-agents/simple-force-redefine/ |
D | forceredefine.cc | 238 ScopedLocalRef<jclass> thread_klass(env, env->FindClass("java/lang/Thread")); in CbVmInit() local 239 if (thread_klass.get() == nullptr) { in CbVmInit() 244 ScopedLocalRef<jobject> thread(env, env->AllocObject(thread_klass.get())); in CbVmInit() 253 thread_klass.get(), in CbVmInit() 254 env->GetMethodID(thread_klass.get(), "<init>", "(Ljava/lang/String;)V"), in CbVmInit() 256 env->CallVoidMethod(thread.get(), env->GetMethodID(thread_klass.get(), "setPriority", "(I)V"), 1); in CbVmInit() 258 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/openjdkjvmti/ |
D | ti_thread.cc | 615 art::ObjPtr<art::mirror::Class> thread_klass = in GetThreadState() local 617 if (!thread_klass->IsAssignableFrom(peer->GetClass())) { in GetThreadState() 620 art::ArtField* started_field = thread_klass->FindDeclaredInstanceField("started", "Z"); in GetThreadState()
|