/art/runtime/gc/space/ |
D | malloc_space.cc | 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() [all …]
|
D | dlmalloc_space_random_test.cc | 26 size_t capacity, uint8_t* requested_begin) { in CreateDlMallocSpace() argument 27 return DlMallocSpace::Create(name, initial_size, growth_limit, capacity, requested_begin, false); in CreateDlMallocSpace()
|
D | dlmalloc_space_static_test.cc | 26 size_t capacity, uint8_t* requested_begin) { in CreateDlMallocSpace() argument 27 return DlMallocSpace::Create(name, initial_size, growth_limit, capacity, requested_begin, false); in CreateDlMallocSpace()
|
D | rosalloc_space_static_test.cc | 24 size_t capacity, uint8_t* requested_begin) { in CreateRosAllocSpace() argument 25 return RosAllocSpace::Create(name, initial_size, growth_limit, capacity, requested_begin, in CreateRosAllocSpace()
|
D | rosalloc_space_random_test.cc | 24 size_t capacity, uint8_t* requested_begin) { in CreateRosAllocSpace() argument 25 return RosAllocSpace::Create(name, initial_size, growth_limit, capacity, requested_begin, in CreateRosAllocSpace()
|
D | dlmalloc_space.cc | 52 size_t growth_limit, size_t capacity, in CreateFromMemMap() argument 63 if (capacity - starting_size > 0) { in CreateFromMemMap() 64 CheckedCall(mprotect, name.c_str(), end, capacity - starting_size, PROT_NONE); in CreateFromMemMap() 71 mem_map, initial_size, name, mspace, begin, end, begin + capacity, growth_limit, in CreateFromMemMap() 74 return new DlMallocSpace(mem_map, initial_size, name, mspace, begin, end, begin + capacity, in CreateFromMemMap() 80 size_t growth_limit, size_t capacity, uint8_t* requested_begin, in Create() argument 88 << " capacity=" << PrettySize(capacity) in Create() 97 MemMap* mem_map = CreateMemMap(name, starting_size, &initial_size, &growth_limit, &capacity, in Create() 101 << PrettySize(capacity); in Create() 105 growth_limit, capacity, can_move_objects); in Create()
|
D | rosalloc_space.cc | 59 size_t growth_limit, size_t capacity, in CreateFromMemMap() argument 66 capacity, low_memory_mode, running_on_memory_tool); in CreateFromMemMap() 74 if (capacity - starting_size > 0) { in CreateFromMemMap() 75 CheckedCall(mprotect, name.c_str(), end, capacity - starting_size, PROT_NONE); in CreateFromMemMap() 84 mem_map, initial_size, name, rosalloc, begin, end, begin + capacity, growth_limit, in CreateFromMemMap() 87 return new RosAllocSpace(mem_map, initial_size, name, rosalloc, begin, end, begin + capacity, in CreateFromMemMap() 97 size_t growth_limit, size_t capacity, uint8_t* requested_begin, in Create() argument 105 << " capacity=" << PrettySize(capacity) in Create() 114 MemMap* mem_map = CreateMemMap(name, starting_size, &initial_size, &growth_limit, &capacity, in Create() 118 << PrettySize(capacity); in Create() [all …]
|
D | bump_pointer_space.cc | 27 BumpPointerSpace* BumpPointerSpace::Create(const std::string& name, size_t capacity, in Create() argument 29 capacity = RoundUp(capacity, kPageSize); in Create() 31 std::unique_ptr<MemMap> mem_map(MemMap::MapAnonymous(name.c_str(), requested_begin, capacity, in Create() 36 << PrettySize(capacity) << " with message " << error_msg; in Create()
|
D | space.cc | 83 const size_t capacity = static_cast<size_t>(std::numeric_limits<uint32_t>::max()); in DiscontinuousSpace() local 85 capacity)); in DiscontinuousSpace() 88 capacity)); in DiscontinuousSpace()
|
D | large_object_space_test.cc | 41 const size_t capacity = 128 * MB; in LargeObjectTest() local 45 los = space::FreeListSpace::Create("large object space", nullptr, capacity); in LargeObjectTest() 51 CHECK_LE(static_cast<uintptr_t>(los->GetLiveBitmap()->HeapBegin() + capacity), in LargeObjectTest()
|
D | space_test.h | 128 size_t capacity, uint8_t* requested_begin); 326 size_t capacity = 16 * MB; in SizeFootPrintGrowthLimitAndTrimDriver() local 327 MallocSpace* space(create_space("test", initial_size, growth_limit, capacity, nullptr)); in SizeFootPrintGrowthLimitAndTrimDriver() 332 EXPECT_EQ(space->NonGrowthLimitCapacity(), capacity); in SizeFootPrintGrowthLimitAndTrimDriver() 343 EXPECT_EQ(space->Capacity(), capacity); in SizeFootPrintGrowthLimitAndTrimDriver() 344 SizeFootPrintGrowthLimitAndTrimBody(space, object_size, 3, capacity); in SizeFootPrintGrowthLimitAndTrimDriver()
|
D | region_space.cc | 36 MemMap* RegionSpace::CreateMemMap(const std::string& name, size_t capacity, in CreateMemMap() argument 38 CHECK_ALIGNED(capacity, kRegionSize); in CreateMemMap() 46 capacity + kRegionSize, in CreateMemMap() 59 << PrettySize(capacity) << " with message " << error_msg; in CreateMemMap() 63 CHECK_EQ(mem_map->Size(), capacity + kRegionSize); in CreateMemMap() 69 mem_map->SetSize(capacity); in CreateMemMap() 76 CHECK_EQ(mem_map->Size(), capacity); in CreateMemMap()
|
D | dlmalloc_space.h | 39 size_t growth_limit, size_t capacity, 47 size_t capacity, uint8_t* requested_begin, bool can_move_objects);
|
D | rosalloc_space.h | 42 size_t capacity, uint8_t* requested_begin, bool low_memory_mode, 46 size_t growth_limit, size_t capacity,
|
D | space_create_test.cc | 37 size_t capacity, in CreateSpace() argument 44 capacity, in CreateSpace() 52 capacity, in CreateSpace()
|
D | malloc_space.h | 145 size_t* growth_limit, size_t* capacity, uint8_t* requested_begin);
|
D | bump_pointer_space.h | 49 …static BumpPointerSpace* Create(const std::string& name, size_t capacity, uint8_t* requested_begin…
|
/art/openjdkjvmti/ |
D | jvmti_weak_table-inl.h | 256 capacity(reserve) { 261 allocator.deallocate(data, capacity); 262 capacity = 0; 272 capacity = 0; 278 CHECK_GT(new_capacity, capacity); 287 allocator.deallocate(old, capacity); 288 capacity = new_capacity; 292 if (size == capacity) { 293 size_t new_capacity = 2 * capacity + 1; 302 size_t capacity;
|
/art/runtime/gc/accounting/ |
D | atomic_stack.h | 66 static AtomicStack* Create(const std::string& name, size_t growth_limit, size_t capacity) { in Create() argument 67 std::unique_ptr<AtomicStack> mark_stack(new AtomicStack(name, growth_limit, capacity)); in Create() 221 AtomicStack(const std::string& name, size_t growth_limit, size_t capacity) in AtomicStack() argument 227 capacity_(capacity), in AtomicStack()
|
D | card_table.cc | 64 size_t capacity = heap_capacity / kCardSize; in Create() local 68 MemMap::MapAnonymous("card table", nullptr, capacity + 256, PROT_READ | PROT_WRITE, in Create()
|
D | read_barrier_table.h | 38 size_t capacity = static_cast<size_t>(kHeapCapacity / kRegionSize); in ReadBarrierTable() local 42 MemMap* mem_map = MemMap::MapAnonymous("read barrier table", nullptr, capacity, in ReadBarrierTable()
|
D | space_bitmap.cc | 35 size_t SpaceBitmap<kAlignment>::ComputeBitmapSize(uint64_t capacity) { in ComputeBitmapSize() argument 42 return (RoundUp(capacity, kBytesCoveredPerWord) / kBytesCoveredPerWord) * sizeof(intptr_t); in ComputeBitmapSize()
|
/art/compiler/utils/ |
D | assembler.h | 277 static uint8_t* ComputeLimit(uint8_t* data, size_t capacity) { in ComputeLimit() argument 278 return data + capacity - kMinimumGap; in ComputeLimit() 340 void ReserveCFIStream(size_t capacity) { in ReserveCFIStream() argument 341 opcodes_.reserve(capacity); in ReserveCFIStream()
|
/art/runtime/ |
D | indirect_reference_table.h | 188 IrtIterator(IrtEntry* table, size_t i, size_t capacity) REQUIRES_SHARED(Locks::mutator_lock_) in IrtIterator() argument 189 : table_(table), i_(i), capacity_(capacity) { in IrtIterator()
|
D | jni_env_ext.cc | 132 void JNIEnvExt::PushFrame(int capacity) { in PushFrame() argument 133 DCHECK_GE(locals_.FreeCapacity(), static_cast<size_t>(capacity)); in PushFrame()
|