Home
last modified time | relevance | path

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

/art/runtime/gc/allocator/
Drosalloc.cc139 size_t fpr_byte_size = fpr->ByteSize(this); in AllocPages()
157 DCHECK_EQ(remainder->ByteSize(this) % kPageSize, static_cast<size_t>(0)); in AllocPages()
166 DCHECK_EQ(fpr->ByteSize(this) % kPageSize, static_cast<size_t>(0)); in AllocPages()
184 last_free_page_run_size = last_free_page_run->ByteSize(this); in AllocPages()
205 DCHECK_EQ(last_free_page_run_size, last_free_page_run->ByteSize(this)); in AllocPages()
207 DCHECK_EQ(last_free_page_run->ByteSize(this) % kPageSize, static_cast<size_t>(0)); in AllocPages()
216 DCHECK_EQ(new_free_page_run->ByteSize(this) % kPageSize, static_cast<size_t>(0)); in AllocPages()
240 size_t fpr_byte_size = fpr->ByteSize(this); in AllocPages()
255 DCHECK_EQ(remainder->ByteSize(this) % kPageSize, static_cast<size_t>(0)); in AllocPages()
263 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.cc271 size_t ByteSize() const { in ByteSize() function in art::gc::space::AllocationInfo
402 size_t alloc_size = cur_info->ByteSize(); in Walk()
433 const size_t allocation_size = info->ByteSize(); in Free()
471 DCHECK_ALIGNED(next_next_info->ByteSize(), kAlignment); in Free()
493 size_t alloc_size = info->ByteSize(); in AllocationSize()
567 size_t size = cur_info->ByteSize(); in Dump()