/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 | 94 : mem_map_(mem_map), biased_begin_(biased_begin), offset_(offset) { in CardTable() 103 mem_map_->MadviseDontNeedAndZero(); in ClearCardTable() 121 uint8_t* begin = mem_map_->Begin() + offset_; in CheckAddrIsInCardTable() 122 uint8_t* end = mem_map_->End(); in CheckAddrIsInCardTable()
|
D | card_table-inl.h | 216 << " begin: " << reinterpret_cast<void*>(mem_map_->Begin() + offset_) in AddrFromCard() 217 << " end: " << reinterpret_cast<void*>(mem_map_->End()); in AddrFromCard() 231 uint8_t* begin = mem_map_->Begin() + offset_; in IsValidCard() 232 uint8_t* end = mem_map_->End(); in IsValidCard() 239 << " begin: " << reinterpret_cast<void*>(mem_map_->Begin() + offset_) in CheckCardValid() 240 << " end: " << reinterpret_cast<void*>(mem_map_->End()); in CheckCardValid()
|
D | atomic_stack.h | 75 DCHECK(mem_map_.get() != nullptr); in Reset() 80 mem_map_->MadviseDontNeedAndZero(); in Reset() 252 mem_map_.reset(MemMap::MapAnonymous(name_.c_str(), nullptr, capacity_ * sizeof(begin_[0]), in Init() 254 CHECK(mem_map_.get() != nullptr) << "couldn't allocate mark stack.\n" << error_msg; in Init() 255 uint8_t* addr = mem_map_->Begin(); in Init() 265 std::unique_ptr<MemMap> mem_map_; variable
|
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 | 66 : mem_map_(mem_map), in SpaceBitmap() 117 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 | 230 std::unique_ptr<MemMap> mem_map_; variable
|
/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() 399 mem_map_(mem_map) { in MemMapSpace() 403 std::unique_ptr<MemMap> mem_map_; variable
|
D | large_object_space.h | 213 std::unique_ptr<MemMap> mem_map_; variable
|
D | dlmalloc_space.cc | 286 mspace_ = CreateMspace(mem_map_->Begin(), starting_size_, initial_size_); in Clear()
|
D | rosalloc_space.cc | 367 rosalloc_ = CreateRosAlloc(mem_map_->Begin(), starting_size_, initial_size_, in Clear()
|
D | large_object_space.cc | 360 mem_map_(mem_map), in FreeListSpace()
|
/art/runtime/dex/ |
D | art_dex_file_loader.cc | 41 explicit MemMapContainer(std::unique_ptr<MemMap>&& mem_map) : mem_map_(std::move(mem_map)) { } in MemMapContainer() 45 if (mem_map_.get() == nullptr) { in GetPermissions() 48 return mem_map_->GetProtect(); in GetPermissions() 58 if (mem_map_.get() == nullptr) { in EnableWrite() 61 return mem_map_->Protect(PROT_READ | PROT_WRITE); in EnableWrite() 67 if (mem_map_.get() == nullptr) { in DisableWrite() 70 return mem_map_->Protect(PROT_READ); in DisableWrite() 75 std::unique_ptr<MemMap> mem_map_; member in art::__anon6c2394a50111::MemMapContainer
|
/art/runtime/jit/ |
D | profile_compilation_info.h | 664 : fd_(fd), mem_map_(std::move(mem_map)), mem_map_cur_(0) {} in ProfileSource() 669 std::unique_ptr<MemMap> mem_map_; variable
|
D | profile_compilation_info.cc | 1216 if (mem_map_cur_ + byte_count > mem_map_->Size()) { in Read() 1220 buffer[i] = *(mem_map_->Begin() + mem_map_cur_); in Read() 1242 ? (mem_map_ == nullptr || mem_map_cur_ == mem_map_->Size()) in HasConsumedAllData() 1248 return mem_map_ == nullptr || mem_map_->Size() == 0; in HasEmptyContent()
|