Home
last modified time | relevance | path

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

/art/runtime/gc/allocator/
Drosalloc.cc134 const size_t req_byte_size = num_pages * kPageSize; in AllocPages() local
141 if (req_byte_size <= fpr_byte_size) { in AllocPages()
149 if (req_byte_size < fpr_byte_size) { in AllocPages()
152 reinterpret_cast<FreePageRun*>(reinterpret_cast<uint8_t*>(fpr) + req_byte_size); in AllocPages()
156 remainder->SetByteSize(this, fpr_byte_size - req_byte_size); in AllocPages()
165 fpr->SetByteSize(this, req_byte_size); 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()
242 DCHECK_LE(req_byte_size, fpr_byte_size); in AllocPages()
[all …]