Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dlarge_object_space.cc197 class AllocationInfo { class
199 AllocationInfo() : prev_free_(0), alloc_size_(0) { in AllocationInfo() function in art::gc::space::AllocationInfo
218 AllocationInfo* GetNextInfo() { in GetNextInfo()
221 const AllocationInfo* GetNextInfo() const { in GetNextInfo()
227 AllocationInfo* GetPrevFreeInfo() { in GetPrevFreeInfo()
262 size_t FreeListSpace::GetSlotIndexForAllocationInfo(const AllocationInfo* info) const { in GetSlotIndexForAllocationInfo()
264 DCHECK_LT(info, reinterpret_cast<AllocationInfo*>(allocation_info_map_->End())); in GetSlotIndexForAllocationInfo()
268 AllocationInfo* FreeListSpace::GetAllocationInfoForAddress(uintptr_t address) { in GetAllocationInfoForAddress()
272 const AllocationInfo* FreeListSpace::GetAllocationInfoForAddress(uintptr_t address) const { in GetAllocationInfoForAddress()
276 inline bool FreeListSpace::SortByPrevFree::operator()(const AllocationInfo* a, in operator ()()
[all …]
Dlarge_object_space.h32 class AllocationInfo; variable
161 size_t GetSlotIndexForAllocationInfo(const AllocationInfo* info) const;
162 AllocationInfo* GetAllocationInfoForAddress(uintptr_t address);
163 const AllocationInfo* GetAllocationInfoForAddress(uintptr_t address) const;
167 uintptr_t GetAddressForAllocationInfo(const AllocationInfo* info) const { in GetAddressForAllocationInfo()
171 void RemoveFreePrev(AllocationInfo* info) EXCLUSIVE_LOCKS_REQUIRED(lock_);
175 bool operator()(const AllocationInfo* a, const AllocationInfo* b) const;
177 typedef std::set<AllocationInfo*, SortByPrevFree,
178 TrackingAllocator<AllocationInfo*, kAllocatorTagLOSFreeList>> FreeBlocks;
185 AllocationInfo* allocation_info_;