Home
last modified time | relevance | path

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

12

/art/runtime/
Dclass_linker-inl.h49 Handle<mirror::ClassLoader> class_loader(hs.NewHandle((*element_class)->GetClassLoader())); in FindArrayClass()
82 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveType()
98 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveType()
123 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveMethod()
149 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveField()
Djava_vm_ext.cc77 jobject GetClassLoader() const { in GetClassLoader() function in art::SharedLibrary
217 const mirror::ClassLoader* declaring_class_loader = m->GetDeclaringClass()->GetClassLoader(); in FindNativeMethod()
221 if (soa.Decode<mirror::ClassLoader*>(library->GetClassLoader()) != declaring_class_loader) { in FindNativeMethod()
612 if (env->IsSameObject(library->GetClassLoader(), class_loader) == JNI_FALSE) { in LoadNativeLibrary()
618 path.c_str(), library->GetClassLoader(), class_loader); in LoadNativeLibrary()
Dclass_linker.cc107 method->GetDeclaringClass()->GetClassLoader() in HasInitWithString()
1555 h_class.Get()->GetClassLoader()); in EnsureResolved()
2411 if (klass->GetClassLoader() != nullptr) { // All non-boot finalizer methods are flagged. in LoadMethod()
2632 if (class_loader.Get() != component_type->GetClassLoader()) { in CreateArrayClass()
2633 … mirror::Class* new_class = LookupClass(self, descriptor, hash, component_type->GetClassLoader()); in CreateArrayClass()
2678 new_class->SetClassLoader(component_type->GetClassLoader()); in CreateArrayClass()
2772 mirror::Class* existing = LookupClassFromTableLocked(descriptor, klass->GetClassLoader(), hash); in InsertClass()
2776 if (kIsDebugBuild && !klass->IsTemp() && klass->GetClassLoader() == nullptr && in InsertClass()
2808 auto existing_it = class_table_.FindWithHash(std::make_pair(descriptor, klass->GetClassLoader()), in UpdateClass()
2817 if (kIsDebugBuild && klass->GetClassLoader() == nullptr && in UpdateClass()
[all …]
Dart_method-inl.h438 inline mirror::ClassLoader* ArtMethod::GetClassLoader() { in GetClassLoader() function
440 return GetDeclaringClass()->GetClassLoader(); in GetClassLoader()
Dclass_linker_test.cc76 EXPECT_TRUE(primitive->GetClassLoader() == nullptr); in AssertPrimitiveClass()
113 EXPECT_EQ(class_loader, array->GetClassLoader()); in AssertArrayClass()
331 EXPECT_EQ(class_loader, klass->GetClassLoader()); in AssertDexFileClass()
706 EXPECT_TRUE(JavaLangObject->GetClassLoader() == nullptr); in TEST_F()
750 EXPECT_EQ(class_loader.Get(), MyClass->GetClassLoader()); in TEST_F()
Dquick_exception_handler.cc207 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in HandleDeoptimization()
Dart_method.h518 mirror::ClassLoader* GetClassLoader() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
Dprofiler.cc412 if (cls->GetClassLoader() == nullptr) { in ProcessMethod()
Djni_internal.cc150 static mirror::ClassLoader* GetClassLoader(const ScopedObjectAccess& soa) in GetClassLoader() function
159 return method->GetDeclaringClass()->GetClassLoader(); in GetClassLoader()
193 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(c->GetClassLoader())); in FindFieldID()
352 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(GetClassLoader(soa))); in FindClass()
Ddebugger.h287 static JDWP::JdwpError GetClassLoader(JDWP::RefTypeId id, JDWP::ExpandBuf* pReply)
/art/compiler/driver/
Dcompiler_driver-inl.h37 inline mirror::ClassLoader* CompilerDriver::GetClassLoader(ScopedObjectAccess& soa, in GetClassLoader() function
39 return soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader()); in GetClassLoader()
47 DCHECK_EQ(class_loader.Get(), soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader())); in ResolveClass()
62 DCHECK_EQ(class_loader.Get(), soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader())); in ResolveCompilingMethodsClass()
97 DCHECK_EQ(class_loader.Get(), soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader())); in ResolveField()
271 DCHECK_EQ(class_loader.Get(), soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader())); in ResolveMethod()
Ddex_compilation_unit.h48 jobject GetClassLoader() const { in GetClassLoader() function
Dcompiler_driver.cc557 soa.Env(), soa.AddLocalReference<jobject>(method->GetDeclaringClass()->GetClassLoader())); in CompileOne()
596 method->GetDeclaringClass()->GetClassLoader())); in CompileMethod()
1268 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader()))); in ComputeInstanceFieldInfo()
1318 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader()))); in ComputeStaticFieldInfo()
1382 bool method_code_in_boot = declaring_class->GetClassLoader() == nullptr; in GetCodeAndMethodForDirectCall()
1504 soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader()))); in ComputeInvokeInfo()
1595 jobject GetClassLoader() const { in GetClassLoader() function in art::ParallelCompilationManager
1725 jobject jclass_loader = manager->GetClassLoader(); in ResolveClassFieldsAndMethods()
1834 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(manager->GetClassLoader()))); in ResolveType()
1896 jobject jclass_loader = manager->GetClassLoader(); in VerifyClass()
[all …]
Dcompiler_driver.h228 mirror::ClassLoader* GetClassLoader(ScopedObjectAccess& soa, const DexCompilationUnit* mUnit)
/art/runtime/native/
Ddalvik_system_VMStack.cc81 return soa.AddLocalReference<jobject>(visitor.caller->GetDeclaringClass()->GetClassLoader()); in VMStack_getCallingClassLoader()
95 mirror::Object* cl = c->GetClassLoader(); in VMStack_getClosestUserClassLoader()
/art/runtime/verifier/
Dmethod_verifier-inl.h41 inline mirror::ClassLoader* MethodVerifier::GetClassLoader() { in GetClassLoader() function
Dmethod_verifier.cc122 auto h_class_loader(hs.NewHandle(klass->GetClassLoader())); in VerifyMethod()
162 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(klass->GetClassLoader())); in VerifyClass()
427 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(m->GetClassLoader())); in FindLocksAtDexPc()
471 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(m->GetClassLoader())); in FindAccessedFieldAtDexPc()
500 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(m->GetClassLoader())); in FindInvokedMethodAtDexPc()
531 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(m->GetClassLoader())); in FindStringInitMap()
2086 const RegType& component_type = reg_types_.GetComponentType(array_type, GetClassLoader()); in CodeFlowVerifyInstruction()
2423 return_type = &reg_types_.FromDescriptor(GetClassLoader(), descriptor, false); in CodeFlowVerifyInstruction()
2505 return_type = &reg_types_.FromDescriptor(GetClassLoader(), return_type_descriptor, in CodeFlowVerifyInstruction()
2532 const RegType& return_type = reg_types_.FromDescriptor(GetClassLoader(), descriptor, false); in CodeFlowVerifyInstruction()
[all …]
Dmethod_verifier.h240 mirror::ClassLoader* GetClassLoader() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
/art/compiler/dex/
Dmir_field_info.cc51 hs.NewHandle(compiler_driver->GetClassLoader(soa, mUnit))); in Resolve()
116 hs.NewHandle(compiler_driver->GetClassLoader(soa, mUnit))); in Resolve()
Dmir_method_info.cc60 hs.NewHandle(compiler_driver->GetClassLoader(soa, mUnit))); in Resolve()
111 mUnit->GetCompilationUnit(), mUnit->GetClassLoader(), mUnit->GetClassLinker(), in Resolve()
Dverified_method.cc361 ->GetComponentType(array_type, method_verifier->GetClassLoader()); in GenerateSafeCastSet()
/art/runtime/mirror/
Dclass.cc200 os << ' ' << GetClassLoader(); in DumpClass()
217 << "'" << GetDescriptor(&temp) << "' cl=" << GetClassLoader() << " -----\n", in DumpClass()
223 os << " super='" << PrettyClass(h_super.Get()) << "' (cl=" << h_super->GetClassLoader() in DumpClass()
237 const ClassLoader* cl = interface->GetClassLoader(); in DumpClass()
317 if (klass1->GetClassLoader() != klass2->GetClassLoader()) { in IsInSamePackage()
Dclass.h654 ClassLoader* GetClassLoader() ALWAYS_INLINE SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
1137 return GetClassLoader() == nullptr; in IsBootStrapClassLoaded()
/art/compiler/optimizing/
Dinliner.cc162 caller_compilation_unit_.GetClassLoader(), in TryBuildAndInline()
Dbuilder.cc674 soa.Decode<mirror::ClassLoader*>(dex_compilation_unit_->GetClassLoader()))); in BuildInvoke()
876 soa.Decode<mirror::ClassLoader*>(compilation_unit.GetClassLoader()))); in GetClassFrom()
897 soa.Decode<mirror::ClassLoader*>(dex_compilation_unit_->GetClassLoader()))); in IsOutermostCompilingClass()
916 soa.Decode<mirror::ClassLoader*>(dex_compilation_unit_->GetClassLoader()))); in BuildStaticFieldAccess()

12