Home
last modified time | relevance | path

Searched refs:Top (Results 1 – 3 of 3) sorted by relevance

/art/runtime/gc/space/
Dregion_space-inl.h115 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()
Dregion_space.h438 DCHECK_EQ(begin_, Top()); in IsFree()
472 DCHECK_LT(begin_ + kRegionSize, Top()); in IsLarge()
485 DCHECK_EQ(begin_, Top()); in IsLargeTail()
560 live_bytes_ += IsLarge() ? Top() - begin_ : live_bytes; in AddLiveBytes()
565 return LiveBytes() == static_cast<size_t>(Top() - Begin()); in AllAllocatedBytesAreLive()
581 ALWAYS_INLINE uint8_t* Top() const { in Top() function
601 DCHECK_EQ(Top(), end_); in RecordThreadLocalAllocations()
604 DCHECK_LE(Top(), end_); in RecordThreadLocalAllocations()
Dregion_space.cc652 live_bytes_recount = r->Top() - r->Begin(); in CheckLiveBytesAgainstRegionBitmap()
663 reinterpret_cast<uintptr_t>(r->Top()), in CheckLiveBytesAgainstRegionBitmap()
711 reinterpret_cast<uintptr_t>(r->Top()), in PoisonDeadObjectsInUnevacuatedRegion()
714 if (prev_obj_end < r->Top()) { in PoisonDeadObjectsInUnevacuatedRegion()
715 PoisonUnevacuatedRange(prev_obj_end, r->Top()); in PoisonDeadObjectsInUnevacuatedRegion()
723 if (current_region_->End() - current_region_->Top() > 0) { in LogFragmentationAllocFailure()
724 max_contiguous_allocation = current_region_->End() - current_region_->Top(); in LogFragmentationAllocFailure()
859 DCHECK_GE(r->Top(), pos); in AllocNewTlab()
860 *bytes_tl_bulk_allocated -= r->Top() - pos; in AllocNewTlab()
944 << "-" << reinterpret_cast<void*>(Top()) in Dump()