Lines Matching refs:Capacity
74 size_t* growth_limit, size_t* capacity, uint8_t* requested_begin) {
81 << PrettySize(*initial_size) << ") is larger than its capacity ("
85 if (*growth_limit > *capacity) {
86 LOG(ERROR) << "Failed to create alloc space (" << name << ") where the growth limit capacity ("
87 << PrettySize(*growth_limit) << ") is larger than the capacity ("
88 << PrettySize(*capacity) << ")";
92 // Page align growth limit and capacity which will be used to manage mmapped storage
94 *capacity = RoundUp(*capacity, kPageSize);
97 MemMap* mem_map = MemMap::MapAnonymous(name.c_str(), requested_begin, *capacity,
101 << PrettySize(*capacity) << ": " << error_msg;
142 // Should never be asked to increase the allocation beyond the capacity of the space. Enforced
144 CHECK_LE(new_end, Begin() + Capacity());
182 const size_t capacity = NonGrowthLimitCapacity() - size;
187 << "Capacity " << Capacity();
194 VLOG(heap) << "Capacity " << PrettySize(capacity);
200 void* allocator = CreateAllocator(End(), starting_size_, initial_size_, capacity,
204 if (capacity > initial_size_) {
205 CheckedCall(mprotect, alloc_space_name, end, capacity - initial_size_, PROT_NONE);
231 << ",size=" << PrettySize(Size()) << ",capacity=" << PrettySize(Capacity())
257 size_t new_capacity = Capacity();