Home
last modified time | relevance | path

Searched refs:mem_map_ (Results 1 – 14 of 14) sorted by relevance

/art/runtime/gc/accounting/
Dcard_table.cc90 : mem_map_(mem_map), biased_begin_(biased_begin), offset_(offset) { in CardTable()
102 mem_map_->MadviseDontNeedAndZero(); in ClearCardTable()
111 byte* begin = mem_map_->Begin() + offset_; in CheckAddrIsInCardTable()
112 byte* end = mem_map_->End(); in CheckAddrIsInCardTable()
Datomic_stack.h47 DCHECK(mem_map_.get() != nullptr); in Reset()
52 mem_map_->MadviseDontNeedAndZero(); in Reset()
213 mem_map_.reset(MemMap::MapAnonymous(name_.c_str(), NULL, capacity_ * sizeof(T), in Init()
215 CHECK(mem_map_.get() != NULL) << "couldn't allocate mark stack.\n" << error_msg; in Init()
216 byte* addr = mem_map_->Begin(); in Init()
226 std::unique_ptr<MemMap> mem_map_; variable
Dcard_table.h133 byte* begin = mem_map_->Begin() + offset_; in IsValidCard()
134 byte* end = mem_map_->End(); in IsValidCard()
144 std::unique_ptr<MemMap> mem_map_; variable
Dcard_table-inl.h203 << " begin: " << reinterpret_cast<void*>(mem_map_->Begin() + offset_) in AddrFromCard()
204 << " end: " << reinterpret_cast<void*>(mem_map_->End()); in AddrFromCard()
220 << " begin: " << reinterpret_cast<void*>(mem_map_->Begin() + offset_) in CheckCardValid()
221 << " end: " << reinterpret_cast<void*>(mem_map_->End()); in CheckCardValid()
Dspace_bitmap.cc48 : mem_map_(mem_map), bitmap_begin_(bitmap_begin), bitmap_size_(bitmap_size), in SpaceBitmap()
93 mem_map_->MadviseDontNeedAndZero(); in Clear()
Dspace_bitmap.h214 std::unique_ptr<MemMap> mem_map_; variable
/art/runtime/gc/space/
Dspace.h360 return mem_map_.get(); in GetMemMap()
364 return mem_map_.get(); in GetMemMap()
368 return mem_map_.release(); in ReleaseMemMap()
375 mem_map_(mem_map) { in MemMapSpace()
379 std::unique_ptr<MemMap> mem_map_; variable
Dlarge_object_space.h182 std::unique_ptr<MemMap> mem_map_; variable
Ddlmalloc_space.cc297 mspace_ = CreateMspace(mem_map_->Begin(), starting_size_, initial_size_); in Clear()
Drosalloc_space.cc354 rosalloc_ = CreateRosAlloc(mem_map_->Begin(), starting_size_, initial_size_, in Clear()
Dlarge_object_space.cc296 mem_map_(mem_map), in FreeListSpace()
/art/runtime/
Ddex_file.cc147 if (mem_map_.get() == NULL) { in GetPermissions()
150 return mem_map_->GetProtect(); in GetPermissions()
160 if (mem_map_.get() == NULL) { in EnableWrite()
163 return mem_map_->Protect(PROT_READ | PROT_WRITE); in EnableWrite()
169 if (mem_map_.get() == NULL) { in DisableWrite()
172 return mem_map_->Protect(PROT_READ); in DisableWrite()
352 mem_map_(mem_map), in DexFile()
Doat_file.h331 std::unique_ptr<MemMap> mem_map_; variable
Ddex_file.h972 std::unique_ptr<MemMap> mem_map_; variable