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()
176 if (UNLIKELY(res == nullptr && capacity_ > footprint_)) { in AllocPages()
180 … if (it != free_page_runs_.rend() && (last_free_page_run = *it)->End(this) == base_ + footprint_) { in AllocPages()
190 if (capacity_ - footprint_ + last_free_page_run_size >= req_byte_size) { in AllocPages()
193 capacity_ - footprint_); in AllocPages()
195 size_t new_footprint = footprint_ + increment; in AllocPages()
211 FreePageRun* new_free_page_run = reinterpret_cast<FreePageRun*>(base_ + footprint_); in AllocPages()
225 DCHECK_LE(footprint_ + increment, capacity_); in AllocPages()
[all …]
Drosalloc.h83 …rn reinterpret_cast<uint8_t*>(this) + ByteSize(rosalloc) == rosalloc->base_ + rosalloc->footprint_; in IsAtEndOfSpace()
701 size_t footprint_; variable