Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dregion_space.h125 enum class RegionType : uint8_t { enum
140 template<RegionType kRegionType> uint64_t GetBytesAllocatedInternal() REQUIRES(!region_lock_);
141 template<RegionType kRegionType> uint64_t GetObjectsAllocatedInternal() REQUIRES(!region_lock_);
143 return GetBytesAllocatedInternal<RegionType::kRegionTypeAll>(); in GetBytesAllocated()
146 return GetObjectsAllocatedInternal<RegionType::kRegionTypeAll>(); in GetObjectsAllocated()
149 return GetBytesAllocatedInternal<RegionType::kRegionTypeFromSpace>(); in GetBytesAllocatedInFromSpace()
152 return GetObjectsAllocatedInternal<RegionType::kRegionTypeFromSpace>(); in GetObjectsAllocatedInFromSpace()
155 return GetBytesAllocatedInternal<RegionType::kRegionTypeUnevacFromSpace>(); in GetBytesAllocatedInUnevacFromSpace()
158 return GetObjectsAllocatedInternal<RegionType::kRegionTypeUnevacFromSpace>(); in GetObjectsAllocatedInUnevacFromSpace()
236 RegionType GetRegionType(mirror::Object* ref) { in GetRegionType()
[all …]
Dregion_space-inl.h121 template<RegionSpace::RegionType kRegionType>
131 case RegionType::kRegionTypeAll: in GetBytesAllocatedInternal()
134 case RegionType::kRegionTypeFromSpace: in GetBytesAllocatedInternal()
139 case RegionType::kRegionTypeUnevacFromSpace: in GetBytesAllocatedInternal()
144 case RegionType::kRegionTypeToSpace: in GetBytesAllocatedInternal()
156 template<RegionSpace::RegionType kRegionType>
166 case RegionType::kRegionTypeAll: in GetObjectsAllocatedInternal()
169 case RegionType::kRegionTypeFromSpace: in GetObjectsAllocatedInternal()
174 case RegionType::kRegionTypeUnevacFromSpace: in GetObjectsAllocatedInternal()
179 case RegionType::kRegionTypeToSpace: in GetObjectsAllocatedInternal()
Dregion_space.cc213 RegionType type = r->Type(); in SetFromSpace()
219 type == RegionType::kRegionTypeToSpace); in SetFromSpace()
229 type == RegionType::kRegionTypeToSpace)) { in SetFromSpace()
236 type == RegionType::kRegionTypeToSpace); in SetFromSpace()
594 type_ = RegionType::kRegionTypeNone; in Clear()
631 type_ = RegionType::kRegionTypeToSpace; in MarkAsAllocated()
/art/runtime/gc/collector/
Dconcurrent_copying-inl.h128 space::RegionSpace::RegionType rtype = region_space_->GetRegionTypeUnsafe(from_ref); in Mark()
130 case space::RegionSpace::RegionType::kRegionTypeToSpace: in Mark()
133 case space::RegionSpace::RegionType::kRegionTypeFromSpace: { in Mark()
145 case space::RegionSpace::RegionType::kRegionTypeUnevacFromSpace: in Mark()
Dconcurrent_copying.cc1860 using RegionType = space::RegionSpace::RegionType; in AssertToSpaceInvariant() typedef
1861 space::RegionSpace::RegionType type = region_space_->GetRegionTypeUnsafe(ref); in AssertToSpaceInvariant()
1862 if (type == RegionType::kRegionTypeToSpace) { in AssertToSpaceInvariant()
1865 } else if (type == RegionType::kRegionTypeUnevacFromSpace) { in AssertToSpaceInvariant()
1874 if (type == RegionType::kRegionTypeFromSpace) { in AssertToSpaceInvariant()
1938 using RegionType = space::RegionSpace::RegionType; in AssertToSpaceInvariant() typedef
1939 space::RegionSpace::RegionType type = region_space_->GetRegionTypeUnsafe(ref); in AssertToSpaceInvariant()
1940 if (type == RegionType::kRegionTypeToSpace) { in AssertToSpaceInvariant()
1943 } else if (type == RegionType::kRegionTypeUnevacFromSpace) { in AssertToSpaceInvariant()
1952 if (type == RegionType::kRegionTypeFromSpace) { in AssertToSpaceInvariant()
[all …]