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.cc178 size_t last_free_page_run_size; in AllocPages() local
184 last_free_page_run_size = last_free_page_run->ByteSize(this); in AllocPages()
187 last_free_page_run_size = 0; in AllocPages()
189 DCHECK_LT(last_free_page_run_size, req_byte_size); in AllocPages()
190 if (capacity_ - footprint_ + last_free_page_run_size >= req_byte_size) { in AllocPages()
192 size_t increment = std::min(std::max(2 * MB, req_byte_size - last_free_page_run_size), in AllocPages()
203 if (last_free_page_run_size > 0) { in AllocPages()
205 DCHECK_EQ(last_free_page_run_size, last_free_page_run->ByteSize(this)); in AllocPages()
206 last_free_page_run->SetByteSize(this, last_free_page_run_size + increment); in AllocPages()
236 if (kIsDebugBuild && last_free_page_run_size > 0) { in AllocPages()