Home
last modified time | relevance | path

Searched refs:RegionState (Results 1 – 2 of 2) sorted by relevance

/art/runtime/gc/space/
Dregion_space.h110 enum class RegionState : uint8_t { enum
238 state_(RegionState::kRegionStateAllocated), type_(RegionType::kRegionTypeToSpace), in Region()
244 state_(RegionState::kRegionStateFree), type_(RegionType::kRegionTypeNone), in Region()
251 RegionState State() const { in State()
261 state_ = RegionState::kRegionStateFree; in Clear()
280 bool is_free = state_ == RegionState::kRegionStateFree; in IsFree()
292 state_ = RegionState::kRegionStateAllocated; in Unfree()
299 state_ = RegionState::kRegionStateLarge; in UnfreeLarge()
306 state_ = RegionState::kRegionStateLargeTail; in UnfreeLargeTail()
317 return state_ == RegionState::kRegionStateAllocated; in IsAllocated()
[all …]
Dregion_space.cc159 RegionState state = r->State(); in SetFromSpace()
164 DCHECK((state == RegionState::kRegionStateAllocated || in SetFromSpace()
165 state == RegionState::kRegionStateLarge) && in SetFromSpace()
175 if (UNLIKELY(state == RegionState::kRegionStateLarge && in SetFromSpace()
182 DCHECK(state == RegionState::kRegionStateLargeTail && in SetFromSpace()