/art/runtime/gc/accounting/ |
D | read_barrier_table.h | 42 mem_map_ = MemMap::MapAnonymous("read barrier table", in ReadBarrierTable() 47 CHECK(mem_map_.IsValid() && mem_map_.Begin() != nullptr) in ReadBarrierTable() 71 mem_map_.MadviseDontNeedAndZero(); in ClearAll() 74 memset(mem_map_.Begin(), kSetEntryValue, mem_map_.Size()); in SetAll() 77 for (uint32_t* p = reinterpret_cast<uint32_t*>(mem_map_.Begin()); in IsAllCleared() 78 p < reinterpret_cast<uint32_t*>(mem_map_.End()); ++p) { in IsAllCleared() 95 uint8_t* entry_addr = mem_map_.Begin() + reinterpret_cast<uintptr_t>(heap_addr) / kRegionSize; in EntryFromAddr() 111 uint8_t* begin = mem_map_.Begin(); in IsValidEntry() 112 uint8_t* end = mem_map_.End(); in IsValidEntry() 116 MemMap mem_map_; variable
|
D | card_table.cc | 96 : mem_map_(std::move(mem_map)), biased_begin_(biased_begin), offset_(offset) { in CardTable() 105 mem_map_.MadviseDontNeedAndZero(); in ClearCardTable() 123 uint8_t* begin = mem_map_.Begin() + offset_; in CheckAddrIsInCardTable() 124 uint8_t* end = mem_map_.End(); in CheckAddrIsInCardTable()
|
D | bitmap.cc | 36 : mem_map_(std::move(mem_map)), in Bitmap() 37 bitmap_begin_(reinterpret_cast<uintptr_t*>(mem_map_.Begin())), in Bitmap() 72 mem_map_.MadviseDontNeedAndZero(); in Clear()
|
D | card_table-inl.h | 210 << " begin: " << reinterpret_cast<void*>(mem_map_.Begin() + offset_) in AddrFromCard() 211 << " end: " << reinterpret_cast<void*>(mem_map_.End()); in AddrFromCard() 225 uint8_t* begin = mem_map_.Begin() + offset_; in IsValidCard() 226 uint8_t* end = mem_map_.End(); in IsValidCard() 233 << " begin: " << reinterpret_cast<void*>(mem_map_.Begin() + offset_) in CheckCardValid() 234 << " end: " << reinterpret_cast<void*>(mem_map_.End()); in CheckCardValid()
|
D | atomic_stack.h | 75 DCHECK(mem_map_.IsValid()); in Reset() 80 mem_map_.MadviseDontNeedAndZero(); in Reset() 255 mem_map_ = MemMap::MapAnonymous(name_.c_str(), in Init() 260 CHECK(mem_map_.IsValid()) << "couldn't allocate mark stack.\n" << error_msg; in Init() 261 uint8_t* addr = mem_map_.Begin(); in Init() 271 MemMap mem_map_; variable
|
D | card_table.h | 98 return mem_map_.BaseBegin(); in MemMapBegin() 102 return mem_map_.BaseSize(); in MemMapSize() 157 MemMap mem_map_; variable
|
D | space_bitmap.cc | 66 : mem_map_(std::move(mem_map)), in SpaceBitmap() 119 mem_map_.MadviseDontNeedAndZero(); in Clear()
|
D | bitmap.h | 113 MemMap mem_map_; variable
|
D | space_bitmap.h | 245 MemMap mem_map_; variable
|
/art/runtime/gc/space/ |
D | space.h | 382 return &mem_map_; in GetMemMap() 386 return &mem_map_; in GetMemMap() 390 return std::move(mem_map_); in ReleaseMemMap() 401 mem_map_(std::move(mem_map)) { in MemMapSpace() 405 MemMap mem_map_; variable
|
D | malloc_space.cc | 64 CHECK_ALIGNED(reinterpret_cast<uintptr_t>(mem_map_.Begin()), kGcCardSize); in MallocSpace() 65 CHECK_ALIGNED(reinterpret_cast<uintptr_t>(mem_map_.End()), kGcCardSize); in MallocSpace()
|
D | region_space.cc | 112 num_regions_(mem_map_.Size() / kRegionSize), in RegionSpace() 121 CHECK_ALIGNED(mem_map_.Size(), kRegionSize); in RegionSpace() 122 CHECK_ALIGNED(mem_map_.Begin(), kRegionSize); in RegionSpace() 125 uint8_t* region_addr = mem_map_.Begin(); in RegionSpace()
|
D | bump_pointer_space.cc | 68 growth_end_(mem_map_.End()), in BumpPointerSpace()
|
D | large_object_space.h | 234 MemMap mem_map_; variable
|
D | large_object_space.cc | 377 mem_map_(std::move(mem_map)) { in FreeListSpace() 416 func(mem_map_); in ForEachMemMap()
|
D | dlmalloc_space.cc | 343 mspace_ = CreateMspace(mem_map_.Begin(), starting_size_, initial_size_); in Clear()
|
D | rosalloc_space.cc | 434 rosalloc_ = CreateRosAlloc(mem_map_.Begin(), in Clear()
|
/art/libdexfile/dex/ |
D | art_dex_file_loader.cc | 42 explicit MemMapContainer(MemMap&& mem_map) : mem_map_(std::move(mem_map)) { } in MemMapContainer() 46 if (!mem_map_.IsValid()) { in GetPermissions() 49 return mem_map_.GetProtect(); in GetPermissions() 59 if (!mem_map_.IsValid()) { in EnableWrite() 62 return mem_map_.Protect(PROT_READ | PROT_WRITE); in EnableWrite() 68 if (!mem_map_.IsValid()) { in DisableWrite() 71 return mem_map_.Protect(PROT_READ); in DisableWrite() 76 MemMap mem_map_; member in art::__anon72bf82fc0111::MemMapContainer
|
/art/libprofile/profile/ |
D | profile_compilation_info.h | 792 : fd_(fd), mem_map_(std::move(mem_map)), mem_map_cur_(0) {} in ProfileSource() 797 MemMap mem_map_; variable
|
D | profile_compilation_info.cc | 1248 if (mem_map_cur_ + byte_count > mem_map_.Size()) { in Read() 1252 buffer[i] = *(mem_map_.Begin() + mem_map_cur_); in Read() 1274 ? (!mem_map_.IsValid() || mem_map_cur_ == mem_map_.Size()) in HasConsumedAllData() 1280 return !mem_map_.IsValid() || mem_map_.Size() == 0; in HasEmptyContent()
|