Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dmalloc_space.cc39 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 …]
Dspace_test.h112 …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 …]
Ddlmalloc_space.cc39 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 …]
Drosalloc_space.cc46 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()
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_base_test.cc26 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()
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_base_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()
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,
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,
Dmalloc_space.h115 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);
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,
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,
Dvalgrind_malloc_space-inl.h97 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()
Dvalgrind_malloc_space.h50 byte* begin, byte* end, byte* limit, size_t growth_limit,
/art/runtime/gc/accounting/
Datomic_stack.h38 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/
Dheap.h156 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,
Dheap.cc116 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()