Lines Matching refs:AllocationInfo
257 class AllocationInfo { class
259 AllocationInfo() : prev_free_(0), alloc_size_(0) { in AllocationInfo() function in art::gc::space::AllocationInfo
289 AllocationInfo* GetNextInfo() { in GetNextInfo()
292 const AllocationInfo* GetNextInfo() const { in GetNextInfo()
298 AllocationInfo* GetPrevFreeInfo() { in GetPrevFreeInfo()
332 size_t FreeListSpace::GetSlotIndexForAllocationInfo(const AllocationInfo* info) const { in GetSlotIndexForAllocationInfo()
334 DCHECK_LT(info, reinterpret_cast<AllocationInfo*>(allocation_info_map_.End())); in GetSlotIndexForAllocationInfo()
338 AllocationInfo* FreeListSpace::GetAllocationInfoForAddress(uintptr_t address) { in GetAllocationInfoForAddress()
342 const AllocationInfo* FreeListSpace::GetAllocationInfoForAddress(uintptr_t address) const { in GetAllocationInfoForAddress()
346 inline bool FreeListSpace::SortByPrevFree::operator()(const AllocationInfo* a, in operator ()()
347 const AllocationInfo* b) const { in operator ()()
376 const size_t alloc_info_size = sizeof(AllocationInfo) * (space_capacity / kAlignment); in FreeListSpace()
385 allocation_info_ = reinterpret_cast<AllocationInfo*>(allocation_info_map_.Begin()); in FreeListSpace()
393 AllocationInfo* cur_info = &allocation_info_[0]; in Walk()
394 const AllocationInfo* end_info = GetAllocationInfoForAddress(free_end_start); in Walk()
414 void FreeListSpace::RemoveFreePrev(AllocationInfo* info) { in RemoveFreePrev()
427 AllocationInfo* info = GetAllocationInfoForAddress(reinterpret_cast<uintptr_t>(obj)); in Free()
434 AllocationInfo* next_info = info->GetNextInfo(); in Free()
453 AllocationInfo* new_free_info; in Free()
455 AllocationInfo* next_next_info = next_info->GetNextInfo(); in Free()
483 AllocationInfo* info = GetAllocationInfoForAddress(reinterpret_cast<uintptr_t>(obj)); in AllocationSize()
496 AllocationInfo temp_info; in Alloc()
499 AllocationInfo* new_info; in Alloc()
503 AllocationInfo* info = *it; in Alloc()
510 AllocationInfo* new_free = info - info->GetPrevFree(); in Alloc()
555 const AllocationInfo* cur_info = in Dump()
557 const AllocationInfo* end_info = GetAllocationInfoForAddress(free_end_start); in Dump()
577 const AllocationInfo* info = GetAllocationInfoForAddress(reinterpret_cast<uintptr_t>(obj)); in IsZygoteLargeObject()
585 for (AllocationInfo* cur_info = GetAllocationInfoForAddress(reinterpret_cast<uintptr_t>(Begin())), in SetAllLargeObjectsAsZygoteObjects()