Searched refs:Top (Results 1 – 3 of 3) sorted by relevance
/art/runtime/gc/space/ |
D | region_space-inl.h | 115 DCHECK_LE(Top(), end_); in Alloc() 262 uint8_t* top = r->Top(); in WalkNonLargeRegion() 491 DCHECK_LT(begin_ + kRegionSize, Top()); in BytesAllocated() 492 return static_cast<size_t>(Top() - begin_); in BytesAllocated() 494 DCHECK_EQ(begin_, Top()); in BytesAllocated() 498 DCHECK_LE(begin_, Top()); in BytesAllocated() 503 bytes = static_cast<size_t>(Top() - begin_); in BytesAllocated() 512 DCHECK_LT(begin_ + kRegionSize, Top()); in ObjectsAllocated() 516 DCHECK_EQ(begin_, Top()); in ObjectsAllocated()
|
D | region_space.h | 442 DCHECK_EQ(begin_, Top()); in IsFree() 476 DCHECK_LT(begin_ + kRegionSize, Top()); in IsLarge() 489 DCHECK_EQ(begin_, Top()); in IsLargeTail() 564 live_bytes_ += IsLarge() ? Top() - begin_ : live_bytes; in AddLiveBytes() 569 return LiveBytes() == static_cast<size_t>(Top() - Begin()); in AllAllocatedBytesAreLive() 585 ALWAYS_INLINE uint8_t* Top() const { in Top() function 605 DCHECK_EQ(Top(), end_); in RecordThreadLocalAllocations() 608 DCHECK_LE(Top(), end_); in RecordThreadLocalAllocations()
|
D | region_space.cc | 658 live_bytes_recount = r->Top() - r->Begin(); in CheckLiveBytesAgainstRegionBitmap() 669 reinterpret_cast<uintptr_t>(r->Top()), in CheckLiveBytesAgainstRegionBitmap() 717 reinterpret_cast<uintptr_t>(r->Top()), in PoisonDeadObjectsInUnevacuatedRegion() 720 if (prev_obj_end < r->Top()) { in PoisonDeadObjectsInUnevacuatedRegion() 721 PoisonUnevacuatedRange(prev_obj_end, r->Top()); in PoisonDeadObjectsInUnevacuatedRegion() 729 if (current_region_->End() - current_region_->Top() > 0) { in LogFragmentationAllocFailure() 730 max_contiguous_allocation = current_region_->End() - current_region_->Top(); in LogFragmentationAllocFailure() 865 DCHECK_GE(r->Top(), pos); in AllocNewTlab() 866 *bytes_tl_bulk_allocated -= r->Top() - pos; in AllocNewTlab() 950 << "-" << reinterpret_cast<void*>(Top()) in Dump()
|