Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dregion_space.h162 enum class RegionState : uint8_t { enum
399 state_(RegionState::kRegionStateAllocated), in Region()
407 state_ = RegionState::kRegionStateFree; in Init()
419 RegionState State() const { in State()
435 bool is_free = (state_ == RegionState::kRegionStateFree); in IsFree()
465 return state_ == RegionState::kRegionStateAllocated; in IsAllocated()
470 bool is_large = (state_ == RegionState::kRegionStateLarge); in IsLarge()
483 bool is_large_tail = (state_ == RegionState::kRegionStateLargeTail); in IsLargeTail()
629 RegionState state_; // The region state (see RegionState).
780 std::ostream& operator<<(std::ostream& os, const RegionSpace::RegionState& value);
Dregion_space.cc355 RegionState state = r->State(); in SetFromSpace()
360 DCHECK((state == RegionState::kRegionStateAllocated || in SetFromSpace()
361 state == RegionState::kRegionStateLarge) && in SetFromSpace()
372 if (UNLIKELY(state == RegionState::kRegionStateLarge && in SetFromSpace()
388 DCHECK(state == RegionState::kRegionStateLargeTail && in SetFromSpace()
1005 state_ = RegionState::kRegionStateFree; in Clear()
1073 state_ = RegionState::kRegionStateAllocated; in Unfree()
1078 state_ = RegionState::kRegionStateLarge; in UnfreeLarge()
1083 state_ = RegionState::kRegionStateLargeTail; in UnfreeLargeTail()