Home
last modified time | relevance | path

Searched refs:live_bitmap (Results 1 – 14 of 14) sorted by relevance

/art/runtime/gc/accounting/
Dspace_bitmap.cc155 void SpaceBitmap<kAlignment>::SweepWalk(const SpaceBitmap<kAlignment>& live_bitmap, in SweepWalk() argument
159 CHECK(live_bitmap.bitmap_begin_ != nullptr); in SweepWalk()
161 CHECK_EQ(live_bitmap.heap_begin_, mark_bitmap.heap_begin_); in SweepWalk()
162 CHECK_EQ(live_bitmap.bitmap_size_, mark_bitmap.bitmap_size_); in SweepWalk()
165 CHECK_GE(sweep_begin, live_bitmap.heap_begin_); in SweepWalk()
172 Atomic<uintptr_t>* live = live_bitmap.bitmap_begin_; in SweepWalk()
174 const size_t start = OffsetToIndex(sweep_begin - live_bitmap.heap_begin_); in SweepWalk()
175 const size_t end = OffsetToIndex(sweep_end - live_bitmap.heap_begin_ - 1); in SweepWalk()
176 CHECK_LT(end, live_bitmap.Size() / sizeof(intptr_t)); in SweepWalk()
197 uintptr_t ptr_base = IndexToOffset(i) + live_bitmap.heap_begin_; in SweepWalk()
Dmod_union_table.cc352 ContinuousSpaceBitmap* live_bitmap = space_->GetLiveBitmap(); in Verify() local
362 live_bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, visitor); in Verify()
390 ContinuousSpaceBitmap* live_bitmap = space_->GetLiveBitmap(); in VisitObjects() local
394 live_bitmap->VisitMarkedRange(start, in VisitObjects()
405 live_bitmap->VisitMarkedRange(start, in VisitObjects()
432 ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in UpdateAndMarkReferences() local
433 live_bitmap->VisitMarkedRange(start, end, add_visitor); in UpdateAndMarkReferences()
/art/runtime/gc/space/
Dspace.cc91 accounting::ContinuousSpaceBitmap* live_bitmap = GetLiveBitmap(); in Sweep() local
94 if (live_bitmap == mark_bitmap) { in Sweep()
99 std::swap(live_bitmap, mark_bitmap); in Sweep()
103 *live_bitmap, *mark_bitmap, reinterpret_cast<uintptr_t>(Begin()), in Sweep()
Dzygote_space.cc47 accounting::ContinuousSpaceBitmap&& live_bitmap, in Create() argument
49 DCHECK(live_bitmap.IsValid()); in Create()
54 live_bitmap.VisitMarkedRange(reinterpret_cast<uintptr_t>(mem_map.Begin()), in Create()
57 zygote_space->live_bitmap_ = std::move(live_bitmap); in Create()
Dzygote_space.h35 accounting::ContinuousSpaceBitmap&& live_bitmap,
Dimage_space.h305 accounting::ContinuousSpaceBitmap&& live_bitmap,
Dlarge_object_space.cc629 accounting::LargeObjectBitmap* live_bitmap = GetLiveBitmap(); in Sweep() local
632 std::swap(live_bitmap, mark_bitmap); in Sweep()
636 accounting::LargeObjectBitmap::SweepWalk(*live_bitmap, *mark_bitmap, in Sweep()
Dimage_space.cc83 accounting::ContinuousSpaceBitmap&& live_bitmap, in ImageSpace() argument
91 live_bitmap_(std::move(live_bitmap)), in ImageSpace()
/art/runtime/gc/collector/
Dimmune_spaces_test.cc44 accounting::ContinuousSpaceBitmap&& live_bitmap, in FakeImageSpace() argument
51 std::move(live_bitmap), in FakeImageSpace()
100 accounting::ContinuousSpaceBitmap live_bitmap(std::move(live_bitmaps_.back())); in CreateImageSpace() local
134 std::move(live_bitmap), in CreateImageSpace()
Dsemi_space.cc316 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in MarkReachableObjects() local
317 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(space->Begin()), in MarkReachableObjects()
329 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in MarkReachableObjects() local
330 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(space->Begin()), in MarkReachableObjects()
Dconcurrent_copying.cc642 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in VerifyGrayImmuneObjects() local
644 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(space->Begin()), in VerifyGrayImmuneObjects()
1341 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in MarkingPhase() local
1349 live_bitmap, in MarkingPhase()
1513 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in CopyingPhase() local
1521 live_bitmap, in CopyingPhase()
2458 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in SweepArray() local
2461 std::swap(live_bitmap, mark_bitmap); in SweepArray()
2532 accounting::LargeObjectBitmap* const live_bitmap = los->GetLiveBitmap(); in MarkZygoteLargeObjects() local
2536 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(range.first), in MarkZygoteLargeObjects()
Dmark_sweep.cc1240 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in SweepArray() local
1243 std::swap(live_bitmap, mark_bitmap); in SweepArray()
/art/runtime/gc/
Dheap.cc1043 accounting::ContinuousSpaceBitmap* live_bitmap = continuous_space->GetLiveBitmap(); in AddSpace() local
1047 if (live_bitmap != nullptr && !space->IsRegionSpace()) { in AddSpace()
1049 live_bitmap_->AddContinuousSpaceBitmap(live_bitmap); in AddSpace()
1086 accounting::ContinuousSpaceBitmap* live_bitmap = continuous_space->GetLiveBitmap(); in RemoveSpace() local
1088 if (live_bitmap != nullptr && !space->IsRegionSpace()) { in RemoveSpace()
1090 live_bitmap_->RemoveContinuousSpaceBitmap(live_bitmap); in RemoveSpace()
1639 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in DumpSpaces() local
1642 if (live_bitmap != nullptr) { in DumpSpaces()
1643 stream << live_bitmap << " " << *live_bitmap << "\n"; in DumpSpaces()
/art/runtime/
Dclass_linker.cc1746 gc::accounting::HeapBitmap* live_bitmap = heap->GetLiveBitmap(); in Update() local
1751 CHECK(live_bitmap->Test(klass.Ptr())) << "Image method has unmarked declaring class"; in Update()