Lines Matching refs:mem_map
38 MallocSpace::MallocSpace(const std::string& name, MemMap* mem_map, in MallocSpace() argument
42 : ContinuousMemMapAllocSpace(name, mem_map, begin, end, limit, kGcRetentionPolicyAlwaysCollect), in MallocSpace()
49 CHECK(IsAligned<kGcCardSize>(reinterpret_cast<uintptr_t>(mem_map->Begin()))); in MallocSpace()
50 CHECK(IsAligned<kGcCardSize>(reinterpret_cast<uintptr_t>(mem_map->End()))); in MallocSpace()
92 MemMap* mem_map = MemMap::MapAnonymous(name.c_str(), requested_begin, *capacity, in CreateMemMap() local
94 if (mem_map == nullptr) { in CreateMemMap()
98 return mem_map; in CreateMemMap()
192 std::unique_ptr<MemMap> mem_map(GetMemMap()->RemapAtEnd(End(), alloc_space_name, in CreateZygoteSpace() local
194 CHECK(mem_map.get() != nullptr) << error_msg; in CreateZygoteSpace()
198 uint8_t* end = mem_map->Begin() + starting_size_; in CreateZygoteSpace()
202 *out_malloc_space = CreateInstance(mem_map.release(), alloc_space_name, allocator, End(), end, in CreateZygoteSpace()