/art/runtime/ |
D | mem_map_test.cc | 29 static uint8_t* BaseBegin(MemMap* mem_map) { in BaseBegin() 32 static size_t BaseSize(MemMap* mem_map) { in BaseSize() 41 MemMap* m0 = MemMap::MapAnonymous("MemMapTest_RemapAtEndTest_map0", in RemapAtEndTest() 57 MemMap* m1 = m0->RemapAtEnd(base0 + page_size, in RemapAtEndTest() 92 MemMap::Init(); in CommonInit() 97 return MemMap::next_mem_pos_; in GetLinearScanPos() 132 std::unique_ptr<MemMap> map(MemMap::MapAnonymous("MapAnonymousEmpty", in TEST_F() 141 map.reset(MemMap::MapAnonymous("MapAnonymousEmpty", in TEST_F() 156 std::unique_ptr<MemMap> map(MemMap::MapAnonymous("MapAnonymousEmpty", in TEST_F() 173 std::unique_ptr<MemMap> map0(MemMap::MapAnonymous("MapAnonymous0", in TEST_F() [all …]
|
D | mem_map.h | 53 class MemMap { 64 static MemMap* MapAnonymous(const char* ashmem_name, uint8_t* addr, size_t byte_count, int prot, 71 static MemMap* MapDummy(const char* name, uint8_t* addr, size_t byte_count); 77 static MemMap* MapFile(size_t byte_count, int prot, int flags, int fd, off_t start, in MapFile() 90 static MemMap* MapFileAtAddress(uint8_t* addr, size_t byte_count, int prot, int flags, int fd, 95 ~MemMap() LOCKS_EXCLUDED(Locks::mem_maps_lock_); 141 MemMap* RemapAtEnd(uint8_t* new_end, const char* tail_name, int tail_prot, 144 static bool CheckNoGaps(MemMap* begin_map, MemMap* end_map) 149 typedef AllocationTrackingMultiMap<void*, MemMap*, kAllocatorTagMaps> Maps; 155 MemMap(const std::string& name, uint8_t* begin, size_t size, void* base_begin, size_t base_size, [all …]
|
D | mem_map.cc | 69 std::ostream& operator<<(std::ostream& os, const MemMap::Maps& mem_maps) { in operator <<() 73 MemMap* map = it->second; in operator <<() 80 MemMap::Maps* MemMap::maps_ = nullptr; 137 uintptr_t MemMap::next_mem_pos_ = GenerateNextMemPos(); 259 MemMap* MemMap::MapAnonymous(const char* name, uint8_t* expected_ptr, size_t byte_count, int prot, in MapAnonymous() 265 return new MemMap(name, nullptr, 0, nullptr, 0, prot, false); in MapAnonymous() 438 return new MemMap(name, reinterpret_cast<uint8_t*>(actual), byte_count, actual, in MapAnonymous() 442 MemMap* MemMap::MapDummy(const char* name, uint8_t* addr, size_t byte_count) { in MapDummy() 444 return new MemMap(name, nullptr, 0, nullptr, 0, 0, false); in MapDummy() 447 return new MemMap(name, addr, byte_count, addr, page_aligned_byte_count, 0, true /* reuse */); in MapDummy() [all …]
|
D | zip_archive.cc | 53 MemMap* ZipEntry::ExtractToMemMap(const char* zip_filename, const char* entry_filename, in ExtractToMemMap() 58 std::unique_ptr<MemMap> map(MemMap::MapAnonymous(name.c_str(), in ExtractToMemMap()
|
D | zip_archive.h | 35 class MemMap; variable 40 MemMap* ExtractToMemMap(const char* zip_filename, const char* entry_filename,
|
D | elf_file_impl.h | 134 bool SetMap(MemMap* map, std::string* error_msg); 192 std::unique_ptr<MemMap> map_; 194 std::vector<MemMap*> segments_;
|
/art/runtime/gc/accounting/ |
D | bitmap.cc | 27 Bitmap* Bitmap::CreateFromMemMap(MemMap* mem_map, size_t num_bits) { in CreateFromMemMap() 32 Bitmap::Bitmap(MemMap* mem_map, size_t bitmap_size) in Bitmap() 43 MemMap* Bitmap::AllocateMemMap(const std::string& name, size_t num_bits) { in AllocateMemMap() 47 std::unique_ptr<MemMap> mem_map(MemMap::MapAnonymous(name.c_str(), nullptr, bitmap_size, in AllocateMemMap() 89 MemMap* mem_map, uintptr_t begin, size_t num_bits) { in CreateFromMemMap()
|
D | bitmap.h | 32 class MemMap; variable 46 static Bitmap* CreateFromMemMap(MemMap* mem_map, size_t num_bits); 105 Bitmap(MemMap* mem_map, size_t bitmap_size); 109 static MemMap* AllocateMemMap(const std::string& name, size_t num_bits); 115 std::unique_ptr<MemMap> mem_map_; 133 static MemoryRangeBitmap* CreateFromMemMap(MemMap* mem_map, uintptr_t cover_begin, 181 MemoryRangeBitmap(MemMap* mem_map, uintptr_t begin, size_t num_bits) in MemoryRangeBitmap()
|
D | card_table.h | 27 class MemMap; variable 132 CardTable(MemMap* begin, uint8_t* biased_begin, size_t offset); 143 std::unique_ptr<MemMap> mem_map_;
|
D | space_bitmap.h | 35 class MemMap; variable 53 static SpaceBitmap* CreateFromMemMap(const std::string& name, MemMap* mem_map, 198 SpaceBitmap(const std::string& name, MemMap* mem_map, uintptr_t* bitmap_begin, size_t bitmap_size, 214 std::unique_ptr<MemMap> mem_map_;
|
D | read_barrier_table.h | 40 MemMap* mem_map = MemMap::MapAnonymous("read barrier table", nullptr, capacity, in ReadBarrierTable() 112 std::unique_ptr<MemMap> mem_map_;
|
D | card_table.cc | 64 std::unique_ptr<MemMap> mem_map( in Create() 65 MemMap::MapAnonymous("card table", nullptr, capacity + 256, PROT_READ | PROT_WRITE, in Create() 90 CardTable::CardTable(MemMap* mem_map, uint8_t* biased_begin, size_t offset) in CardTable()
|
/art/patchoat/ |
D | patchoat.h | 65 PatchOat(InstructionSet isa, MemMap* image, gc::accounting::ContinuousSpaceBitmap* bitmap, in PatchOat() 66 MemMap* heap, off_t delta, TimingLogger* timings) in PatchOat() 69 PatchOat(InstructionSet isa, ElfFile* oat_file, MemMap* image, in PatchOat() 70 gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta, in PatchOat() 192 const MemMap* const image_; 196 const MemMap* const heap_;
|
/art/runtime/gc/space/ |
D | space.h | 380 MemMap* GetMemMap() { in GetMemMap() 384 const MemMap* GetMemMap() const { in GetMemMap() 388 MemMap* ReleaseMemMap() { in ReleaseMemMap() 393 …MemMapSpace(const std::string& name, MemMap* mem_map, uint8_t* begin, uint8_t* end, uint8_t* limit, in MemMapSpace() 400 std::unique_ptr<MemMap> mem_map_; 449 ContinuousMemMapAllocSpace(const std::string& name, MemMap* mem_map, uint8_t* begin, in ContinuousMemMapAllocSpace()
|
D | malloc_space.cc | 38 MallocSpace::MallocSpace(const std::string& name, MemMap* mem_map, in MallocSpace() 68 MemMap* MallocSpace::CreateMemMap(const std::string& name, size_t starting_size, size_t* initial_si… in CreateMemMap() 92 MemMap* mem_map = MemMap::MapAnonymous(name.c_str(), requested_begin, *capacity, in CreateMemMap() 192 std::unique_ptr<MemMap> mem_map(GetMemMap()->RemapAtEnd(End(), alloc_space_name, in CreateZygoteSpace()
|
D | large_object_space.h | 143 MemMap* mem_map; 174 FreeListSpace(const std::string& name, MemMap* mem_map, uint8_t* begin, uint8_t* end); 202 std::unique_ptr<MemMap> mem_map_; 204 std::unique_ptr<MemMap> allocation_info_map_;
|
D | zygote_space.h | 33 static ZygoteSpace* Create(const std::string& name, MemMap* mem_map, 88 ZygoteSpace(const std::string& name, MemMap* mem_map, size_t objects_allocated);
|
D | dlmalloc_space.h | 37 static DlMallocSpace* CreateFromMemMap(MemMap* mem_map, const std::string& name, 121 MallocSpace* CreateInstance(MemMap* mem_map, const std::string& name, void* allocator, 142 DlMallocSpace(MemMap* mem_map, size_t initial_size, const std::string& name, void* mspace,
|
D | malloc_space.h | 127 virtual MallocSpace* CreateInstance(MemMap* mem_map, const std::string& name, void* allocator, 151 MallocSpace(const std::string& name, MemMap* mem_map, uint8_t* begin, uint8_t* end, 155 static MemMap* CreateMemMap(const std::string& name, size_t starting_size, size_t* initial_size,
|
D | bump_pointer_space.cc | 31 std::unique_ptr<MemMap> mem_map(MemMap::MapAnonymous(name.c_str(), requested_begin, capacity, in Create() 42 BumpPointerSpace* BumpPointerSpace::CreateFromMemMap(const std::string& name, MemMap* mem_map) { in CreateFromMemMap() 56 BumpPointerSpace::BumpPointerSpace(const std::string& name, MemMap* mem_map) in BumpPointerSpace()
|
D | zygote_space.cc | 43 ZygoteSpace* ZygoteSpace::Create(const std::string& name, MemMap* mem_map, in Create() 66 ZygoteSpace::ZygoteSpace(const std::string& name, MemMap* mem_map, size_t objects_allocated) in ZygoteSpace()
|
D | large_object_space.cc | 133 MemMap* mem_map = MemMap::MapAnonymous("large object space allocation", nullptr, num_bytes, in Alloc() 193 MemMap* mem_map = it->second.mem_map; in Free() 229 MemMap* mem_map = pair.second.mem_map; in Walk() 352 MemMap* mem_map = MemMap::MapAnonymous(name.c_str(), requested_begin, size, in Create() 358 FreeListSpace::FreeListSpace(const std::string& name, MemMap* mem_map, uint8_t* begin, uint8_t* end) in FreeListSpace() 368 MemMap::MapAnonymous("large object free list space allocation info map", in FreeListSpace()
|
D | rosalloc_space.h | 44 static RosAllocSpace* CreateFromMemMap(MemMap* mem_map, const std::string& name, 114 MallocSpace* CreateInstance(MemMap* mem_map, const std::string& name, void* allocator, 148 RosAllocSpace(MemMap* mem_map, size_t initial_size, const std::string& name,
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 33 MemMap* map = MemMap::MapAnonymous("jit-code-cache", nullptr, capacity, in Create() 44 JitCodeCache::JitCodeCache(MemMap* mem_map) in JitCodeCache()
|
D | jit_code_cache.h | 105 explicit JitCodeCache(MemMap* code_mem_map); 115 std::unique_ptr<MemMap> mem_map_;
|