Home
last modified time | relevance | path

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

/art/runtime/gc/allocator/
Drosalloc.cc119 const size_t req_byte_size = num_pages * kPageSize; in AllocPages() local
126 if (req_byte_size <= fpr_byte_size) { in AllocPages()
134 if (req_byte_size < fpr_byte_size) { in AllocPages()
136 …geRun* remainder = reinterpret_cast<FreePageRun*>(reinterpret_cast<uint8_t*>(fpr) + req_byte_size); in AllocPages()
140 remainder->SetByteSize(this, fpr_byte_size - req_byte_size); in AllocPages()
149 fpr->SetByteSize(this, req_byte_size); in AllocPages()
173 DCHECK_LT(last_free_page_run_size, req_byte_size); in AllocPages()
174 if (capacity_ - footprint_ + last_free_page_run_size >= req_byte_size) { in AllocPages()
176 size_t increment = std::min(std::max(2 * MB, req_byte_size - last_free_page_run_size), in AllocPages()
226 DCHECK_LE(req_byte_size, fpr_byte_size); in AllocPages()
[all …]