Home | History | Annotate | Download | only in collector

Lines Matching refs:space

19 #include "gc/space/space-inl.h"
35 bool ImmuneRegion::AddContinuousSpace(space::ContinuousSpace* space) {
37 if (space->GetLiveBitmap() != space->GetMarkBitmap()) {
38 CHECK(space->IsContinuousMemMapAllocSpace());
39 space->AsContinuousMemMapAllocSpace()->BindLiveToMarkBitmap();
41 mirror::Object* space_begin = reinterpret_cast<mirror::Object*>(space->Begin());
42 mirror::Object* space_limit = reinterpret_cast<mirror::Object*>(space->Limit());
47 if (space_limit <= begin_) { // Space is before the immune region.
49 } else if (space_begin >= end_) { // Space is after the immune region.
58 bool ImmuneRegion::ContainsSpace(const space::ContinuousSpace* space) const {
60 begin_ <= reinterpret_cast<mirror::Object*>(space->Begin()) &&
61 end_ >= reinterpret_cast<mirror::Object*>(space->Limit());
63 // A bump pointer space shoult not be in the immune region.
64 DCHECK(space->GetType() != space::kSpaceTypeBumpPointerSpace);