/art/runtime/gc/space/ |
D | space_test.h | 127 …ef MallocSpace* (*CreateSpaceFn)(const std::string& name, size_t initial_size, size_t growth_limit, 131 int round, size_t growth_limit); 144 size_t growth_limit) { in SizeFootPrintGrowthLimitAndTrimBody() argument 145 if (((object_size > 0 && object_size >= static_cast<intptr_t>(growth_limit))) || in SizeFootPrintGrowthLimitAndTrimBody() 146 ((object_size < 0 && -object_size >= static_cast<intptr_t>(growth_limit)))) { in SizeFootPrintGrowthLimitAndTrimBody() 158 EXPECT_LE(footprint, growth_limit); in SizeFootPrintGrowthLimitAndTrimBody() 161 EXPECT_LE(space->Size(), growth_limit); in SizeFootPrintGrowthLimitAndTrimBody() 168 size_t max_objects = (growth_limit / (object_size > 0 ? object_size : 8)) + 1; in SizeFootPrintGrowthLimitAndTrimBody() 227 EXPECT_LE(amount_allocated, growth_limit); in SizeFootPrintGrowthLimitAndTrimBody() 228 EXPECT_LE(footprint, growth_limit); in SizeFootPrintGrowthLimitAndTrimBody() [all …]
|
D | malloc_space.cc | 44 uint8_t* begin, uint8_t* end, uint8_t* limit, size_t growth_limit, in MallocSpace() argument 49 growth_limit_(growth_limit), can_move_objects_(can_move_objects), in MallocSpace() 74 … size_t* growth_limit, size_t* capacity, uint8_t* requested_begin) { in CreateMemMap() argument 79 if (*initial_size > *growth_limit) { in CreateMemMap() 82 << PrettySize(*growth_limit) << ")"; in CreateMemMap() 85 if (*growth_limit > *capacity) { in CreateMemMap() 87 << PrettySize(*growth_limit) << ") is larger than the capacity (" in CreateMemMap() 93 *growth_limit = RoundUp(*growth_limit, kPageSize); in CreateMemMap() 127 void MallocSpace::SetGrowthLimit(size_t growth_limit) { in SetGrowthLimit() argument 128 growth_limit = RoundUp(growth_limit, kPageSize); in SetGrowthLimit() [all …]
|
D | dlmalloc_space.cc | 43 size_t growth_limit, bool can_move_objects, size_t starting_size) in DlMallocSpace() argument 44 : MallocSpace(name, mem_map, begin, end, limit, growth_limit, true, can_move_objects, in DlMallocSpace() 52 size_t growth_limit, size_t capacity, in CreateFromMemMap() argument 71 mem_map, initial_size, name, mspace, begin, end, begin + capacity, growth_limit, in CreateFromMemMap() 75 growth_limit, can_move_objects, starting_size); in CreateFromMemMap() 80 size_t growth_limit, size_t capacity, uint8_t* requested_begin, in Create() argument 87 << " growth_limit=" << PrettySize(growth_limit) in Create() 97 MemMap* mem_map = CreateMemMap(name, starting_size, &initial_size, &growth_limit, &capacity, in Create() 105 growth_limit, capacity, can_move_objects); in Create() 157 uint8_t* limit, size_t growth_limit, in CreateInstance() argument [all …]
|
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_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_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 | rosalloc_space.cc | 49 uint8_t* limit, size_t growth_limit, bool can_move_objects, in RosAllocSpace() argument 51 : MallocSpace(name, mem_map, begin, end, limit, growth_limit, true, can_move_objects, in RosAllocSpace() 59 size_t growth_limit, size_t capacity, in CreateFromMemMap() argument 84 mem_map, initial_size, name, rosalloc, begin, end, begin + capacity, growth_limit, in CreateFromMemMap() 88 growth_limit, can_move_objects, starting_size, low_memory_mode); in CreateFromMemMap() 97 size_t growth_limit, size_t capacity, uint8_t* requested_begin, in Create() argument 104 << " growth_limit=" << PrettySize(growth_limit) in Create() 114 MemMap* mem_map = CreateMemMap(name, starting_size, &initial_size, &growth_limit, &capacity, in Create() 123 growth_limit, capacity, low_memory_mode, in Create() 180 uint8_t* limit, size_t growth_limit, in CreateInstance() argument [all …]
|
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, 122 uint8_t* begin, uint8_t* end, uint8_t* limit, size_t growth_limit, 143 uint8_t* begin, uint8_t* end, uint8_t* limit, size_t growth_limit,
|
D | malloc_space.h | 114 void SetGrowthLimit(size_t growth_limit); 118 size_t growth_limit, bool can_move_objects) = 0; 141 uint8_t* limit, size_t growth_limit, bool create_bitmaps, bool can_move_objects, 145 size_t* growth_limit, size_t* capacity, uint8_t* 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, 115 uint8_t* begin, uint8_t* end, uint8_t* limit, size_t growth_limit, 152 size_t growth_limit, bool can_move_objects, size_t starting_size,
|
D | space_create_test.cc | 36 size_t growth_limit, in CreateSpace() argument 43 growth_limit, in CreateSpace() 51 growth_limit, in CreateSpace()
|
/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 226 growth_limit_(growth_limit), in AtomicStack()
|
/art/runtime/gc/ |
D | heap.h | 171 size_t growth_limit, 1000 size_t growth_limit, 1006 size_t growth_limit,
|
D | heap.cc | 165 size_t growth_limit, in Heap() argument 221 growth_limit_(growth_limit), in Heap() 659 size_t growth_limit, in CreateMallocSpaceFromMemMap() argument 667 initial_size, growth_limit, capacity, in CreateMallocSpaceFromMemMap() 671 initial_size, growth_limit, capacity, in CreateMallocSpaceFromMemMap() 685 void Heap::CreateMainMallocSpace(MemMap* mem_map, size_t initial_size, size_t growth_limit, in CreateMainMallocSpace() argument 704 main_space_ = CreateMallocSpaceFromMemMap(mem_map, initial_size, growth_limit, capacity, name, in CreateMainMallocSpace()
|