Lines Matching refs:mem_map
45 delete m.second.mem_map; in ~ValgrindLargeObjectMapSpace()
133 MemMap* mem_map = MemMap::MapAnonymous("large object space allocation", nullptr, num_bytes, in Alloc() local
135 if (UNLIKELY(mem_map == nullptr)) { in Alloc()
139 mirror::Object* const obj = reinterpret_cast<mirror::Object*>(mem_map->Begin()); in Alloc()
146 auto* obj_end = reinterpret_cast<mirror::Object*>(mem_map->End()); in Alloc()
151 large_objects_.Put(obj, LargeObject {mem_map, false /* not zygote */}); in Alloc()
152 const size_t allocation_size = mem_map->BaseSize(); in Alloc()
193 MemMap* mem_map = it->second.mem_map; in Free() local
194 const size_t map_size = mem_map->BaseSize(); in Free()
199 delete mem_map; in Free()
208 size_t alloc_size = it->second.mem_map->BaseSize(); in AllocationSize()
229 MemMap* mem_map = pair.second.mem_map; in Walk() local
230 callback(mem_map->Begin(), mem_map->End(), mem_map->Size(), arg); in Walk()
352 MemMap* mem_map = MemMap::MapAnonymous(name.c_str(), requested_begin, size, in Create() local
354 CHECK(mem_map != nullptr) << "Failed to allocate large object space mem map: " << error_msg; in Create()
355 return new FreeListSpace(name, mem_map, mem_map->Begin(), mem_map->End()); in Create()
358 FreeListSpace::FreeListSpace(const std::string& name, MemMap* mem_map, uint8_t* begin, uint8_t* end) in FreeListSpace() argument
360 mem_map_(mem_map), in FreeListSpace()