Home
last modified time | relevance | path

Searched refs:classes_ (Results 1 – 18 of 18) sorted by relevance

/art/runtime/
Dclass_table.cc27 classes_.push_back(ClassSet(runtime->GetHashTableMinLoadFactor(), in ClassTable()
33 classes_.push_back(ClassSet()); in FreezeSnapshot()
43 for (ClassSet& class_set : classes_) { in LookupByDescriptor()
58 auto existing_it = classes_.back().FindWithHash(pair, hash); in UpdateClass()
59 if (kIsDebugBuild && existing_it == classes_.back().end()) { in UpdateClass()
60 for (const ClassSet& class_set : classes_) { in UpdateClass()
93 for (size_t i = 0; i < classes_.size() - 1; ++i) { in NumZygoteClasses()
94 sum += CountDefiningLoaderClasses(defining_loader, classes_[i]); in NumZygoteClasses()
101 return CountDefiningLoaderClasses(defining_loader, classes_.back()); in NumNonZygoteClasses()
107 for (size_t i = 0; i < classes_.size() - 1; ++i) { in NumReferencedZygoteClasses()
[all …]
Dclass_table-inl.h33 for (ClassSet& class_set : classes_) { in VisitRoots()
51 for (ClassSet& class_set : classes_) { in VisitRoots()
69 for (ClassSet& class_set : classes_) { in Visit()
82 for (ClassSet& class_set : classes_) { in Visit()
Dclass_table.h289 std::vector<ClassSet> classes_ GUARDED_BY(lock_);
Dclass_linker.cc276 std::fill_n(classes_, kMaxClasses, nullptr); in VisiblyInitializedCallback()
292 classes_[num_classes_] = self->GetJniEnv()->GetVm()->AddWeakGlobalRef(self, klass); in AddClass()
329 klass.Assign(ObjPtr<mirror::Class>::DownCast(self->DecodeJObject(classes_[i]))); in AdjustThreadVisibilityCounter()
330 vm->DeleteWeakGlobalRef(self, classes_[i]); in AdjustThreadVisibilityCounter()
346 jweak classes_[kMaxClasses]; member in art::ClassLinker::VisiblyInitializedCallback
2454 classes_.push_back(klass); in operator ()()
2457 std::vector<ObjPtr<mirror::Class>> classes_; member in art::GetClassesInToVector
2490 for (ObjPtr<mirror::Class> klass : accumulator.classes_) { in VisitClassesWithoutClassesLock()
/art/runtime/jit/
Dprofiling_info.h47 return MemberOffset(OFFSETOF_MEMBER(InlineCache, classes_)); in ClassesOffset()
52 GcRoot<mirror::Class> classes_[kIndividualCacheSize]; variable
Dprofiling_info.cc84 mirror::Class* existing = cache->classes_[i].Read<kWithoutReadBarrier>(); in AddInvokeInfo()
96 auto atomic_root = reinterpret_cast<Atomic<GcRoot<mirror::Class>>*>(&cache->classes_[i]); in AddInvokeInfo()
Djit.cc444 classes_.push_back(klass.Ptr()); in DumpTypeInfoForLoadedTypes()
447 std::vector<mirror::Class*> classes_; in DumpTypeInfoForLoadedTypes() member
455 jit_compiler_->TypesLoaded(visitor.classes_.data(), visitor.classes_.size()); in DumpTypeInfoForLoadedTypes()
Djit_code_cache.cc466 Runtime::ProcessWeakClass(&cache->classes_[j], visitor, nullptr); in SweepRootTables()
625 mirror::Class* object = ic.classes_[in_cache].Read(); in CopyInlineCacheInto()
1646 mirror::Class* cls = cache.classes_[k].Read(); in GetProfiledMethods()
/art/tools/veridex/
Dhidden_api_finder.cc57 classes_.insert(name); in CollectAccesses()
81 classes_.insert(str); in CollectAccesses()
84 classes_.insert(name); in CollectAccesses()
211 for (const std::string& cls : classes_) { in Dump()
Dhidden_api_finder.h55 std::set<std::string> classes_; variable
/art/dex2oat/
Dverifier_deps_test.cc300 for (auto& entry : dex_dep.second->classes_) { in HasClass()
452 has_classes |= !entry.second->classes_.empty(); in HasEachKindOfRecord()
1276 for (const auto& entry : deps.classes_) { in TEST_F()
1278 deps.classes_.insert(VerifierDeps::ClassResolution( in TEST_F()
1287 for (const auto& entry : deps.classes_) { in TEST_F()
1289 deps.classes_.insert(VerifierDeps::ClassResolution( in TEST_F()
1298 for (const auto& entry : deps.classes_) { in TEST_F()
1300 deps.classes_.insert(VerifierDeps::ClassResolution( in TEST_F()
1446 for (const auto& entry : deps->classes_) { in TEST_F()
1448 deps->classes_.insert(VerifierDeps::ClassResolution( in TEST_F()
/art/runtime/verifier/
Dverifier_deps.cc72 my_deps->classes_.merge(other_deps.classes_); in MergeWith()
307 dex_deps->classes_.emplace(ClassResolution(type_idx, GetAccessFlags(klass))); in AddClassResolution()
766 EncodeSet(buffer, deps.classes_); in Encode()
786 DecodeSet</*kFillSet=*/ !kOnlyVerifiedClasses>(data_start, data_end, &deps.classes_) && in DecodeDexFileDeps()
879 (classes_ == rhs.classes_) && in Equals()
928 for (const ClassResolution& entry : dep.second->classes_) { in Dump()
1287 VerifyClasses(class_loader, dex_file, deps.classes_, self, error_msg) && in VerifyDexFile()
Dverifier_deps.h227 std::set<ClassResolution> classes_; member
/art/tools/hiddenapi/
Dhiddenapi.cc502 auto it = classes_.find(descriptor); in FindClass()
503 if (it == classes_.end()) { in FindClass()
514 classes_[klass.GetDescriptor()].AddDexClass(klass); in BuildClassHierarchy()
518 for (auto& entry : classes_) { in BuildClassHierarchy()
545 std::map<std::string_view, HierarchyClass> classes_; member in art::hiddenapi::Hierarchy
/art/runtime/hprof/
Dhprof.cc559 for (const auto& p : classes_) { in WriteClassTable()
613 auto it = classes_.find(c); in LookupClassId()
614 if (it == classes_.end()) { in LookupClassId()
617 classes_.Put(c, sn); in LookupClassId()
721 auto class_result = classes_.find(method->GetDeclaringClass().Ptr()); in WriteStackTraces()
722 CHECK(class_result != classes_.end()); in WriteStackTraces()
893 SafeMap<mirror::Class*, HprofClassSerialNumber> classes_; member in art::hprof::Hprof
/art/openjdkjvmti/
Dti_heap.cc1445 classes_.push_back(self_->GetJniEnv()->AddLocalReference<jclass>(klass)); in GetLoadedClasses()
1451 std::vector<jclass> classes_; in GetLoadedClasses() member in openjdkjvmti::HeapUtil::GetLoadedClasses::ReportClassVisitor
1461 size_t size = rcv.classes_.size(); in GetLoadedClasses()
1470 classes[i] = rcv.classes_[i]; in GetLoadedClasses()
/art/dex2oat/driver/
Dcompiler_driver.cc972 ResolveCatchBlockExceptionsClassVisitor() : classes_() {} in ResolveCatchBlockExceptionsClassVisitor()
975 classes_.push_back(c); in operator ()()
982 for (ObjPtr<mirror::Class> klass : classes_) { in FindExceptionTypesToResolve()
1028 std::vector<ObjPtr<mirror::Class>> classes_; member in art::ResolveCatchBlockExceptionsClassVisitor
/art/dex2oat/linker/
Dimage_writer.cc2920 DCHECK(!temp_class_table.classes_.empty()); in CopyAndFixupNativeData()
2921 DCHECK(!temp_class_table.classes_[0].empty()); // The ClassSet was inserted at the beginning. in CopyAndFixupNativeData()