Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dregion_space.h102 enum class RegionType : uint8_t { enum
117 template<RegionType kRegionType> uint64_t GetBytesAllocatedInternal() REQUIRES(!region_lock_);
118 template<RegionType kRegionType> uint64_t GetObjectsAllocatedInternal() REQUIRES(!region_lock_);
120 return GetBytesAllocatedInternal<RegionType::kRegionTypeAll>(); in GetBytesAllocated()
123 return GetObjectsAllocatedInternal<RegionType::kRegionTypeAll>(); in GetObjectsAllocated()
126 return GetBytesAllocatedInternal<RegionType::kRegionTypeFromSpace>(); in GetBytesAllocatedInFromSpace()
129 return GetObjectsAllocatedInternal<RegionType::kRegionTypeFromSpace>(); in GetObjectsAllocatedInFromSpace()
132 return GetBytesAllocatedInternal<RegionType::kRegionTypeUnevacFromSpace>(); in GetBytesAllocatedInUnevacFromSpace()
135 return GetObjectsAllocatedInternal<RegionType::kRegionTypeUnevacFromSpace>(); in GetObjectsAllocatedInUnevacFromSpace()
197 RegionType GetRegionType(mirror::Object* ref) { in GetRegionType()
[all …]
Dregion_space-inl.h155 template<RegionSpace::RegionType kRegionType>
165 case RegionType::kRegionTypeAll: in GetBytesAllocatedInternal()
168 case RegionType::kRegionTypeFromSpace: in GetBytesAllocatedInternal()
173 case RegionType::kRegionTypeUnevacFromSpace: in GetBytesAllocatedInternal()
178 case RegionType::kRegionTypeToSpace: in GetBytesAllocatedInternal()
190 template<RegionSpace::RegionType kRegionType>
200 case RegionType::kRegionTypeAll: in GetObjectsAllocatedInternal()
203 case RegionType::kRegionTypeFromSpace: in GetObjectsAllocatedInternal()
208 case RegionType::kRegionTypeUnevacFromSpace: in GetObjectsAllocatedInternal()
213 case RegionType::kRegionTypeToSpace: in GetObjectsAllocatedInternal()
Dregion_space.cc160 RegionType type = r->Type(); in SetFromSpace()
166 type == RegionType::kRegionTypeToSpace); in SetFromSpace()
176 type == RegionType::kRegionTypeToSpace)) { in SetFromSpace()
183 type == RegionType::kRegionTypeToSpace); in SetFromSpace()
/art/runtime/gc/collector/
Dconcurrent_copying-inl.h51 space::RegionSpace::RegionType rtype = region_space_->GetRegionType(from_ref); in Mark()
53 case space::RegionSpace::RegionType::kRegionTypeToSpace: in Mark()
56 case space::RegionSpace::RegionType::kRegionTypeFromSpace: { in Mark()
70 case space::RegionSpace::RegionType::kRegionTypeUnevacFromSpace: { in Mark()
87 case space::RegionSpace::RegionType::kRegionTypeNone: in Mark()
Dconcurrent_copying.cc1920 space::RegionSpace::RegionType rtype = region_space_->GetRegionType(from_ref); in IsMarked()
1921 if (rtype == space::RegionSpace::RegionType::kRegionTypeToSpace) { in IsMarked()
1926 if (rtype == space::RegionSpace::RegionType::kRegionTypeFromSpace) { in IsMarked()
1931 } else if (rtype == space::RegionSpace::RegionType::kRegionTypeUnevacFromSpace) { in IsMarked()