Home
last modified time | relevance | path

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

/art/runtime/gc/allocator/
Drosalloc.cc59 : base_(reinterpret_cast<uint8_t*>(base)), footprint_(capacity), in RosAlloc()
90 DCHECK_EQ(footprint_, capacity_); in RosAlloc()
91 size_t num_of_pages = footprint_ / kPageSize; in RosAlloc()
174 if (UNLIKELY(res == nullptr && capacity_ > footprint_)) { in AllocPages()
178 … if (it != free_page_runs_.rend() && (last_free_page_run = *it)->End(this) == base_ + footprint_) { in AllocPages()
188 if (capacity_ - footprint_ + last_free_page_run_size >= req_byte_size) { in AllocPages()
191 capacity_ - footprint_); in AllocPages()
193 size_t new_footprint = footprint_ + increment; in AllocPages()
209 FreePageRun* new_free_page_run = reinterpret_cast<FreePageRun*>(base_ + footprint_); in AllocPages()
223 DCHECK_LE(footprint_ + increment, capacity_); in AllocPages()
[all …]
Drosalloc.h84 …rn reinterpret_cast<uint8_t*>(this) + ByteSize(rosalloc) == rosalloc->base_ + rosalloc->footprint_; in IsAtEndOfSpace()
701 size_t footprint_; variable