Lines Matching refs:AllocationInfo

262 class AllocationInfo {  class
264 AllocationInfo() : prev_free_(0), alloc_size_(0) { in AllocationInfo() function in art::gc::space::AllocationInfo
294 AllocationInfo* GetNextInfo() { in GetNextInfo()
297 const AllocationInfo* GetNextInfo() const { in GetNextInfo()
303 AllocationInfo* GetPrevFreeInfo() { in GetPrevFreeInfo()
337 size_t FreeListSpace::GetSlotIndexForAllocationInfo(const AllocationInfo* info) const { in GetSlotIndexForAllocationInfo()
339 DCHECK_LT(info, reinterpret_cast<AllocationInfo*>(allocation_info_map_.End())); in GetSlotIndexForAllocationInfo()
343 AllocationInfo* FreeListSpace::GetAllocationInfoForAddress(uintptr_t address) { in GetAllocationInfoForAddress()
347 const AllocationInfo* FreeListSpace::GetAllocationInfoForAddress(uintptr_t address) const { in GetAllocationInfoForAddress()
351 inline bool FreeListSpace::SortByPrevFree::operator()(const AllocationInfo* a, in operator ()()
352 const AllocationInfo* b) const { in operator ()()
381 const size_t alloc_info_size = sizeof(AllocationInfo) * (space_capacity / kAlignment); in FreeListSpace()
390 allocation_info_ = reinterpret_cast<AllocationInfo*>(allocation_info_map_.Begin()); in FreeListSpace()
398 AllocationInfo* cur_info = &allocation_info_[0]; in Walk()
399 const AllocationInfo* end_info = GetAllocationInfoForAddress(free_end_start); in Walk()
419 void FreeListSpace::RemoveFreePrev(AllocationInfo* info) { in RemoveFreePrev()
431 AllocationInfo* info = GetAllocationInfoForAddress(reinterpret_cast<uintptr_t>(obj)); in Free()
447 AllocationInfo* next_info = info->GetNextInfo(); in Free()
466 AllocationInfo* new_free_info; in Free()
468 AllocationInfo* next_next_info = next_info->GetNextInfo(); in Free()
491 AllocationInfo* info = GetAllocationInfoForAddress(reinterpret_cast<uintptr_t>(obj)); in AllocationSize()
504 AllocationInfo temp_info; in Alloc()
507 AllocationInfo* new_info; in Alloc()
511 AllocationInfo* info = *it; in Alloc()
518 AllocationInfo* new_free = info - info->GetPrevFree(); in Alloc()
563 const AllocationInfo* cur_info = in Dump()
565 const AllocationInfo* end_info = GetAllocationInfoForAddress(free_end_start); in Dump()
585 const AllocationInfo* info = GetAllocationInfoForAddress(reinterpret_cast<uintptr_t>(obj)); in IsZygoteLargeObject()
593 for (AllocationInfo* cur_info = GetAllocationInfoForAddress(reinterpret_cast<uintptr_t>(Begin())), in SetAllLargeObjectsAsZygoteObjects()