Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dregion_space.h114 enum class RegionState : uint8_t { enum
259 state_(RegionState::kRegionStateAllocated), type_(RegionType::kRegionTypeToSpace), in Region()
268 state_ = RegionState::kRegionStateFree; in Init()
280 RegionState State() const { in State()
295 bool is_free = state_ == RegionState::kRegionStateFree; in IsFree()
323 return state_ == RegionState::kRegionStateAllocated; in IsAllocated()
328 bool is_large = state_ == RegionState::kRegionStateLarge; in IsLarge()
337 bool is_large_tail = state_ == RegionState::kRegionStateLargeTail; in IsLargeTail()
458 RegionState state_; // The region state (see RegionState).
544 std::ostream& operator<<(std::ostream& os, const RegionSpace::RegionState& value);
Dregion_space.cc207 RegionState state = r->State(); in SetFromSpace()
212 DCHECK((state == RegionState::kRegionStateAllocated || in SetFromSpace()
213 state == RegionState::kRegionStateLarge) && in SetFromSpace()
223 if (UNLIKELY(state == RegionState::kRegionStateLarge && in SetFromSpace()
230 DCHECK(state == RegionState::kRegionStateLargeTail && in SetFromSpace()
554 state_ = RegionState::kRegionStateFree; in Clear()
598 state_ = RegionState::kRegionStateAllocated; in Unfree()
603 state_ = RegionState::kRegionStateLarge; in UnfreeLarge()
608 state_ = RegionState::kRegionStateLargeTail; in UnfreeLargeTail()