Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Ddlmalloc_space.cc41 size_t initial_size) 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 name, mem_map, mspace, begin, end, begin + capacity, growth_limit, initial_size, in CreateFromMemMap()
73 can_move_objects, starting_size, initial_size); 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,
133 size_t initial_size);
140 void* CreateAllocator(void* base, size_t morecore_start, size_t initial_size, in CreateAllocator() argument
142 return CreateMspace(base, morecore_start, initial_size); in CreateAllocator()
144 static void* CreateMspace(void* base, size_t morecore_start, size_t initial_size);
Drosalloc_space.cc47 size_t starting_size, size_t initial_size, bool low_memory_mode) in RosAllocSpace() argument
49 starting_size, initial_size), in RosAllocSpace()
55 size_t starting_size, size_t initial_size, in CreateFromMemMap() argument
59 allocator::RosAlloc* rosalloc = CreateRosAlloc(mem_map->Begin(), starting_size, initial_size, in CreateFromMemMap()
80 can_move_objects, starting_size, initial_size, low_memory_mode); in CreateFromMemMap()
88 RosAllocSpace* RosAllocSpace::Create(const std::string& name, size_t initial_size, in Create() argument
95 << " initial_size=" << PrettySize(initial_size) in Create()
106 MemMap* mem_map = CreateMemMap(name, starting_size, &initial_size, &growth_limit, &capacity, in Create()
114 RosAllocSpace* space = CreateFromMemMap(mem_map, name, starting_size, initial_size, in Create()
126 size_t initial_size, in CreateRosAlloc() argument
[all …]
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,
130 size_t starting_size, size_t initial_size, bool low_memory_mode);
137 void* CreateAllocator(void* base, size_t morecore_start, size_t initial_size, in CreateAllocator() argument
139 return CreateRosAlloc(base, morecore_start, initial_size, maximum_size, low_memory_mode); in CreateAllocator()
141 static allocator::RosAlloc* CreateRosAlloc(void* base, size_t morecore_start, size_t initial_size,
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()
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()
Dvalgrind_malloc_space-inl.h98 size_t initial_size, in ValgrindMallocSpace() argument
101 initial_size) { in ValgrindMallocSpace()
102 VALGRIND_MAKE_MEM_UNDEFINED(mem_map->Begin() + initial_size, mem_map->Size() - initial_size); in ValgrindMallocSpace()
Dmalloc_space.h143 size_t starting_size, size_t initial_size);
145 static MemMap* CreateMemMap(const std::string& name, size_t starting_size, size_t* initial_size,
150 virtual void* CreateAllocator(void* base, size_t morecore_start, size_t initial_size,
Dvalgrind_malloc_space.h51 size_t initial_size, bool can_move_objects, size_t starting_size);
Dspace_test.h112 …typedef MallocSpace* (*CreateSpaceFn)(const std::string& name, size_t initial_size, size_t growth_…
547 size_t initial_size = 4 * MB; in SizeFootPrintGrowthLimitAndTrimDriver() local
550 MallocSpace* space(create_space("test", initial_size, growth_limit, capacity, nullptr)); in SizeFootPrintGrowthLimitAndTrimDriver()
562 SizeFootPrintGrowthLimitAndTrimBody(space, object_size, 1, initial_size); in SizeFootPrintGrowthLimitAndTrimDriver()
/art/runtime/
Dreference_table.cc32 ReferenceTable::ReferenceTable(const char* name, size_t initial_size, size_t max_size) in ReferenceTable() argument
34 CHECK_LE(initial_size, max_size); in ReferenceTable()
35 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.cc66 SwapSpace::SwapSpace(int fd, size_t initial_size) in SwapSpace() argument
72 InsertChunk(&free_by_start_, &free_by_size_, NewFileChunk(initial_size)); in SwapSpace()
Dswap_space.h62 SwapSpace(int fd, size_t initial_size);
/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,
738 space::MallocSpace* CreateMallocSpaceFromMemMap(MemMap* mem_map, size_t initial_size,
Dheap.cc116 Heap::Heap(size_t initial_size, size_t growth_limit, size_t min_free, size_t max_free, in Heap() argument
154 max_allowed_footprint_(initial_size), in Heap()
155 native_footprint_gc_watermark_(initial_size), in Heap()
309 initial_size, size, size, false); in Heap()
330 CreateMainMallocSpace(main_mem_map_1.release(), initial_size, growth_limit_, capacity_); in Heap()
351 main_space_backup_.reset(CreateMallocSpaceFromMemMap(main_mem_map_2.release(), initial_size, in Heap()
467 space::MallocSpace* Heap::CreateMallocSpaceFromMemMap(MemMap* mem_map, size_t initial_size, 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
[all …]