Lines Matching refs:mem_map
57 MemMap mem_map; in CreateMemMap() local
59 mem_map = MemMap::MapAnonymous(name.c_str(), in CreateMemMap()
67 if (mem_map.IsValid() || requested_begin == nullptr) { in CreateMemMap()
73 if (!mem_map.IsValid()) { in CreateMemMap()
80 CHECK_EQ(mem_map.Size(), capacity + kRegionSize); in CreateMemMap()
81 CHECK_EQ(mem_map.Begin(), mem_map.BaseBegin()); in CreateMemMap()
82 CHECK_EQ(mem_map.Size(), mem_map.BaseSize()); in CreateMemMap()
83 if (IsAlignedParam(mem_map.Begin(), kRegionSize)) { in CreateMemMap()
86 mem_map.SetSize(capacity); in CreateMemMap()
89 mem_map.AlignBy(kRegionSize); in CreateMemMap()
91 CHECK_ALIGNED(mem_map.Begin(), kRegionSize); in CreateMemMap()
92 CHECK_ALIGNED(mem_map.End(), kRegionSize); in CreateMemMap()
93 CHECK_EQ(mem_map.Size(), capacity); in CreateMemMap()
94 return mem_map; in CreateMemMap()
98 const std::string& name, MemMap&& mem_map, bool use_generational_cc) { in Create() argument
99 return new RegionSpace(name, std::move(mem_map), use_generational_cc); in Create()
102 RegionSpace::RegionSpace(const std::string& name, MemMap&& mem_map, bool use_generational_cc) in RegionSpace() argument
104 std::move(mem_map), in RegionSpace()
105 mem_map.Begin(), in RegionSpace()
106 mem_map.End(), in RegionSpace()
107 mem_map.End(), in RegionSpace()