Lines Matching refs:AllocationInfo

197 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 ()()
277 const AllocationInfo* b) const { in operator ()()
301 const size_t alloc_info_size = sizeof(AllocationInfo) * (space_capacity / kAlignment); in FreeListSpace()
308 allocation_info_ = reinterpret_cast<AllocationInfo*>(allocation_info_map_->Begin()); in FreeListSpace()
316 AllocationInfo* cur_info = &allocation_info_[0]; in Walk()
317 const AllocationInfo* end_info = GetAllocationInfoForAddress(free_end_start); in Walk()
331 void FreeListSpace::RemoveFreePrev(AllocationInfo* info) { in RemoveFreePrev()
344 AllocationInfo* info = GetAllocationInfoForAddress(reinterpret_cast<uintptr_t>(obj)); in Free()
351 AllocationInfo* next_info = info->GetNextInfo(); in Free()
370 AllocationInfo* new_free_info; in Free()
372 AllocationInfo* next_next_info = next_info->GetNextInfo(); in Free()
400 AllocationInfo* info = GetAllocationInfoForAddress(reinterpret_cast<uintptr_t>(obj)); in AllocationSize()
413 AllocationInfo temp_info; in Alloc()
416 AllocationInfo* new_info; in Alloc()
420 AllocationInfo* info = *it; in Alloc()
427 AllocationInfo* new_free = info - info->GetPrevFree(); in Alloc()
470 const AllocationInfo* cur_info = in Dump()
472 const AllocationInfo* end_info = GetAllocationInfoForAddress(free_end_start); in Dump()