Home
last modified time | relevance | path

Searched refs:footprint_ (Results 1 – 2 of 2) sorted by relevance

/art/runtime/gc/allocator/
Drosalloc.cc54 : base_(reinterpret_cast<uint8_t*>(base)), footprint_(capacity), in RosAlloc()
85 DCHECK_EQ(footprint_, capacity_); in RosAlloc()
86 size_t num_of_pages = footprint_ / kPageSize; in RosAlloc()
168 if (UNLIKELY(res == nullptr && capacity_ > footprint_)) { in AllocPages()
172 … if (it != free_page_runs_.rend() && (last_free_page_run = *it)->End(this) == base_ + footprint_) { in AllocPages()
182 if (capacity_ - footprint_ + last_free_page_run_size >= req_byte_size) { in AllocPages()
185 capacity_ - footprint_); in AllocPages()
187 size_t new_footprint = footprint_ + increment; in AllocPages()
203 FreePageRun* new_free_page_run = reinterpret_cast<FreePageRun*>(base_ + footprint_); in AllocPages()
217 DCHECK_LE(footprint_ + increment, capacity_); in AllocPages()
[all …]
Drosalloc.h83 …rn reinterpret_cast<uint8_t*>(this) + ByteSize(rosalloc) == rosalloc->base_ + rosalloc->footprint_; in IsAtEndOfSpace()
700 size_t footprint_; variable