Home
last modified time | relevance | path

Searched refs:AllocationInfo (Results 1 – 5 of 5) sorted by relevance

/aosp12/art/runtime/gc/space/
H A Dlarge_object_space.cc262 class AllocationInfo { class
294 AllocationInfo* GetNextInfo() { in GetNextInfo()
297 const AllocationInfo* GetNextInfo() const { in GetNextInfo()
303 AllocationInfo* GetPrevFreeInfo() { in GetPrevFreeInfo()
398 AllocationInfo* cur_info = &allocation_info_[0]; in Walk()
447 AllocationInfo* next_info = info->GetNextInfo(); in Free()
466 AllocationInfo* new_free_info; in Free()
504 AllocationInfo temp_info; in Alloc()
507 AllocationInfo* new_info; in Alloc()
511 AllocationInfo* info = *it; in Alloc()
[all …]
H A Dlarge_object_space.h34 class AllocationInfo; variable
209 size_t GetSlotIndexForAllocationInfo(const AllocationInfo* info) const;
210 AllocationInfo* GetAllocationInfoForAddress(uintptr_t address);
211 const AllocationInfo* GetAllocationInfoForAddress(uintptr_t address) const;
215 uintptr_t GetAddressForAllocationInfo(const AllocationInfo* info) const { in GetAddressForAllocationInfo()
219 void RemoveFreePrev(AllocationInfo* info) REQUIRES(lock_);
227 bool operator()(const AllocationInfo* a, const AllocationInfo* b) const;
229 typedef std::set<AllocationInfo*, SortByPrevFree,
230 TrackingAllocator<AllocationInfo*, kAllocatorTagLOSFreeList>> FreeBlocks;
237 AllocationInfo* allocation_info_;
/aosp12/system/memory/libmemunreachable/
H A DHeapWalker.h94 struct AllocationInfo { struct
100 bool WordContainsAllocationPtr(uintptr_t ptr, Range* range, AllocationInfo** info); argument
105 using AllocationMap = allocator::map<Range, AllocationInfo, compare_range>;
130 AllocationInfo* ref_info; in ForEachPtrInRange()
141 HeapWalker::AllocationInfo& allocation = it.second; in ForEachAllocation()
H A DHeapWalker.cpp59 auto inserted = allocations_.insert(std::pair<Range, AllocationInfo>(range, AllocationInfo{})); in Allocation()
86 bool HeapWalker::WordContainsAllocationPtr(uintptr_t word_ptr, Range* range, AllocationInfo** info)… in WordContainsAllocationPtr()
112 ForEachPtrInRange(range, [&](Range& ref_range, AllocationInfo* ref_info) { in RecurseRoot()
H A DLeakFolding.cpp75 heap_walker_.ForEachAllocation([&](const Range& range, HeapWalker::AllocationInfo& allocation) { in FoldLeaks()
88 [&](Range& ptr_range, HeapWalker::AllocationInfo* ptr_info) { in FoldLeaks()