Home
last modified time | relevance | path

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

/art/runtime/gc/allocator/
Drosalloc.cc132 const size_t req_byte_size = num_pages * kPageSize; in AllocPages() local
139 if (req_byte_size <= fpr_byte_size) { in AllocPages()
147 if (req_byte_size < fpr_byte_size) { in AllocPages()
150 reinterpret_cast<FreePageRun*>(reinterpret_cast<uint8_t*>(fpr) + req_byte_size); in AllocPages()
154 remainder->SetByteSize(this, fpr_byte_size - req_byte_size); in AllocPages()
163 fpr->SetByteSize(this, req_byte_size); in AllocPages()
187 DCHECK_LT(last_free_page_run_size, req_byte_size); in AllocPages()
188 if (capacity_ - footprint_ + last_free_page_run_size >= req_byte_size) { in AllocPages()
190 size_t increment = std::min(std::max(2 * MB, req_byte_size - last_free_page_run_size), in AllocPages()
240 DCHECK_LE(req_byte_size, fpr_byte_size); in AllocPages()
[all …]