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() 496 DCHECK_LT(begin_ + kRegionSize, Top()); in BytesAllocated() 497 return static_cast<size_t>(Top() - begin_); in BytesAllocated() 499 DCHECK_EQ(begin_, Top()); in BytesAllocated() 503 DCHECK_LE(begin_, Top()); in BytesAllocated() 508 bytes = static_cast<size_t>(Top() - begin_); in BytesAllocated() 517 DCHECK_LT(begin_ + kRegionSize, Top()); in ObjectsAllocated() 521 DCHECK_EQ(begin_, Top()); in ObjectsAllocated()
|
D | region_space.h | 427 DCHECK_EQ(begin_, Top()); in IsFree() 461 DCHECK_LT(begin_ + kRegionSize, Top()); in IsLarge() 474 DCHECK_EQ(begin_, Top()); in IsLargeTail() 549 live_bytes_ += IsLarge() ? Top() - begin_ : live_bytes; in AddLiveBytes() 554 return LiveBytes() == static_cast<size_t>(Top() - Begin()); in AllAllocatedBytesAreLive() 570 ALWAYS_INLINE uint8_t* Top() const { in Top() function 591 DCHECK_EQ(Top(), end_); in RecordThreadLocalAllocations() 594 DCHECK_LE(Top(), end_); in RecordThreadLocalAllocations()
|
D | region_space.cc | 648 live_bytes_recount = r->Top() - r->Begin(); in CheckLiveBytesAgainstRegionBitmap() 659 reinterpret_cast<uintptr_t>(r->Top()), in CheckLiveBytesAgainstRegionBitmap() 707 reinterpret_cast<uintptr_t>(r->Top()), in PoisonDeadObjectsInUnevacuatedRegion() 710 if (prev_obj_end < r->Top()) { in PoisonDeadObjectsInUnevacuatedRegion() 711 PoisonUnevacuatedRange(prev_obj_end, r->Top()); in PoisonDeadObjectsInUnevacuatedRegion() 719 if (current_region_->End() - current_region_->Top() > 0) { in LogFragmentationAllocFailure() 720 max_contiguous_allocation = current_region_->End() - current_region_->Top(); in LogFragmentationAllocFailure() 906 << "-" << reinterpret_cast<void*>(Top()) in Dump()
|