Home
last modified time | relevance | path

Searched refs:RegionType (Results 1 – 5 of 5) sorted by relevance

/art/runtime/gc/space/
Dregion_space.h151 enum class RegionType : uint8_t { enum
166 template<RegionType kRegionType> uint64_t GetBytesAllocatedInternal() REQUIRES(!region_lock_);
167 template<RegionType kRegionType> uint64_t GetObjectsAllocatedInternal() REQUIRES(!region_lock_);
169 return GetBytesAllocatedInternal<RegionType::kRegionTypeAll>(); in GetBytesAllocated()
172 return GetObjectsAllocatedInternal<RegionType::kRegionTypeAll>(); in GetObjectsAllocated()
175 return GetBytesAllocatedInternal<RegionType::kRegionTypeFromSpace>(); in GetBytesAllocatedInFromSpace()
178 return GetObjectsAllocatedInternal<RegionType::kRegionTypeFromSpace>(); in GetObjectsAllocatedInFromSpace()
181 return GetBytesAllocatedInternal<RegionType::kRegionTypeUnevacFromSpace>(); in GetBytesAllocatedInUnevacFromSpace()
184 return GetObjectsAllocatedInternal<RegionType::kRegionTypeUnevacFromSpace>(); in GetObjectsAllocatedInUnevacFromSpace()
279 RegionType GetRegionType(mirror::Object* ref) { in GetRegionType()
[all …]
Dregion_space-inl.h126 template<RegionSpace::RegionType kRegionType>
136 case RegionType::kRegionTypeAll: in GetBytesAllocatedInternal()
139 case RegionType::kRegionTypeFromSpace: in GetBytesAllocatedInternal()
144 case RegionType::kRegionTypeUnevacFromSpace: in GetBytesAllocatedInternal()
149 case RegionType::kRegionTypeToSpace: in GetBytesAllocatedInternal()
161 template<RegionSpace::RegionType kRegionType>
171 case RegionType::kRegionTypeAll: in GetObjectsAllocatedInternal()
174 case RegionType::kRegionTypeFromSpace: in GetObjectsAllocatedInternal()
179 case RegionType::kRegionTypeUnevacFromSpace: in GetObjectsAllocatedInternal()
184 case RegionType::kRegionTypeToSpace: in GetObjectsAllocatedInternal()
Dregion_space.cc189 type_ = RegionType::kRegionTypeUnevacFromSpace; in SetAsUnevacFromSpace()
352 RegionType type = r->Type(); in SetFromSpace()
358 type == RegionType::kRegionTypeToSpace); in SetFromSpace()
369 type == RegionType::kRegionTypeToSpace)) { in SetFromSpace()
385 type == RegionType::kRegionTypeToSpace); in SetFromSpace()
968 type_ = RegionType::kRegionTypeNone; in Clear()
1021 type_ = RegionType::kRegionTypeToSpace; in MarkAsAllocated()
/art/runtime/gc/collector/
Dconcurrent_copying-inl.h156 space::RegionSpace::RegionType rtype = region_space_->GetRegionTypeUnsafe(from_ref); in Mark()
158 case space::RegionSpace::RegionType::kRegionTypeToSpace: in Mark()
161 case space::RegionSpace::RegionType::kRegionTypeFromSpace: { in Mark()
173 case space::RegionSpace::RegionType::kRegionTypeUnevacFromSpace: in Mark()
Dconcurrent_copying.cc2137 space::RegionSpace::RegionType rtype = region_space_->GetRegionType(to_ref); in ProcessMarkStackRef()
2156 case space::RegionSpace::RegionType::kRegionTypeUnevacFromSpace: in ProcessMarkStackRef()
2177 case space::RegionSpace::RegionType::kRegionTypeToSpace: in ProcessMarkStackRef()
2761 using RegionType = space::RegionSpace::RegionType; in AssertToSpaceInvariant() typedef
2762 space::RegionSpace::RegionType type = region_space_->GetRegionTypeUnsafe(ref); in AssertToSpaceInvariant()
2763 if (type == RegionType::kRegionTypeToSpace) { in AssertToSpaceInvariant()
2766 } else if (type == RegionType::kRegionTypeUnevacFromSpace) { in AssertToSpaceInvariant()
2777 if (type == RegionType::kRegionTypeFromSpace) { in AssertToSpaceInvariant()
2867 using RegionType = space::RegionSpace::RegionType; in AssertToSpaceInvariant() typedef
2868 space::RegionSpace::RegionType type = region_space_->GetRegionTypeUnsafe(ref); in AssertToSpaceInvariant()
[all …]