/art/runtime/gc/space/ |
D | dlmalloc_space.cc | 39 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 …]
|
D | dlmalloc_space.h | 38 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);
|
D | dlmalloc_space_static_test.cc | 25 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()
|
D | dlmalloc_space_random_test.cc | 25 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()
|
D | rosalloc_space.cc | 45 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 …]
|
D | rosalloc_space_static_test.cc | 23 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()
|
D | rosalloc_space_random_test.cc | 23 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()
|
D | rosalloc_space.h | 41 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,
|
D | malloc_space.cc | 41 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()
|
D | malloc_space.h | 152 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,
|
D | space_test.h | 130 …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()
|
D | memory_tool_malloc_space.h | 56 MemoryToolMallocSpace(MemMap* mem_map, size_t initial_size, Params... params);
|
D | memory_tool_malloc_space-inl.h | 242 MemMap* mem_map, size_t initial_size, Params... params) : S(mem_map, initial_size, params...) { in MemoryToolMallocSpace() argument
|
D | space_create_test.cc | 35 size_t initial_size, in CreateSpace() argument 42 initial_size, in CreateSpace() 50 initial_size, in CreateSpace()
|
/art/runtime/ |
D | reference_table.cc | 33 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()
|
D | reference_table.h | 41 ReferenceTable(const char* name, size_t initial_size, size_t max_size);
|
/art/compiler/utils/ |
D | swap_space.cc | 61 SwapSpace::SwapSpace(int fd, size_t initial_size) in SwapSpace() argument 67 InsertChunk(NewFileChunk(initial_size)); in SwapSpace()
|
D | swap_space.h | 36 SwapSpace(int fd, size_t initial_size);
|
/art/runtime/gc/ |
D | heap.cc | 128 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 …]
|
D | heap.h | 157 Heap(size_t initial_size, 944 size_t initial_size, 950 size_t initial_size,
|