Home
last modified time | relevance | path

Searched refs:GetClassLoader (Results 1 – 25 of 53) sorted by relevance

123

/art/compiler/driver/
Dcompiler_driver-inl.h40 DCHECK_EQ(class_loader.Get(), mUnit->GetClassLoader().Get()); in ResolveClass()
55 DCHECK_EQ(class_loader.Get(), mUnit->GetClassLoader().Get()); in ResolveCompilingMethodsClass()
86 DCHECK_EQ(class_loader.Get(), mUnit->GetClassLoader().Get()); in ResolveField()
112 DCHECK_EQ(class_loader.Get(), mUnit->GetClassLoader().Get()); in ResolveMethod()
Ddex_compilation_unit.h47 Handle<mirror::ClassLoader> GetClassLoader() const { in GetClassLoader() function
Dcompiler_driver.cc651 hs.NewHandle(method->GetDeclaringClass()->GetClassLoader())); in CompileOne()
1441 Handle<mirror::ClassLoader> class_loader_handle = mUnit->GetClassLoader(); in ComputeInstanceFieldInfo()
1522 jobject GetClassLoader() const { in GetClassLoader() function in art::ParallelCompilationManager
1679 jobject jclass_loader = manager_->GetClassLoader(); in Visit()
1796 hs.NewHandle(soa.Decode<mirror::ClassLoader>(manager_->GetClassLoader()))); in Visit()
2042 jobject jclass_loader = manager_->GetClassLoader(); in Visit()
2163 jobject jclass_loader = manager_->GetClassLoader(); in Visit()
2222 jobject jclass_loader = manager_->GetClassLoader(); in Visit()
2235 if (klass != nullptr && !SkipClass(manager_->GetClassLoader(), dex_file, klass.Get())) { in Visit()
2488 if (klass->GetClassLoader() != super_klass->GetClassLoader()) { in PreResolveTypes()
[all …]
/art/runtime/
Dclass_linker-inl.h49 Handle<mirror::ClassLoader> class_loader(hs.NewHandle((*element_class)->GetClassLoader())); in FindArrayClass()
86 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveType()
198 ObjPtr<mirror::ClassLoader> class_loader = referrer->GetClassLoader(); in GetResolvedMethod()
236 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveMethod()
248 ObjPtr<mirror::ClassLoader> class_loader = referrer->GetClassLoader(); in ResolveMethod()
283 field = LookupResolvedField(field_idx, dex_cache, referrer->GetClassLoader(), is_static); in LookupResolvedField()
298 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveField()
Dart_method-inl.h169 *dex_cache->GetDexFile(), type_idx, dex_cache, GetClassLoader()); in GetClassFromTypeIndex()
359 inline mirror::ClassLoader* ArtMethod::GetClassLoader() { in GetClassLoader() function
361 return GetDeclaringClass()->GetClassLoader(); in GetClassLoader()
Ddex_file_annotations.cc81 ObjPtr<mirror::ClassLoader> GetClassLoader() const REQUIRES_SHARED(Locks::mutator_lock_) { in GetClassLoader() function in art::__anon607cc5e80111::ClassData
83 return method_->GetDeclaringClass()->GetClassLoader(); in GetClassLoader()
85 return real_klass_->GetClassLoader(); in GetClassLoader()
328 hs.NewHandle(klass.GetClassLoader())))); in ProcessEncodedAnnotation()
459 hs.NewHandle(klass.GetClassLoader())); in ProcessAnnotationValue()
486 hs.NewHandle(klass.GetClassLoader())); in ProcessAnnotationValue()
525 hs.NewHandle(klass.GetClassLoader())); in ProcessAnnotationValue()
554 hs.NewHandle(klass.GetClassLoader()), in ProcessAnnotationValue()
788 hs.NewHandle(klass.GetClassLoader())); in GetAnnotationItemFromAnnotationSet()
1347 hs.NewHandle(data.GetClassLoader())); in GetEnclosingClass()
Djava_vm_ext.cc88 jweak GetClassLoader() const { in GetClassLoader() function in art::SharedLibrary
250 mirror::ClassLoader* const declaring_class_loader = m->GetDeclaringClass()->GetClassLoader(); in FindNativeMethod()
316 const jweak class_loader = library->GetClassLoader(); in UnloadNativeLibraries()
838 path.c_str(), library->GetClassLoader(), class_loader); in LoadNativeLibrary()
Dclass_linker.cc143 method->GetDeclaringClass()->GetClassLoader() : nullptr)); in HasInitWithString()
262 if (klass->GetClassLoader() == nullptr && !Runtime::Current()->IsAotCompiler()) { in WrapExceptionInInitializer()
1168 if (!klass->IsPrimitive() && klass->GetClassLoader() == class_loader_) { in operator ()()
1562 if (klass->GetClassLoader() != nullptr) { in operator ()()
2051 ClassTable* const class_table = ClassTableForClassLoader(klass->GetClassLoader()); in ClassInClassTable()
2172 if (klass->GetClassLoader() != defining_class_loader_) { in operator ()()
2439 klass = LookupClass(self, descriptor, h_class.Get()->GetClassLoader()); in EnsureResolved()
3328 LinearAlloc* const allocator = GetAllocatorForClassLoader(klass->GetClassLoader()); in LoadClassMembers()
3455 if (klass->GetClassLoader() != nullptr) { // All non-boot finalizer methods are flagged. in LoadMethod()
3833 if (class_loader.Get() != component_type->GetClassLoader()) { in CreateArrayClass()
[all …]
Dclass_linker_test.cc87 EXPECT_TRUE(primitive->GetClassLoader() == nullptr); in AssertPrimitiveClass()
126 EXPECT_TRUE(JavaLangObject->GetClassLoader() == nullptr); in AssertObjectClass()
183 EXPECT_EQ(class_loader, array->GetClassLoader()); in AssertArrayClass()
417 EXPECT_EQ(class_loader, klass->GetClassLoader()); in AssertDexFileClass()
881 EXPECT_EQ(class_loader.Get(), MyClass->GetClassLoader()); in TEST_F()
1577 ASSERT_TRUE(ClassLinker::IsBootClassLoader(soa, klass->GetClassLoader())); in VerifyClassResolution()
1582 ASSERT_EQ(klass->GetClassLoader(), expected_class_loader.Get()); in VerifyClassResolution()
/art/runtime/native/
Ddalvik_system_VMStack.cc96 return soa.AddLocalReference<jobject>(visitor.caller->GetDeclaringClass()->GetClassLoader()); in VMStack_getCallingClassLoader()
110 ObjPtr<mirror::Object> cl = c->GetClassLoader(); in VMStack_getClosestUserClassLoader()
/art/runtime/verifier/
Dmethod_verifier-inl.h45 inline mirror::ClassLoader* MethodVerifier::GetClassLoader() { in GetClassLoader() function
Dmethod_verifier.cc174 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(klass->GetClassLoader())); in VerifyClass()
598 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(m->GetClassLoader())); in FindLocksAtDexPc()
653 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(m->GetClassLoader())); in FindAccessedFieldAtDexPc()
693 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(m->GetClassLoader())); in FindInvokedMethodAtDexPc()
2569 const RegType& component_type = reg_types_.GetComponentType(array_type, GetClassLoader()); in CodeFlowVerifyInstruction()
2918 return_type = &reg_types_.FromDescriptor(GetClassLoader(), descriptor, false); in CodeFlowVerifyInstruction()
2996 return_type = &reg_types_.FromDescriptor(GetClassLoader(), return_type_descriptor, false); in CodeFlowVerifyInstruction()
3020 const RegType& return_type = reg_types_.FromDescriptor(GetClassLoader(), descriptor, false); in CodeFlowVerifyInstruction()
3075 const RegType& return_type = reg_types_.FromDescriptor(GetClassLoader(), descriptor, false); in CodeFlowVerifyInstruction()
3106 reg_types_.FromDescriptor(GetClassLoader(), return_descriptor, false); in CodeFlowVerifyInstruction()
[all …]
/art/runtime/openjdkjvmti/
Dti_class.h71 static jvmtiError GetClassLoader(jvmtiEnv* env, jclass klass, jobject* classloader_ptr);
Dti_class_definition.cc73 loader_ = soa.AddLocalReference<jobject>(m_klass->GetClassLoader()); in InitCommon()
Dti_redefine.h125 art::mirror::ClassLoader* GetClassLoader() REQUIRES_SHARED(art::Locks::mutator_lock_);
Dti_redefine.cc452 art::mirror::ClassLoader* Redefiner::ClassRedefinition::GetClassLoader() { in GetClassLoader() function in openjdkjvmti::Redefiner::ClassRedefinition
453 return GetMirrorClass()->GetClassLoader(); in GetClassLoader()
549 CallbackCtx ctx(&map, linker->GetAllocatorForClassLoader(art_klass->GetClassLoader())); in FindAndAllocateObsoleteMethods()
1096 hs.NewHandle(GetClassLoader()), in CheckVerification()
1169 art::Handle<art::mirror::ClassLoader> loader(hs.NewHandle(GetClassLoader())); in FinishRemainingAllocations()
/art/compiler/optimizing/
Dbuilder.h58 dex_compilation_unit->GetClassLoader(), in HGraphBuilder()
Dinliner.cc297 index, compilation_unit.GetDexCache().Get(), compilation_unit.GetClassLoader().Get()); in FindClassIndexIn()
687 caller_compilation_unit_.GetClassLoader().Get()); in ExtractClassesFromOfflineProfile()
800 outer_compilation_unit_.GetClassLoader(), in TryInlineMonomorphicCall()
1000 outer_compilation_unit_.GetClassLoader(), in TryInlinePolymorphicCall()
1196 outer_compilation_unit_.GetClassLoader(), in TryInlinePolymorphicCallToSameTarget()
1278 outer_compilation_unit_.GetClassLoader(), in TryInlineAndReplace()
1557 outer_compilation_unit_.GetClassLoader(), in CreateInstanceFieldGet()
1620 NewHandleIfDifferent(resolved_method->GetDeclaringClass()->GetClassLoader(), in TryBuildAndInlineHelper()
1621 caller_compilation_unit_.GetClassLoader(), in TryBuildAndInlineHelper()
1731 outer_compilation_unit_.GetClassLoader(), in TryBuildAndInlineHelper()
/art/test/626-const-class-linking/
Dclear_dex_cache_types.cc59 mirror::ClassLoader* loader = as_class->GetClassLoader(); in Java_Main_nativeDumpClasses()
/art/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc42 ObjPtr<mirror::ClassLoader> class_loader = outer_method->GetClassLoader(); in BssWriteBarrier()
/art/runtime/mirror/
Dclass.cc249 os << ' ' << GetClassLoader(); in DumpClass()
266 << "'" << GetDescriptor(&temp) << "' cl=" << GetClassLoader() << " -----\n", in DumpClass()
272 os << " super='" << h_super->PrettyClass() << "' (cl=" << h_super->GetClassLoader() in DumpClass()
286 ObjPtr<ClassLoader> cl = interface->GetClassLoader(); in DumpClass()
368 if (klass1->GetClassLoader() != klass2->GetClassLoader()) { in IsInSamePackage()
1017 type_idx, klass->GetDexCache(), klass->GetClassLoader()); in GetDirectInterface()
1403 result += mirror::Object::PrettyTypeOf(GetClassLoader()); in PrettyClassAndClassLoader()
Ddex_cache_test.cc88 LinearAlloc* const linear_alloc = klass->GetClassLoader()->GetAllocator(); in TEST_F()
Dclass-inl.h82 inline ClassLoader* Class::GetClassLoader() { in GetClassLoader() function
431 access_to->GetClassLoader()); in ResolvedFieldAccessTest()
468 access_to->GetClassLoader()); in ResolvedMethodAccessTest()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h94 mirror::ClassLoader* class_loader = caller->GetDeclaringClass()->GetClassLoader(); in GetResolvedMethod()
350 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(method->GetClassLoader())); in FindFieldFromCode()
686 method_type_idx, dex_cache, referrer->GetClassLoader()); in FindMethodFast()
/art/compiler/dex/
Ddex_to_dex_compiler.cc299 unit_.GetClassLoader(), in CompileInvokeVirtual()

123