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.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.cc190 type_ = RegionType::kRegionTypeUnevacFromSpace; in SetAsUnevacFromSpace()
357 RegionType type = r->Type(); in SetFromSpace()
363 type == RegionType::kRegionTypeToSpace); in SetFromSpace()
374 type == RegionType::kRegionTypeToSpace)) { in SetFromSpace()
390 type == RegionType::kRegionTypeToSpace); in SetFromSpace()
1012 type_ = RegionType::kRegionTypeNone; in Clear()
1071 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.cc2159 space::RegionSpace::RegionType rtype = region_space_->GetRegionType(to_ref); in ProcessMarkStackRef()
2178 case space::RegionSpace::RegionType::kRegionTypeUnevacFromSpace: in ProcessMarkStackRef()
2199 case space::RegionSpace::RegionType::kRegionTypeToSpace: in ProcessMarkStackRef()
2787 using RegionType = space::RegionSpace::RegionType; in AssertToSpaceInvariant() typedef
2788 space::RegionSpace::RegionType type = region_space_->GetRegionTypeUnsafe(ref); in AssertToSpaceInvariant()
2789 if (type == RegionType::kRegionTypeToSpace) { in AssertToSpaceInvariant()
2792 } else if (type == RegionType::kRegionTypeUnevacFromSpace) { in AssertToSpaceInvariant()
2803 if (type == RegionType::kRegionTypeFromSpace) { in AssertToSpaceInvariant()
2893 using RegionType = space::RegionSpace::RegionType; in AssertToSpaceInvariant() typedef
2894 space::RegionSpace::RegionType type = region_space_->GetRegionTypeUnsafe(ref); in AssertToSpaceInvariant()
[all …]