/art/runtime/gc/accounting/ |
D | bitmap.cc | 30 Bitmap* Bitmap::CreateFromMemMap(MemMap&& mem_map, size_t num_bits) { in CreateFromMemMap() argument 31 CHECK(mem_map.IsValid()); in CreateFromMemMap() 32 return new Bitmap(std::move(mem_map), num_bits); in CreateFromMemMap() 35 Bitmap::Bitmap(MemMap&& mem_map, size_t bitmap_size) in Bitmap() argument 36 : mem_map_(std::move(mem_map)), in Bitmap() 51 MemMap mem_map = MemMap::MapAnonymous(name.c_str(), in AllocateMemMap() local 56 if (UNLIKELY(!mem_map.IsValid())) { in AllocateMemMap() 59 return mem_map; in AllocateMemMap() 63 MemMap mem_map = AllocateMemMap(name, num_bits); in Create() local 64 if (UNLIKELY(!mem_map.IsValid())) { in Create() [all …]
|
D | card_table.cc | 67 MemMap mem_map = MemMap::MapAnonymous("card table", in Create() local 72 CHECK(mem_map.IsValid()) << "couldn't allocate card table: " << error_msg; in Create() 77 uint8_t* cardtable_begin = mem_map.Begin(); in Create() 92 return new CardTable(std::move(mem_map), biased_begin, offset); in Create() 95 CardTable::CardTable(MemMap&& mem_map, uint8_t* biased_begin, size_t offset) in CardTable() argument 96 : mem_map_(std::move(mem_map)), biased_begin_(biased_begin), offset_(offset) { in CardTable()
|
D | space_bitmap.cc | 52 const std::string& name, MemMap&& mem_map, uint8_t* heap_begin, size_t heap_capacity) { in CreateFromMemMap() argument 53 CHECK(mem_map.IsValid()); in CreateFromMemMap() 54 uintptr_t* bitmap_begin = reinterpret_cast<uintptr_t*>(mem_map.Begin()); in CreateFromMemMap() 56 return { name, std::move(mem_map), bitmap_begin, bitmap_size, heap_begin, heap_capacity }; in CreateFromMemMap() 61 MemMap&& mem_map, in SpaceBitmap() argument 66 : mem_map_(std::move(mem_map)), in SpaceBitmap() 86 MemMap mem_map = MemMap::MapAnonymous(name.c_str(), in Create() local 91 if (UNLIKELY(!mem_map.IsValid())) { in Create() 95 return CreateFromMemMap(name, std::move(mem_map), heap_begin, heap_capacity); in Create()
|
D | bitmap.h | 44 static Bitmap* CreateFromMemMap(MemMap&& mem_map, size_t num_bits); 103 Bitmap(MemMap&& mem_map, size_t bitmap_size); 132 MemMap&& mem_map, uintptr_t cover_begin, size_t num_bits); 179 MemoryRangeBitmap(MemMap&& mem_map, uintptr_t begin, size_t num_bits) in MemoryRangeBitmap() argument 180 : Bitmap(std::move(mem_map), num_bits), in MemoryRangeBitmap()
|
D | space_bitmap.h | 54 MemMap&& mem_map, 233 MemMap&& mem_map,
|
D | card_table.h | 146 CardTable(MemMap&& mem_map, uint8_t* biased_begin, size_t offset);
|
/art/runtime/gc/space/ |
D | zygote_space.cc | 46 MemMap&& mem_map, in Create() argument 54 live_bitmap.VisitMarkedRange(reinterpret_cast<uintptr_t>(mem_map.Begin()), in Create() 55 reinterpret_cast<uintptr_t>(mem_map.End()), visitor); in Create() 56 ZygoteSpace* zygote_space = new ZygoteSpace(name, std::move(mem_map), objects_allocated); in Create() 76 ZygoteSpace::ZygoteSpace(const std::string& name, MemMap&& mem_map, size_t objects_allocated) in ZygoteSpace() argument 78 std::move(mem_map), in ZygoteSpace() 79 mem_map.Begin(), in ZygoteSpace() 80 mem_map.End(), in ZygoteSpace() 81 mem_map.End(), in ZygoteSpace()
|
D | dlmalloc_space.cc | 41 DlMallocSpace::DlMallocSpace(MemMap&& mem_map, in DlMallocSpace() argument 52 std::move(mem_map), in DlMallocSpace() 64 DlMallocSpace* DlMallocSpace::CreateFromMemMap(MemMap&& mem_map, in CreateFromMemMap() argument 71 DCHECK(mem_map.IsValid()); in CreateFromMemMap() 72 void* mspace = CreateMspace(mem_map.Begin(), starting_size, initial_size); in CreateFromMemMap() 79 uint8_t* end = mem_map.Begin() + starting_size; in CreateFromMemMap() 85 uint8_t* begin = mem_map.Begin(); in CreateFromMemMap() 88 std::move(mem_map), in CreateFromMemMap() 98 return new DlMallocSpace(std::move(mem_map), in CreateFromMemMap() 130 MemMap mem_map = CreateMemMap(name, starting_size, &initial_size, &growth_limit, &capacity); in Create() local [all …]
|
D | bump_pointer_space.cc | 30 MemMap mem_map = MemMap::MapAnonymous(name.c_str(), in Create() local 35 if (!mem_map.IsValid()) { in Create() 40 return new BumpPointerSpace(name, std::move(mem_map)); in Create() 43 BumpPointerSpace* BumpPointerSpace::CreateFromMemMap(const std::string& name, MemMap&& mem_map) { in CreateFromMemMap() argument 44 return new BumpPointerSpace(name, std::move(mem_map)); in CreateFromMemMap() 61 BumpPointerSpace::BumpPointerSpace(const std::string& name, MemMap&& mem_map) in BumpPointerSpace() argument 63 std::move(mem_map), in BumpPointerSpace() 64 mem_map.Begin(), in BumpPointerSpace() 65 mem_map.Begin(), in BumpPointerSpace() 66 mem_map.End(), in BumpPointerSpace()
|
D | rosalloc_space.cc | 47 RosAllocSpace::RosAllocSpace(MemMap&& mem_map, in RosAllocSpace() argument 59 std::move(mem_map), in RosAllocSpace() 71 RosAllocSpace* RosAllocSpace::CreateFromMemMap(MemMap&& mem_map, in CreateFromMemMap() argument 79 DCHECK(mem_map.IsValid()); in CreateFromMemMap() 83 allocator::RosAlloc* rosalloc = CreateRosAlloc(mem_map.Begin(), in CreateFromMemMap() 95 uint8_t* end = mem_map.Begin() + starting_size; in CreateFromMemMap() 101 uint8_t* begin = mem_map.Begin(); in CreateFromMemMap() 106 std::move(mem_map), in CreateFromMemMap() 118 return new RosAllocSpace(std::move(mem_map), in CreateFromMemMap() 156 MemMap mem_map = CreateMemMap(name, starting_size, &initial_size, &growth_limit, &capacity); in Create() local [all …]
|
D | large_object_space.cc | 140 MemMap mem_map = MemMap::MapAnonymous("large object space allocation", in Alloc() local 145 if (UNLIKELY(!mem_map.IsValid())) { in Alloc() 149 mirror::Object* const obj = reinterpret_cast<mirror::Object*>(mem_map.Begin()); in Alloc() 150 const size_t allocation_size = mem_map.BaseSize(); in Alloc() 152 large_objects_.Put(obj, LargeObject {std::move(mem_map), false /* not zygote */}); in Alloc() 199 const size_t map_size = it->second.mem_map.BaseSize(); in Free() 212 size_t alloc_size = it->second.mem_map.BaseSize(); in AllocationSize() 233 MemMap* mem_map = &pair.second.mem_map; in Walk() local 234 callback(mem_map->Begin(), mem_map->End(), mem_map->Size(), arg); in Walk() 242 func(pair.second.mem_map); in ForEachMemMap() [all …]
|
D | malloc_space.cc | 47 MemMap&& mem_map, in MallocSpace() argument 57 name, std::move(mem_map), begin, end, limit, kGcRetentionPolicyAlwaysCollect), in MallocSpace() 109 MemMap mem_map = MemMap::MapAnonymous(name.c_str(), in CreateMemMap() local 114 if (!mem_map.IsValid()) { in CreateMemMap() 118 return mem_map; in CreateMemMap() 212 MemMap mem_map = GetMemMap()->RemapAtEnd( in CreateZygoteSpace() local 214 CHECK(mem_map.IsValid()) << error_msg; in CreateZygoteSpace() 218 uint8_t* end = mem_map.Begin() + starting_size_; in CreateZygoteSpace() 222 *out_malloc_space = CreateInstance(std::move(mem_map), in CreateZygoteSpace()
|
D | region_space.cc | 57 MemMap mem_map; in CreateMemMap() local 59 mem_map = MemMap::MapAnonymous(name.c_str(), in CreateMemMap() 67 if (mem_map.IsValid() || requested_begin == nullptr) { in CreateMemMap() 73 if (!mem_map.IsValid()) { in CreateMemMap() 80 CHECK_EQ(mem_map.Size(), capacity + kRegionSize); in CreateMemMap() 81 CHECK_EQ(mem_map.Begin(), mem_map.BaseBegin()); in CreateMemMap() 82 CHECK_EQ(mem_map.Size(), mem_map.BaseSize()); in CreateMemMap() 83 if (IsAlignedParam(mem_map.Begin(), kRegionSize)) { in CreateMemMap() 86 mem_map.SetSize(capacity); in CreateMemMap() 89 mem_map.AlignBy(kRegionSize); in CreateMemMap() [all …]
|
D | zygote_space.h | 34 MemMap&& mem_map, 91 ZygoteSpace(const std::string& name, MemMap&& mem_map, size_t objects_allocated);
|
D | dlmalloc_space.h | 37 static DlMallocSpace* CreateFromMemMap(MemMap&& mem_map, 130 MallocSpace* CreateInstance(MemMap&& mem_map, 156 DlMallocSpace(MemMap&& mem_map,
|
D | space.h | 398 MemMap&& mem_map, in MemMapSpace() argument 404 mem_map_(std::move(mem_map)) { in MemMapSpace() 463 MemMap&& mem_map, in ContinuousMemMapAllocSpace() argument 468 : MemMapSpace(name, std::move(mem_map), begin, end, limit, gc_retention_policy) { in ContinuousMemMapAllocSpace()
|
D | rosalloc_space.h | 47 static RosAllocSpace* CreateFromMemMap(MemMap&& mem_map, 121 MallocSpace* CreateInstance(MemMap&& mem_map, 162 RosAllocSpace(MemMap&& mem_map,
|
D | malloc_space.h | 118 virtual MallocSpace* CreateInstance(MemMap&& mem_map, 148 MemMap&& mem_map,
|
D | bump_pointer_space.h | 52 static BumpPointerSpace* CreateFromMemMap(const std::string& name, MemMap&& mem_map); 171 BumpPointerSpace(const std::string& name, MemMap&& mem_map);
|
D | memory_tool_malloc_space.h | 56 MemoryToolMallocSpace(MemMap&& mem_map, size_t initial_size, Params... params);
|
D | memory_tool_malloc_space-inl.h | 276 MemMap&& mem_map, size_t initial_size, Params... params) in MemoryToolMallocSpace() argument 277 : S(std::move(mem_map), initial_size, params...) { in MemoryToolMallocSpace()
|
D | large_object_space.h | 170 MemMap mem_map; member 204 FreeListSpace(const std::string& name, MemMap&& mem_map, uint8_t* begin, uint8_t* end);
|
D | image_space.h | 302 MemMap&& mem_map,
|
/art/libdexfile/dex/ |
D | art_dex_file_loader.h | 76 MemMap&& mem_map,
|
/art/libartbase/base/ |
D | mem_map.cc | 1199 std::ostream& operator<<(std::ostream& os, const MemMap& mem_map) { in operator <<() argument 1201 mem_map.BaseBegin(), mem_map.BaseEnd(), mem_map.GetProtect(), in operator <<() 1202 mem_map.GetName().c_str()); in operator <<()
|