Home
last modified time | relevance | path

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

/art/runtime/gc/allocator/
Drosalloc.cc170 size_t last_free_page_run_size; in AllocPages() local
176 last_free_page_run_size = last_free_page_run->ByteSize(this); in AllocPages()
179 last_free_page_run_size = 0; in AllocPages()
181 DCHECK_LT(last_free_page_run_size, req_byte_size); in AllocPages()
182 if (capacity_ - footprint_ + last_free_page_run_size >= req_byte_size) { in AllocPages()
184 size_t increment = std::min(std::max(2 * MB, req_byte_size - last_free_page_run_size), in AllocPages()
195 if (last_free_page_run_size > 0) { in AllocPages()
197 DCHECK_EQ(last_free_page_run_size, last_free_page_run->ByteSize(this)); in AllocPages()
198 last_free_page_run->SetByteSize(this, last_free_page_run_size + increment); in AllocPages()
228 if (kIsDebugBuild && last_free_page_run_size > 0) { in AllocPages()