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
406 state_(RegionState::kRegionStateAllocated), in Region()
414 state_ = RegionState::kRegionStateFree; in Init()
426 RegionState State() const { in State()
442 bool is_free = (state_ == RegionState::kRegionStateFree); in IsFree()
472 return state_ == RegionState::kRegionStateAllocated; in IsAllocated()
477 bool is_large = (state_ == RegionState::kRegionStateLarge); in IsLarge()
490 bool is_large_tail = (state_ == RegionState::kRegionStateLargeTail); in IsLargeTail()
642 RegionState state_; // The region state (see RegionState).
794 std::ostream& operator<<(std::ostream& os, RegionSpace::RegionState value);
Dregion_space.cc337 RegionState state = r->State(); in SetFromSpace()
342 DCHECK((state == RegionState::kRegionStateAllocated || in SetFromSpace()
343 state == RegionState::kRegionStateLarge) && in SetFromSpace()
354 if (UNLIKELY(state == RegionState::kRegionStateLarge && in SetFromSpace()
370 DCHECK(state == RegionState::kRegionStateLargeTail && in SetFromSpace()
1023 state_ = RegionState::kRegionStateFree; in Clear()
1091 state_ = RegionState::kRegionStateAllocated; in Unfree()
1096 state_ = RegionState::kRegionStateLarge; in UnfreeLarge()
1101 state_ = RegionState::kRegionStateLargeTail; in UnfreeLargeTail()