/art/runtime/gc/accounting/ |
D | read_barrier_table.h | 46 mem_map_.reset(mem_map); in ReadBarrierTable() 69 mem_map_->MadviseDontNeedAndZero(); in ClearAll() 72 memset(mem_map_->Begin(), kSetEntryValue, mem_map_->Size()); in SetAll() 75 for (uint32_t* p = reinterpret_cast<uint32_t*>(mem_map_->Begin()); in IsAllCleared() 76 p < reinterpret_cast<uint32_t*>(mem_map_->End()); ++p) { in IsAllCleared() 93 uint8_t* entry_addr = mem_map_->Begin() + reinterpret_cast<uintptr_t>(heap_addr) / kRegionSize; in EntryFromAddr() 109 uint8_t* begin = mem_map_->Begin(); in IsValidEntry() 110 uint8_t* end = mem_map_->End(); in IsValidEntry() 114 std::unique_ptr<MemMap> mem_map_; variable
|
D | card_table.cc | 95 : mem_map_(mem_map), biased_begin_(biased_begin), offset_(offset) { in CardTable() 104 mem_map_->MadviseDontNeedAndZero(); in ClearCardTable() 122 uint8_t* begin = mem_map_->Begin() + offset_; in CheckAddrIsInCardTable() 123 uint8_t* end = mem_map_->End(); in CheckAddrIsInCardTable()
|
D | atomic_stack.h | 74 DCHECK(mem_map_.get() != nullptr); in Reset() 79 mem_map_->MadviseDontNeedAndZero(); in Reset() 251 mem_map_.reset(MemMap::MapAnonymous(name_.c_str(), nullptr, capacity_ * sizeof(begin_[0]), in Init() 253 CHECK(mem_map_.get() != nullptr) << "couldn't allocate mark stack.\n" << error_msg; in Init() 254 uint8_t* addr = mem_map_->Begin(); in Init() 264 std::unique_ptr<MemMap> mem_map_; variable
|
D | card_table-inl.h | 214 << " begin: " << reinterpret_cast<void*>(mem_map_->Begin() + offset_) in AddrFromCard() 215 << " end: " << reinterpret_cast<void*>(mem_map_->End()); in AddrFromCard() 229 uint8_t* begin = mem_map_->Begin() + offset_; in IsValidCard() 230 uint8_t* end = mem_map_->End(); in IsValidCard() 237 << " begin: " << reinterpret_cast<void*>(mem_map_->Begin() + offset_) in CheckCardValid() 238 << " end: " << reinterpret_cast<void*>(mem_map_->End()); in CheckCardValid()
|
D | bitmap.cc | 36 : mem_map_(mem_map), bitmap_begin_(reinterpret_cast<uintptr_t*>(mem_map->Begin())), in Bitmap() 70 mem_map_->MadviseDontNeedAndZero(); in Clear()
|
D | space_bitmap.cc | 61 : mem_map_(mem_map), in SpaceBitmap() 111 mem_map_->MadviseDontNeedAndZero(); in Clear()
|
D | card_table.h | 147 std::unique_ptr<MemMap> mem_map_; variable
|
D | bitmap.h | 114 std::unique_ptr<MemMap> mem_map_; variable
|
D | space_bitmap.h | 211 std::unique_ptr<MemMap> mem_map_; variable
|
/art/dexlayout/ |
D | dex_writer.h | 31 DexWriter(dex_ir::Header* header, MemMap* mem_map) : header_(header), mem_map_(mem_map) { } in DexWriter() 68 MemMap* const mem_map_; variable
|
D | dexlayout.h | 85 MemMap* GetAndReleaseMemMap() { return mem_map_.release(); } in GetAndReleaseMemMap() 135 std::unique_ptr<MemMap> mem_map_; variable
|
D | dexlayout.cc | 1912 mem_map_.reset(MemMap::MapFile(header_->FileSize(), PROT_READ | PROT_WRITE, MAP_SHARED, in OutputDexFile() 1915 mem_map_.reset(MemMap::MapAnonymous("layout dex", nullptr, header_->FileSize(), in OutputDexFile() 1918 if (mem_map_ == nullptr) { in OutputDexFile() 1925 DexWriter::Output(header_, mem_map_.get()); in OutputDexFile() 1932 std::unique_ptr<const DexFile> output_dex_file(DexFile::Open(mem_map_->Begin(), in OutputDexFile() 1933 mem_map_->Size(), in OutputDexFile()
|
D | dex_writer.cc | 107 DCHECK_LE(offset + length, mem_map_->Size()); in Write() 108 memcpy(mem_map_->Begin() + offset, buffer, length); in Write()
|
/art/runtime/gc/space/ |
D | space.h | 380 return mem_map_.get(); in GetMemMap() 384 return mem_map_.get(); in GetMemMap() 388 return mem_map_.release(); in ReleaseMemMap() 395 mem_map_(mem_map) { in MemMapSpace() 399 std::unique_ptr<MemMap> mem_map_; variable
|
D | large_object_space.h | 212 std::unique_ptr<MemMap> mem_map_; variable
|
D | dlmalloc_space.cc | 285 mspace_ = CreateMspace(mem_map_->Begin(), starting_size_, initial_size_); in Clear()
|
D | rosalloc_space.cc | 366 rosalloc_ = CreateRosAlloc(mem_map_->Begin(), starting_size_, initial_size_, in Clear()
|
D | large_object_space.cc | 358 mem_map_(mem_map), in FreeListSpace()
|
/art/runtime/ |
D | dex_file.cc | 134 if (mem_map_.get() == nullptr) { in GetPermissions() 137 return mem_map_->GetProtect(); in GetPermissions() 147 if (mem_map_.get() == nullptr) { in EnableWrite() 150 return mem_map_->Protect(PROT_READ | PROT_WRITE); in EnableWrite() 156 if (mem_map_.get() == nullptr) { in DisableWrite() 159 return mem_map_->Protect(PROT_READ); in DisableWrite() 208 dex_file->mem_map_ = std::move(map); in Open() 327 dex_file->mem_map_ = std::move(map); in OpenFile() 401 dex_file->mem_map_ = std::move(map); in OpenOneDexFileFromZip()
|
D | dex_file.h | 1196 std::unique_ptr<MemMap> mem_map_; variable
|