/art/runtime/gc/space/ |
D | dlmalloc_space.cc | 41 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 …]
|
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, 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);
|
D | rosalloc_space.cc | 47 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 …]
|
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, 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,
|
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 | dlmalloc_space_base_test.cc | 26 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()
|
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 | 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_base_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 | 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 | valgrind_malloc_space-inl.h | 98 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()
|
D | malloc_space.h | 143 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,
|
D | valgrind_malloc_space.h | 51 size_t initial_size, bool can_move_objects, size_t starting_size);
|
D | space_test.h | 112 …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/ |
D | reference_table.cc | 32 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()
|
D | reference_table.h | 41 ReferenceTable(const char* name, size_t initial_size, size_t max_size);
|
/art/compiler/utils/ |
D | swap_space.cc | 66 SwapSpace::SwapSpace(int fd, size_t initial_size) in SwapSpace() argument 72 InsertChunk(&free_by_start_, &free_by_size_, NewFileChunk(initial_size)); in SwapSpace()
|
D | swap_space.h | 62 SwapSpace(int fd, size_t initial_size);
|
/art/runtime/gc/ |
D | heap.h | 156 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,
|
D | heap.cc | 116 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 …]
|