Home
last modified time | relevance | path

Searched refs:initial_size (Results 1 – 20 of 20) sorted by relevance

/art/runtime/gc/space/
Ddlmalloc_space.cc39 DlMallocSpace::DlMallocSpace(MemMap* mem_map, size_t initial_size, const std::string& name, in DlMallocSpace() argument
43 starting_size, initial_size), in DlMallocSpace()
49 size_t starting_size, size_t initial_size, in CreateFromMemMap() argument
53 void* mspace = CreateMspace(mem_map->Begin(), starting_size, initial_size); in CreateFromMemMap()
69 mem_map, initial_size, name, mspace, begin, end, begin + capacity, growth_limit, in CreateFromMemMap()
72 return new DlMallocSpace(mem_map, initial_size, name, mspace, begin, end, begin + capacity, in CreateFromMemMap()
77 DlMallocSpace* DlMallocSpace::Create(const std::string& name, size_t initial_size, in Create() argument
84 << " initial_size=" << PrettySize(initial_size) in Create()
95 MemMap* mem_map = CreateMemMap(name, starting_size, &initial_size, &growth_limit, &capacity, in Create()
102 DlMallocSpace* space = CreateFromMemMap(mem_map, name, starting_size, initial_size, in Create()
[all …]
Ddlmalloc_space.h38 size_t starting_size, size_t initial_size,
46 static DlMallocSpace* Create(const std::string& name, size_t initial_size, size_t growth_limit,
142 DlMallocSpace(MemMap* mem_map, size_t initial_size, const std::string& name, void* mspace,
152 void* CreateAllocator(void* base, size_t morecore_start, size_t initial_size, in CreateAllocator() argument
154 return CreateMspace(base, morecore_start, initial_size); in CreateAllocator()
156 static void* CreateMspace(void* base, size_t morecore_start, size_t initial_size);
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()
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()
Drosalloc_space.cc45 RosAllocSpace::RosAllocSpace(MemMap* mem_map, size_t initial_size, const std::string& name, in RosAllocSpace() argument
50 starting_size, initial_size), in RosAllocSpace()
56 size_t starting_size, size_t initial_size, in CreateFromMemMap() argument
63 allocator::RosAlloc* rosalloc = CreateRosAlloc(mem_map->Begin(), starting_size, initial_size, in CreateFromMemMap()
82 mem_map, initial_size, name, rosalloc, begin, end, begin + capacity, growth_limit, in CreateFromMemMap()
85 return new RosAllocSpace(mem_map, initial_size, name, rosalloc, begin, end, begin + capacity, in CreateFromMemMap()
94 RosAllocSpace* RosAllocSpace::Create(const std::string& name, size_t initial_size, in Create() argument
101 << " initial_size=" << PrettySize(initial_size) in Create()
112 MemMap* mem_map = CreateMemMap(name, starting_size, &initial_size, &growth_limit, &capacity, in Create()
120 RosAllocSpace* space = CreateFromMemMap(mem_map, name, starting_size, initial_size, in Create()
[all …]
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.h41 static RosAllocSpace* Create(const std::string& name, size_t initial_size, size_t growth_limit,
45 size_t starting_size, size_t initial_size,
150 RosAllocSpace(MemMap* mem_map, size_t initial_size, const std::string& name,
160 void* CreateAllocator(void* base, size_t morecore_start, size_t initial_size, in CreateAllocator() argument
162 return CreateRosAlloc(base, morecore_start, initial_size, maximum_size, low_memory_mode, in CreateAllocator()
165 static allocator::RosAlloc* CreateRosAlloc(void* base, size_t morecore_start, size_t initial_size,
Dmalloc_space.cc41 size_t initial_size) in MallocSpace() argument
45 starting_size_(starting_size), initial_size_(initial_size) { in MallocSpace()
68 …Map* MallocSpace::CreateMemMap(const std::string& name, size_t starting_size, size_t* initial_size, in CreateMemMap() argument
71 if (starting_size > *initial_size) { in CreateMemMap()
72 *initial_size = starting_size; in CreateMemMap()
74 if (*initial_size > *growth_limit) { in CreateMemMap()
76 << PrettySize(*initial_size) << ") is larger than its capacity (" in CreateMemMap()
Dmalloc_space.h152 size_t starting_size, size_t initial_size);
154 static MemMap* CreateMemMap(const std::string& name, size_t starting_size, size_t* initial_size,
159 virtual void* CreateAllocator(void* base, size_t morecore_start, size_t initial_size,
Dspace_test.h130 …typedef MallocSpace* (*CreateSpaceFn)(const std::string& name, size_t initial_size, size_t growth_…
327 size_t initial_size = 4 * MB; in SizeFootPrintGrowthLimitAndTrimDriver() local
330 MallocSpace* space(create_space("test", initial_size, growth_limit, capacity, nullptr)); in SizeFootPrintGrowthLimitAndTrimDriver()
342 SizeFootPrintGrowthLimitAndTrimBody(space, object_size, 1, initial_size); in SizeFootPrintGrowthLimitAndTrimDriver()
Dmemory_tool_malloc_space.h56 MemoryToolMallocSpace(MemMap* mem_map, size_t initial_size, Params... params);
Dmemory_tool_malloc_space-inl.h242 MemMap* mem_map, size_t initial_size, Params... params) : S(mem_map, initial_size, params...) { in MemoryToolMallocSpace() argument
Dspace_create_test.cc35 size_t initial_size, in CreateSpace() argument
42 initial_size, in CreateSpace()
50 initial_size, in CreateSpace()
/art/runtime/
Dreference_table.cc33 ReferenceTable::ReferenceTable(const char* name, size_t initial_size, size_t max_size) in ReferenceTable() argument
35 CHECK_LE(initial_size, max_size); in ReferenceTable()
36 entries_.reserve(initial_size); in ReferenceTable()
Dreference_table.h41 ReferenceTable(const char* name, size_t initial_size, size_t max_size);
/art/compiler/utils/
Dswap_space.cc61 SwapSpace::SwapSpace(int fd, size_t initial_size) in SwapSpace() argument
67 InsertChunk(NewFileChunk(initial_size)); in SwapSpace()
Dswap_space.h36 SwapSpace(int fd, size_t initial_size);
/art/runtime/gc/
Dheap.cc128 Heap::Heap(size_t initial_size, in Heap() argument
183 max_allowed_footprint_(initial_size), in Heap()
184 native_footprint_gc_watermark_(initial_size), in Heap()
437 initial_size, size, size, false); in Heap()
462 CreateMainMallocSpace(main_mem_map_1.release(), initial_size, growth_limit_, capacity_); in Heap()
483 main_space_backup_.reset(CreateMallocSpaceFromMemMap(main_mem_map_2.release(), initial_size, in Heap()
656 size_t initial_size, in CreateMallocSpaceFromMemMap() argument
665 initial_size, growth_limit, capacity, in CreateMallocSpaceFromMemMap()
669 initial_size, growth_limit, capacity, in CreateMallocSpaceFromMemMap()
683 void Heap::CreateMainMallocSpace(MemMap* mem_map, size_t initial_size, size_t growth_limit, in CreateMainMallocSpace() argument
[all …]
Dheap.h157 Heap(size_t initial_size,
944 size_t initial_size,
950 size_t initial_size,