• Home
  • Raw
  • Download

Lines Matching refs:space

86   for (const auto& space : GetHeap()->GetContinuousSpaces()) {  in BindBitmaps()  local
87 if (space->GetGcRetentionPolicy() == space::kGcRetentionPolicyNeverCollect) { in BindBitmaps()
88 immune_spaces_.AddSpace(space); in BindBitmaps()
291 for (const auto& space : immune_spaces_.GetSpaces()) { in UpdateAndMarkModUnion() local
292 const char* name = space->IsZygoteSpace() in UpdateAndMarkModUnion()
295 DCHECK(space->IsZygoteSpace() || space->IsImageSpace()) << *space; in UpdateAndMarkModUnion()
297 accounting::ModUnionTable* mod_union_table = heap_->FindModUnionTableFromSpace(space); in UpdateAndMarkModUnion()
302 space->GetLiveBitmap()->VisitMarkedRange(reinterpret_cast<uintptr_t>(space->Begin()), in UpdateAndMarkModUnion()
303 reinterpret_cast<uintptr_t>(space->End()), in UpdateAndMarkModUnion()
342 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in FindDefaultSpaceBitmap() local
343 accounting::ContinuousSpaceBitmap* bitmap = space->GetMarkBitmap(); in FindDefaultSpaceBitmap()
346 space->GetGcRetentionPolicy() == space::kGcRetentionPolicyAlwaysCollect) { in FindDefaultSpaceBitmap()
349 if (space != heap_->GetNonMovingSpace()) { in FindDefaultSpaceBitmap()
417 space::LargeObjectSpace* large_object_space = mark_sweep_->GetHeap()->GetLargeObjectsSpace(); in operator ()()
589 space::LargeObjectSpace* large_object_space = heap->GetLargeObjectsSpace(); in VisitRoot()
875 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in ScanGrayObjects() local
876 if (space->GetMarkBitmap() == nullptr) { in ScanGrayObjects()
879 uint8_t* card_begin = space->Begin(); in ScanGrayObjects()
880 uint8_t* card_end = space->End(); in ScanGrayObjects()
895 bool clear_card = paused && !space->IsZygoteSpace() && !space->IsImageSpace(); in ScanGrayObjects()
910 space->GetMarkBitmap(), in ScanGrayObjects()
930 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in ScanGrayObjects() local
931 if (space->GetMarkBitmap() != nullptr) { in ScanGrayObjects()
934 switch (space->GetGcRetentionPolicy()) { in ScanGrayObjects()
935 case space::kGcRetentionPolicyNeverCollect: in ScanGrayObjects()
938 case space::kGcRetentionPolicyFullCollect: in ScanGrayObjects()
941 case space::kGcRetentionPolicyAlwaysCollect: in ScanGrayObjects()
950 bool clear_card = paused && !space->IsZygoteSpace() && !space->IsImageSpace(); in ScanGrayObjects()
952 card_table->Scan<true>(space->GetMarkBitmap(), in ScanGrayObjects()
953 space->Begin(), in ScanGrayObjects()
954 space->End(), in ScanGrayObjects()
958 card_table->Scan<false>(space->GetMarkBitmap(), in ScanGrayObjects()
959 space->Begin(), in ScanGrayObjects()
960 space->End(), in ScanGrayObjects()
1013 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in RecursiveMark() local
1014 if ((space->GetGcRetentionPolicy() == space::kGcRetentionPolicyAlwaysCollect) || in RecursiveMark()
1015 (!partial && space->GetGcRetentionPolicy() == space::kGcRetentionPolicyFullCollect)) { in RecursiveMark()
1016 current_space_bitmap_ = space->GetMarkBitmap(); in RecursiveMark()
1024 uintptr_t begin = reinterpret_cast<uintptr_t>(space->Begin()); in RecursiveMark()
1025 uintptr_t end = reinterpret_cast<uintptr_t>(space->End()); in RecursiveMark()
1049 uintptr_t begin = reinterpret_cast<uintptr_t>(space->Begin()); in RecursiveMark()
1050 uintptr_t end = reinterpret_cast<uintptr_t>(space->End()); in RecursiveMark()
1195 std::vector<space::ContinuousSpace*> sweep_spaces; in SweepArray()
1196 space::ContinuousSpace* non_moving_space = nullptr; in SweepArray()
1197 for (space::ContinuousSpace* space : heap_->GetContinuousSpaces()) { in SweepArray()
1198 if (space->IsAllocSpace() && in SweepArray()
1199 !immune_spaces_.ContainsSpace(space) && in SweepArray()
1200 space->GetLiveBitmap() != nullptr) { in SweepArray()
1201 if (space == heap_->GetNonMovingSpace()) { in SweepArray()
1202 non_moving_space = space; in SweepArray()
1204 sweep_spaces.push_back(space); in SweepArray()
1214 for (space::ContinuousSpace* space : sweep_spaces) { in SweepArray()
1215 space::AllocSpace* alloc_space = space->AsAllocSpace(); in SweepArray()
1216 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in SweepArray()
1217 accounting::ContinuousSpaceBitmap* mark_bitmap = space->GetMarkBitmap(); in SweepArray()
1227 if (space->HasAddress(obj)) { in SweepArray()
1254 space::LargeObjectSpace* large_object_space = GetHeap()->GetLargeObjectsSpace(); in SweepArray()
1296 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in Sweep() local
1297 if (space->IsContinuousMemMapAllocSpace()) { in Sweep()
1298 space::ContinuousMemMapAllocSpace* alloc_space = space->AsContinuousMemMapAllocSpace(); in Sweep()
1309 space::LargeObjectSpace* los = heap_->GetLargeObjectsSpace(); in SweepLargeObjects()