Home
last modified time | relevance | path

Searched refs:growth_limit (Results 1 – 15 of 15) sorted by relevance

/art/runtime/gc/space/
Dspace_test.h127 …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 …]
Dmalloc_space.cc44 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 …]
Ddlmalloc_space.cc43 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 …]
Ddlmalloc_space_random_test.cc25 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()
Ddlmalloc_space_static_test.cc25 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()
Drosalloc_space_static_test.cc23 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()
Drosalloc_space_random_test.cc23 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()
Drosalloc_space.cc49 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 …]
Ddlmalloc_space.h39 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,
Dmalloc_space.h114 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);
Drosalloc_space.h41 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,
Dspace_create_test.cc36 size_t growth_limit, in CreateSpace() argument
43 growth_limit, in CreateSpace()
51 growth_limit, in CreateSpace()
/art/runtime/gc/accounting/
Datomic_stack.h66 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/
Dheap.h171 size_t growth_limit,
1000 size_t growth_limit,
1006 size_t growth_limit,
Dheap.cc165 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()