Home
last modified time | relevance | path

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

/art/runtime/
Dclass_table.cc28 classes_.push_back(ClassSet(runtime->GetHashTableMinLoadFactor(), in ClassTable()
35 DCHECK(!classes_.empty()); in FreezeSnapshot()
36 const ClassSet& last_set = classes_.back(); in FreezeSnapshot()
38 classes_.push_back(std::move(new_set)); in FreezeSnapshot()
45 auto existing_it = classes_.back().FindWithHash(slot, hash); in UpdateClass()
46 if (UNLIKELY(existing_it == classes_.back().end())) { in UpdateClass()
47 for (const ClassSet& class_set : classes_) { in UpdateClass()
82 for (size_t i = 0; i < classes_.size() - 1; ++i) { in NumZygoteClasses()
83 sum += CountDefiningLoaderClasses(defining_loader, classes_[i]); in NumZygoteClasses()
90 return CountDefiningLoaderClasses(defining_loader, classes_.back()); in NumNonZygoteClasses()
[all …]
Dclass_table-inl.h73 for (ClassSet& class_set : classes_) { in VisitRoots()
93 for (ClassSet& class_set : classes_) { in VisitRoots()
112 for (ClassSet& class_set : classes_) { in VisitClassesIfConditionMet()
143 for (ClassSet& class_set : classes_) { in VisitClassesAndRoots()
161 for (ClassSet& class_set : classes_) { in Visit()
174 for (ClassSet& class_set : classes_) { in Visit()
251 return classes_.size(); in Size()
Druntime_image.cc91 classes_(allocator_.Adapter()), in RuntimeImageHelper()
244 auto it = classes_.find(class_def); in GetClassContent()
245 DCHECK(it != classes_.end()) << cls->PrettyClass(); in GetClassContent()
660 auto class_it = classes_.find(class_def); in EmitClasses()
661 if (class_it == classes_.end()) { in EmitClasses()
821 for (auto&& entry : classes_) { in RelocateNativePointers()
918 DCHECK(classes_.find(declaring_class->GetClassDef()) != classes_.end()); in CopyMethodArrays()
923 classes_.Get(declaring_class->GetClassDef()))); in CopyMethodArrays()
1547 auto class_it = classes_.find(class_def); in TryInitializeClass()
1548 if (class_it == classes_.end()) { in TryInitializeClass()
[all …]
Dclass_table.h291 std::vector<ClassSet> classes_ GUARDED_BY(lock_);
Dclass_linker.cc243 std::fill_n(classes_, kMaxClasses, nullptr); in VisiblyInitializedCallback()
259 classes_[num_classes_] = self->GetJniEnv()->GetVm()->AddWeakGlobalRef(self, klass); in AddClass()
307 klass.Assign(ObjPtr<mirror::Class>::DownCast(self->DecodeJObject(classes_[i]))); in MarkVisiblyInitialized()
308 vm->DeleteWeakGlobalRef(self, classes_[i]); in MarkVisiblyInitialized()
329 jweak classes_[kMaxClasses]; member in art::ClassLinker::VisiblyInitializedCallback
2597 classes_.push_back(klass); in operator ()()
2600 std::vector<ObjPtr<mirror::Class>> classes_; member in art::GetClassesInToVector
2633 for (ObjPtr<mirror::Class> klass : accumulator.classes_) { in VisitClassesWithoutClassesLock()
/art/tools/veridex/
Dhidden_api_finder.cc57 classes_.insert(name); in CollectAccesses()
88 classes_.insert(str); in CollectAccesses()
91 classes_.insert(name); in CollectAccesses()
218 for (const std::string& cls : classes_) { in Dump()
Dhidden_api_finder.h55 std::set<std::string> classes_; variable
/art/runtime/jit/
Dprofiling_info.h51 return MemberOffset(OFFSETOF_MEMBER(InlineCache, classes_)); in ClassesOffset()
68 GcRoot<mirror::Class> classes_[kIndividualCacheSize]; variable
Dprofiling_info.cc121 mirror::Class* existing = cache->classes_[i].Read<kWithoutReadBarrier>(); in AddInvokeInfo()
133 auto atomic_root = reinterpret_cast<Atomic<GcRoot<mirror::Class>>*>(&cache->classes_[i]); in AddInvokeInfo()
Djit.cc329 classes_.push_back(klass.Ptr()); in DumpTypeInfoForLoadedTypes()
332 std::vector<mirror::Class*> classes_; in DumpTypeInfoForLoadedTypes() member
340 jit_compiler_->TypesLoaded(visitor.classes_.data(), visitor.classes_.size()); in DumpTypeInfoForLoadedTypes()
Djit_code_cache.cc455 mirror::Class* klass = cache->classes_[j].Read<kWithoutReadBarrier>(); in SweepRootTables()
459 cache->classes_[j] = GcRoot<mirror::Class>(new_klass); in SweepRootTables()
637 static_assert(arraysize(ic.classes_) == InlineCache::kIndividualCacheSize); in CopyInlineCacheInto()
643 for (const GcRoot<mirror::Class>& root : ic.classes_) { in CopyInlineCacheInto()
1496 mirror::Class* cls = cache.classes_[k].Read(); in GetProfiledMethods()
/art/runtime/hprof/
Dhprof.cc554 for (const auto& p : classes_) { in WriteClassTable()
608 auto it = classes_.find(c); in LookupClassId()
609 if (it == classes_.end()) { in LookupClassId()
612 classes_.Put(c, sn); in LookupClassId()
716 auto class_result = classes_.find(method->GetDeclaringClass().Ptr()); in WriteStackTraces()
717 CHECK(class_result != classes_.end()); in WriteStackTraces()
888 SafeMap<mirror::Class*, HprofClassSerialNumber> classes_; member in art::hprof::Hprof
/art/tools/hiddenapi/
Dhiddenapi.cc501 auto it = classes_.find(descriptor); in FindClass()
502 if (it == classes_.end()) { in FindClass()
513 classes_[klass.GetDescriptor()].AddDexClass(klass); in BuildClassHierarchy()
517 for (auto& entry : classes_) { in BuildClassHierarchy()
549 std::map<std::string_view, HierarchyClass> classes_; member in art::hiddenapi::Hierarchy
/art/openjdkjvmti/
Dti_heap.cc1450 classes_.push_back(self_->GetJniEnv()->AddLocalReference<jclass>(klass)); in GetLoadedClasses()
1456 std::vector<jclass> classes_; in GetLoadedClasses() member in openjdkjvmti::HeapUtil::GetLoadedClasses::ReportClassVisitor
1466 size_t size = rcv.classes_.size(); in GetLoadedClasses()
1475 classes[i] = rcv.classes_[i]; in GetLoadedClasses()
/art/dex2oat/linker/
Dimage_writer.cc1144 DCHECK(!class_table->classes_.empty()); in Prune()
1145 ClassTable::ClassSet& last_class_set = class_table->classes_.back(); in Prune()
1151 DCHECK(std::none_of(class_table->classes_.begin(), in Prune()
1152 class_table->classes_.end(), in Prune()
1718 DCHECK_EQ(app_class_table->classes_.size(), 1u); in ProcessCollectedClasses()
1719 const ClassTable::ClassSet& app_class_set = app_class_table->classes_[0]; in ProcessCollectedClasses()
3085 CHECK(!temp_class_table.classes_.empty()); in CopyAndFixupNativeData()
3087 CHECK_EQ(temp_class_table.classes_[0].size(), table.size()); in CopyAndFixupNativeData()
/art/profman/
Dprofman.cc822 std::set<dex::TypeIndex> classes_; in GetInlineCacheLine() member
855 val->second.classes_.insert(type_index); in GetInlineCacheLine()
872 for (dex::TypeIndex type_index : dex_data.classes_) { in GetInlineCacheLine()