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
403 state_(RegionState::kRegionStateAllocated), in Region()
411 state_ = RegionState::kRegionStateFree; in Init()
423 RegionState State() const { in State()
439 bool is_free = (state_ == RegionState::kRegionStateFree); in IsFree()
469 return state_ == RegionState::kRegionStateAllocated; in IsAllocated()
474 bool is_large = (state_ == RegionState::kRegionStateLarge); in IsLarge()
487 bool is_large_tail = (state_ == RegionState::kRegionStateLargeTail); in IsLargeTail()
639 RegionState state_; // The region state (see RegionState).
791 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()
1009 state_ = RegionState::kRegionStateFree; in Clear()
1077 state_ = RegionState::kRegionStateAllocated; in Unfree()
1082 state_ = RegionState::kRegionStateLarge; in UnfreeLarge()
1087 state_ = RegionState::kRegionStateLargeTail; in UnfreeLargeTail()