Home
last modified time | relevance | path

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

/art/test/2037-thread-name-inherit/
Dthread_name_inherit.cc41 jclass thread_class = env->FindClass("java/lang/Thread"); in ThreadMain() local
44 env->GetStaticMethodID(thread_class, "currentThread", "()Ljava/lang/Thread;"); in ThreadMain()
47 jobject current_thread = env->CallStaticObjectMethod(thread_class, current_thread_method); in ThreadMain()
49 jmethodID set_name_method = env->GetMethodID(thread_class, "setName", "(Ljava/lang/String;)V"); in ThreadMain()
/art/openjdkjvmti/
Dti_thread.cc190 art::ObjPtr<art::mirror::Class> thread_class = art::WellKnownClasses::java_lang_Thread.Get(); in CacheData() local
191 CHECK(thread_class != nullptr); in CacheData()
192 context_class_loader_ = thread_class->FindDeclaredInstanceField("contextClassLoader", in CacheData()
/art/runtime/interpreter/
Dunstarted_runtime_test.cc1041 Handle<mirror::Class> thread_class = hs.NewHandle( in TEST_F() local
1043 ASSERT_TRUE(thread_class.Get() != nullptr); in TEST_F()
1044 ASSERT_TRUE(class_linker->EnsureInitialized(self, thread_class, true, true)); in TEST_F()
/art/runtime/
Druntime.cc895 ObjPtr<mirror::Class> thread_class = WellKnownClasses::java_lang_Thread.Get(); in CreateSystemClassLoader() local
897 thread_class->FindDeclaredInstanceField("contextClassLoader", "Ljava/lang/ClassLoader;"); in CreateSystemClassLoader()
2240 Handle<mirror::Class> thread_class = hs.NewHandle(WellKnownClasses::java_lang_Thread.Get()); in InitThreadGroups() local
2242 self, thread_class, /*can_init_fields=*/ true, /*can_init_parents=*/ true); in InitThreadGroups()