Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dregion_space.h154 enum class RegionType : uint8_t { enum
169 template<RegionType kRegionType> uint64_t GetBytesAllocatedInternal() REQUIRES(!region_lock_);
170 template<RegionType kRegionType> uint64_t GetObjectsAllocatedInternal() REQUIRES(!region_lock_);
172 return GetBytesAllocatedInternal<RegionType::kRegionTypeAll>(); in GetBytesAllocated()
175 return GetObjectsAllocatedInternal<RegionType::kRegionTypeAll>(); in GetObjectsAllocated()
178 return GetBytesAllocatedInternal<RegionType::kRegionTypeFromSpace>(); in GetBytesAllocatedInFromSpace()
181 return GetObjectsAllocatedInternal<RegionType::kRegionTypeFromSpace>(); in GetObjectsAllocatedInFromSpace()
184 return GetBytesAllocatedInternal<RegionType::kRegionTypeUnevacFromSpace>(); in GetBytesAllocatedInUnevacFromSpace()
187 return GetObjectsAllocatedInternal<RegionType::kRegionTypeUnevacFromSpace>(); in GetObjectsAllocatedInUnevacFromSpace()
285 RegionType GetRegionType(mirror::Object* ref) { in GetRegionType()
[all …]
Dregion_space-inl.h124 template<RegionSpace::RegionType kRegionType>
134 case RegionType::kRegionTypeAll: in GetBytesAllocatedInternal()
137 case RegionType::kRegionTypeFromSpace: in GetBytesAllocatedInternal()
142 case RegionType::kRegionTypeUnevacFromSpace: in GetBytesAllocatedInternal()
147 case RegionType::kRegionTypeToSpace: in GetBytesAllocatedInternal()
159 template<RegionSpace::RegionType kRegionType>
169 case RegionType::kRegionTypeAll: in GetObjectsAllocatedInternal()
172 case RegionType::kRegionTypeFromSpace: in GetObjectsAllocatedInternal()
177 case RegionType::kRegionTypeUnevacFromSpace: in GetObjectsAllocatedInternal()
182 case RegionType::kRegionTypeToSpace: in GetObjectsAllocatedInternal()
Dregion_space.cc190 type_ = RegionType::kRegionTypeUnevacFromSpace; in SetAsUnevacFromSpace()
338 RegionType type = r->Type(); in SetFromSpace()
344 type == RegionType::kRegionTypeToSpace); in SetFromSpace()
355 type == RegionType::kRegionTypeToSpace)) { in SetFromSpace()
371 type == RegionType::kRegionTypeToSpace); in SetFromSpace()
1010 type_ = RegionType::kRegionTypeNone; in Clear()
1069 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.cc2265 space::RegionSpace::RegionType rtype = region_space_->GetRegionType(to_ref); in ProcessMarkStackRef()
2282 case space::RegionSpace::RegionType::kRegionTypeUnevacFromSpace: in ProcessMarkStackRef()
2303 case space::RegionSpace::RegionType::kRegionTypeToSpace: in ProcessMarkStackRef()
2899 using RegionType = space::RegionSpace::RegionType; in AssertToSpaceInvariant() typedef
2900 space::RegionSpace::RegionType type = region_space_->GetRegionTypeUnsafe(ref); in AssertToSpaceInvariant()
2901 if (type == RegionType::kRegionTypeToSpace) { in AssertToSpaceInvariant()
2904 } else if (type == RegionType::kRegionTypeUnevacFromSpace) { in AssertToSpaceInvariant()
2915 if (type == RegionType::kRegionTypeFromSpace) { in AssertToSpaceInvariant()
3005 using RegionType = space::RegionSpace::RegionType; in AssertToSpaceInvariant() typedef
3006 space::RegionSpace::RegionType type = region_space_->GetRegionTypeUnsafe(ref); in AssertToSpaceInvariant()
[all …]