Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dspace_test.h128 size_t growth_limit,
132 int round, size_t growth_limit);
145 size_t growth_limit) { in SizeFootPrintGrowthLimitAndTrimBody() argument
146 if (((object_size > 0 && object_size >= static_cast<intptr_t>(growth_limit))) || in SizeFootPrintGrowthLimitAndTrimBody()
147 ((object_size < 0 && -object_size >= static_cast<intptr_t>(growth_limit)))) { in SizeFootPrintGrowthLimitAndTrimBody()
159 EXPECT_LE(footprint, growth_limit); in SizeFootPrintGrowthLimitAndTrimBody()
162 EXPECT_LE(space->Size(), growth_limit); in SizeFootPrintGrowthLimitAndTrimBody()
169 size_t max_objects = (growth_limit / (object_size > 0 ? object_size : 8)) + 1; in SizeFootPrintGrowthLimitAndTrimBody()
228 EXPECT_LE(amount_allocated, growth_limit); in SizeFootPrintGrowthLimitAndTrimBody()
229 EXPECT_LE(footprint, growth_limit); in SizeFootPrintGrowthLimitAndTrimBody()
[all …]
Dmalloc_space.cc51 size_t growth_limit, in MallocSpace() argument
59 growth_limit_(growth_limit), can_move_objects_(can_move_objects), in MallocSpace()
85 size_t* growth_limit, in CreateMemMap() argument
91 if (*initial_size > *growth_limit) { in CreateMemMap()
94 << PrettySize(*growth_limit) << ")"; in CreateMemMap()
97 if (*growth_limit > *capacity) { in CreateMemMap()
99 << PrettySize(*growth_limit) << ") is larger than the capacity (" in CreateMemMap()
105 *growth_limit = RoundUp(*growth_limit, kPageSize); in CreateMemMap()
142 void MallocSpace::SetGrowthLimit(size_t growth_limit) { in SetGrowthLimit() argument
143 growth_limit = RoundUp(growth_limit, kPageSize); in SetGrowthLimit()
[all …]
Ddlmalloc_space.cc48 size_t growth_limit, in DlMallocSpace() argument
56 growth_limit, in DlMallocSpace()
68 size_t growth_limit, in CreateFromMemMap() argument
94 begin + capacity, growth_limit, in CreateFromMemMap()
105 growth_limit, in CreateFromMemMap()
113 size_t growth_limit, in Create() argument
121 << " growth_limit=" << PrettySize(growth_limit) in Create()
130 MemMap mem_map = CreateMemMap(name, starting_size, &initial_size, &growth_limit, &capacity); in Create()
140 growth_limit, in Create()
198 size_t growth_limit, in CreateInstance() argument
[all …]
Ddlmalloc_space_random_test.cc28 size_t growth_limit, in CreateDlMallocSpace() argument
31 name, initial_size, growth_limit, capacity, /*can_move_objects=*/ false); in CreateDlMallocSpace()
Ddlmalloc_space_static_test.cc28 size_t growth_limit, in CreateDlMallocSpace() argument
31 name, initial_size, growth_limit, capacity, /*can_move_objects=*/ false); in CreateDlMallocSpace()
Drosalloc_space_random_test.cc28 size_t growth_limit, in CreateRosAllocSpace() argument
32 growth_limit, in CreateRosAllocSpace()
Drosalloc_space_static_test.cc28 size_t growth_limit, in CreateRosAllocSpace() argument
31 growth_limit, in CreateRosAllocSpace()
Drosalloc_space.cc54 size_t growth_limit, in RosAllocSpace() argument
63 growth_limit, in RosAllocSpace()
75 size_t growth_limit, in CreateFromMemMap() argument
113 growth_limit, in CreateFromMemMap()
125 growth_limit, in CreateFromMemMap()
138 size_t growth_limit, in Create() argument
147 << " growth_limit=" << PrettySize(growth_limit) in Create()
156 MemMap mem_map = CreateMemMap(name, starting_size, &initial_size, &growth_limit, &capacity); in Create()
167 growth_limit, in Create()
230 size_t growth_limit, in CreateInstance() argument
[all …]
Ddlmalloc_space.h41 size_t growth_limit,
51 size_t growth_limit,
136 size_t growth_limit,
163 size_t growth_limit,
Dmalloc_space.h116 void SetGrowthLimit(size_t growth_limit);
124 size_t growth_limit,
152 size_t growth_limit,
161 size_t* growth_limit,
Drosalloc_space.h43 size_t growth_limit,
51 size_t growth_limit,
127 size_t growth_limit,
169 size_t growth_limit,
Dspace_create_test.cc36 size_t growth_limit, in CreateSpace() argument
42 growth_limit, in CreateSpace()
49 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()
224 AtomicStack(const std::string& name, size_t growth_limit, size_t capacity) in AtomicStack() argument
229 growth_limit_(growth_limit), in AtomicStack()
/art/runtime/gc/
Dheap.h192 size_t growth_limit,
1159 size_t growth_limit,
1165 size_t growth_limit,
Dheap.cc249 size_t growth_limit, in Heap() argument
318 growth_limit_(growth_limit), in Heap()
833 size_t growth_limit, in CreateMallocSpaceFromMemMap() argument
844 growth_limit, in CreateMallocSpaceFromMemMap()
853 growth_limit, in CreateMallocSpaceFromMemMap()
870 size_t growth_limit, in CreateMainMallocSpace() argument
890 growth_limit, in CreateMainMallocSpace()