/art/runtime/gc/space/ |
D | malloc_space.cc | 39 byte* begin, byte* end, byte* limit, size_t growth_limit, in MallocSpace() argument 44 growth_limit_(growth_limit), can_move_objects_(can_move_objects), in MallocSpace() 69 size_t* growth_limit, size_t* capacity, byte* requested_begin) { in CreateMemMap() argument 74 if (*initial_size > *growth_limit) { in CreateMemMap() 77 << PrettySize(*growth_limit) << ")"; in CreateMemMap() 80 if (*growth_limit > *capacity) { in CreateMemMap() 82 << PrettySize(*growth_limit) << ") is larger than the capacity (" in CreateMemMap() 88 *growth_limit = RoundUp(*growth_limit, kPageSize); in CreateMemMap() 122 void MallocSpace::SetGrowthLimit(size_t growth_limit) { in SetGrowthLimit() argument 123 growth_limit = RoundUp(growth_limit, kPageSize); in SetGrowthLimit() [all …]
|
D | space_test.h | 112 …ef MallocSpace* (*CreateSpaceFn)(const std::string& name, size_t initial_size, size_t growth_limit, 120 int round, size_t growth_limit); 376 int round, size_t growth_limit) { in SizeFootPrintGrowthLimitAndTrimBody() argument 377 if (((object_size > 0 && object_size >= static_cast<intptr_t>(growth_limit))) || in SizeFootPrintGrowthLimitAndTrimBody() 378 ((object_size < 0 && -object_size >= static_cast<intptr_t>(growth_limit)))) { in SizeFootPrintGrowthLimitAndTrimBody() 390 EXPECT_LE(footprint, growth_limit); in SizeFootPrintGrowthLimitAndTrimBody() 393 EXPECT_LE(space->Size(), growth_limit); in SizeFootPrintGrowthLimitAndTrimBody() 400 size_t max_objects = (growth_limit / (object_size > 0 ? object_size : 8)) + 1; in SizeFootPrintGrowthLimitAndTrimBody() 454 EXPECT_LE(amount_allocated, growth_limit); in SizeFootPrintGrowthLimitAndTrimBody() 455 EXPECT_LE(footprint, growth_limit); in SizeFootPrintGrowthLimitAndTrimBody() [all …]
|
D | dlmalloc_space.cc | 39 byte* end, byte* limit, size_t growth_limit, in DlMallocSpace() argument 42 : MallocSpace(name, mem_map, begin, end, limit, growth_limit, true, can_move_objects, in DlMallocSpace() 50 size_t growth_limit, size_t capacity, in CreateFromMemMap() argument 69 name, mem_map, mspace, begin, end, begin + capacity, growth_limit, initial_size, in CreateFromMemMap() 72 return new DlMallocSpace(name, mem_map, mspace, begin, end, begin + capacity, growth_limit, in CreateFromMemMap() 78 size_t growth_limit, size_t capacity, byte* requested_begin, in Create() argument 85 << " growth_limit=" << PrettySize(growth_limit) in Create() 95 MemMap* mem_map = CreateMemMap(name, starting_size, &initial_size, &growth_limit, &capacity, in Create() 103 growth_limit, capacity, can_move_objects); in Create() 153 byte* limit, size_t growth_limit, in CreateInstance() argument [all …]
|
D | rosalloc_space.cc | 46 byte* limit, size_t growth_limit, bool can_move_objects, in RosAllocSpace() argument 48 : MallocSpace(name, mem_map, begin, end, limit, growth_limit, true, can_move_objects, in RosAllocSpace() 56 size_t growth_limit, size_t capacity, in CreateFromMemMap() argument 79 return new RosAllocSpace(name, mem_map, rosalloc, begin, end, begin + capacity, growth_limit, in CreateFromMemMap() 89 size_t growth_limit, size_t capacity, byte* requested_begin, in Create() argument 96 << " growth_limit=" << PrettySize(growth_limit) in Create() 106 MemMap* mem_map = CreateMemMap(name, starting_size, &initial_size, &growth_limit, &capacity, in Create() 115 growth_limit, capacity, low_memory_mode, in Create() 167 byte* begin, byte* end, byte* limit, size_t growth_limit, in CreateInstance() argument 170 begin, end, limit, growth_limit, can_move_objects, starting_size_, in CreateInstance()
|
D | dlmalloc_space_random_test.cc | 25 MallocSpace* CreateDlMallocSpace(const std::string& name, size_t initial_size, size_t growth_limit, in CreateDlMallocSpace() argument 27 return DlMallocSpace::Create(name, initial_size, growth_limit, capacity, requested_begin, false); in CreateDlMallocSpace()
|
D | dlmalloc_space_base_test.cc | 26 MallocSpace* CreateDlMallocSpace(const std::string& name, size_t initial_size, size_t growth_limit, in CreateDlMallocSpace() argument 28 return DlMallocSpace::Create(name, initial_size, growth_limit, capacity, requested_begin, false); in CreateDlMallocSpace()
|
D | dlmalloc_space_static_test.cc | 25 MallocSpace* CreateDlMallocSpace(const std::string& name, size_t initial_size, size_t growth_limit, in CreateDlMallocSpace() argument 27 return DlMallocSpace::Create(name, initial_size, growth_limit, capacity, requested_begin, false); in CreateDlMallocSpace()
|
D | rosalloc_space_static_test.cc | 23 MallocSpace* CreateRosAllocSpace(const std::string& name, size_t initial_size, size_t growth_limit, in CreateRosAllocSpace() argument 25 return RosAllocSpace::Create(name, initial_size, growth_limit, capacity, requested_begin, in CreateRosAllocSpace()
|
D | rosalloc_space_base_test.cc | 23 MallocSpace* CreateRosAllocSpace(const std::string& name, size_t initial_size, size_t growth_limit, in CreateRosAllocSpace() argument 25 return RosAllocSpace::Create(name, initial_size, growth_limit, capacity, requested_begin, in CreateRosAllocSpace()
|
D | rosalloc_space_random_test.cc | 23 MallocSpace* CreateRosAllocSpace(const std::string& name, size_t initial_size, size_t growth_limit, in CreateRosAllocSpace() argument 25 return RosAllocSpace::Create(name, initial_size, growth_limit, capacity, requested_begin, in CreateRosAllocSpace()
|
D | dlmalloc_space.h | 39 size_t growth_limit, size_t capacity, 46 static DlMallocSpace* Create(const std::string& name, size_t initial_size, size_t growth_limit, 111 byte* begin, byte* end, byte* limit, size_t growth_limit, 132 byte* limit, size_t growth_limit, bool can_move_objects, size_t starting_size,
|
D | malloc_space.h | 115 void SetGrowthLimit(size_t growth_limit); 118 byte* begin, byte* end, byte* limit, size_t growth_limit, 142 byte* limit, size_t growth_limit, bool create_bitmaps, bool can_move_objects, 146 size_t* growth_limit, size_t* capacity, byte* requested_begin);
|
D | rosalloc_space.h | 41 static RosAllocSpace* Create(const std::string& name, size_t initial_size, size_t growth_limit, 46 size_t growth_limit, size_t capacity, 96 byte* begin, byte* end, byte* limit, size_t growth_limit, 129 byte* begin, byte* end, byte* limit, size_t growth_limit, bool can_move_objects,
|
D | valgrind_malloc_space-inl.h | 97 byte* end, byte* limit, size_t growth_limit, in ValgrindMallocSpace() argument 100 S(name, mem_map, allocator, begin, end, limit, growth_limit, can_move_objects, starting_size, in ValgrindMallocSpace()
|
D | valgrind_malloc_space.h | 50 byte* begin, byte* end, byte* limit, size_t growth_limit,
|
/art/runtime/gc/accounting/ |
D | atomic_stack.h | 38 static AtomicStack* Create(const std::string& name, size_t growth_limit, size_t capacity) { in Create() argument 39 std::unique_ptr<AtomicStack> mark_stack(new AtomicStack(name, growth_limit, capacity)); in Create() 183 AtomicStack(const std::string& name, size_t growth_limit, size_t capacity) in AtomicStack() argument 188 growth_limit_(growth_limit), in AtomicStack()
|
/art/runtime/gc/ |
D | heap.h | 156 explicit Heap(size_t initial_size, size_t growth_limit, size_t min_free, 734 void CreateMainMallocSpace(MemMap* mem_map, size_t initial_size, size_t growth_limit, 739 size_t growth_limit, size_t capacity,
|
D | heap.cc | 116 Heap::Heap(size_t initial_size, size_t growth_limit, size_t min_free, size_t max_free, in Heap() argument 153 growth_limit_(growth_limit), in Heap() 468 size_t growth_limit, size_t capacity, in CreateMallocSpaceFromMemMap() argument 474 initial_size, growth_limit, capacity, in CreateMallocSpaceFromMemMap() 478 initial_size, growth_limit, capacity, in CreateMallocSpaceFromMemMap() 492 void Heap::CreateMainMallocSpace(MemMap* mem_map, size_t initial_size, size_t growth_limit, in CreateMainMallocSpace() argument 511 main_space_ = CreateMallocSpaceFromMemMap(mem_map, initial_size, growth_limit, capacity, name, in CreateMainMallocSpace()
|