Lines Matching refs:capacity
69 size_t* growth_limit, size_t* capacity, byte* requested_begin) { in CreateMemMap() argument
80 if (*growth_limit > *capacity) { in CreateMemMap()
83 << PrettySize(*capacity) << ")"; in CreateMemMap()
89 *capacity = RoundUp(*capacity, kPageSize); in CreateMemMap()
92 MemMap* mem_map = MemMap::MapAnonymous(name.c_str(), requested_begin, *capacity, in CreateMemMap()
96 << PrettySize(*capacity) << ": " << error_msg; in CreateMemMap()
176 const size_t capacity = Capacity() - size; in CreateZygoteSpace() local
188 VLOG(heap) << "Capacity " << PrettySize(capacity); in CreateZygoteSpace()
194 void* allocator = CreateAllocator(End(), starting_size_, initial_size_, capacity, in CreateZygoteSpace()
198 if (capacity > initial_size_) { in CreateZygoteSpace()
199 CHECK_MEMORY_CALL(mprotect, (end, capacity - initial_size_, PROT_NONE), alloc_space_name); in CreateZygoteSpace()