Home
last modified time | relevance | path

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

/art/runtime/gc/allocator/
Drosalloc.cc136 size_t fpr_byte_size = fpr->ByteSize(this); in AllocPages()
154 DCHECK_EQ(remainder->ByteSize(this) % kPageSize, static_cast<size_t>(0)); in AllocPages()
163 DCHECK_EQ(fpr->ByteSize(this) % kPageSize, static_cast<size_t>(0)); in AllocPages()
181 last_free_page_run_size = last_free_page_run->ByteSize(this); in AllocPages()
202 DCHECK_EQ(last_free_page_run_size, last_free_page_run->ByteSize(this)); in AllocPages()
204 DCHECK_EQ(last_free_page_run->ByteSize(this) % kPageSize, static_cast<size_t>(0)); in AllocPages()
213 DCHECK_EQ(new_free_page_run->ByteSize(this) % kPageSize, static_cast<size_t>(0)); in AllocPages()
237 size_t fpr_byte_size = fpr->ByteSize(this); in AllocPages()
252 DCHECK_EQ(remainder->ByteSize(this) % kPageSize, static_cast<size_t>(0)); in AllocPages()
260 DCHECK_EQ(fpr->ByteSize(this) % kPageSize, static_cast<size_t>(0)); in AllocPages()
[all …]
Drosalloc.h54 size_t ByteSize(RosAlloc* rosalloc) const REQUIRES(rosalloc->lock_) { in ByteSize() function
74 uint8_t* end = fpr_base + ByteSize(rosalloc); in End()
79 return ByteSize(rosalloc) >= rosalloc->page_release_size_threshold_; in IsLargerThanPageReleaseThreshold()
83 …return reinterpret_cast<uint8_t*>(this) + ByteSize(rosalloc) == rosalloc->base_ + rosalloc->footpr… in IsAtEndOfSpace()
104 size_t byte_size = ByteSize(rosalloc); in ReleasePages()
/art/runtime/gc/space/
Dlarge_object_space.cc255 size_t ByteSize() const { in ByteSize() function in art::gc::space::AllocationInfo
380 size_t alloc_size = cur_info->ByteSize(); in Walk()
406 const size_t allocation_size = info->ByteSize(); in Free()
435 DCHECK_ALIGNED(next_next_info->ByteSize(), kAlignment); in Free()
462 size_t alloc_size = info->ByteSize(); in AllocationSize()
536 size_t size = cur_info->ByteSize(); in Dump()