Lines Matching refs:capacity
74 … size_t* growth_limit, size_t* capacity, uint8_t* requested_begin) { in CreateMemMap() argument
85 if (*growth_limit > *capacity) { in CreateMemMap()
88 << PrettySize(*capacity) << ")"; in CreateMemMap()
94 *capacity = RoundUp(*capacity, kPageSize); in CreateMemMap()
97 MemMap* mem_map = MemMap::MapAnonymous(name.c_str(), requested_begin, *capacity, in CreateMemMap()
101 << PrettySize(*capacity) << ": " << error_msg; in CreateMemMap()
182 const size_t capacity = NonGrowthLimitCapacity() - size; in CreateZygoteSpace() local
194 VLOG(heap) << "Capacity " << PrettySize(capacity); in CreateZygoteSpace()
200 void* allocator = CreateAllocator(End(), starting_size_, initial_size_, capacity, in CreateZygoteSpace()
204 if (capacity > initial_size_) { in CreateZygoteSpace()
205 CheckedCall(mprotect, alloc_space_name, end, capacity - initial_size_, PROT_NONE); in CreateZygoteSpace()