Home
last modified time | relevance | path

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

/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()
111 accounting::ContinuousSpaceBitmap* live_bitmap = GetLiveBitmap(); in BindLiveToMarkBitmap() local
112 if (live_bitmap != mark_bitmap_.get()) { in BindLiveToMarkBitmap()
114 Runtime::Current()->GetHeap()->GetMarkBitmap()->ReplaceBitmap(mark_bitmap, live_bitmap); in BindLiveToMarkBitmap()
116 mark_bitmap_.reset(live_bitmap); in BindLiveToMarkBitmap()
Dzygote_space.cc45 accounting::ContinuousSpaceBitmap* live_bitmap, in Create() argument
47 DCHECK(live_bitmap != nullptr); in Create()
52 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(mem_map->Begin()), in Create()
57 zygote_space->live_bitmap_.reset(live_bitmap); in Create()
Dzygote_space.h34 accounting::ContinuousSpaceBitmap* live_bitmap,
Dimage_space.h186 accounting::ContinuousSpaceBitmap* live_bitmap,
Dlarge_object_space.cc595 accounting::LargeObjectBitmap* live_bitmap = GetLiveBitmap(); in Sweep() local
598 std::swap(live_bitmap, mark_bitmap); in Sweep()
602 accounting::LargeObjectBitmap::SweepWalk(*live_bitmap, *mark_bitmap, in Sweep()
Dimage_space.cc62 accounting::ContinuousSpaceBitmap* live_bitmap, in ImageSpace() argument
72 DCHECK(live_bitmap != nullptr); in ImageSpace()
73 live_bitmap_.reset(live_bitmap); in ImageSpace()
/art/runtime/gc/accounting/
Dspace_bitmap.cc146 void SpaceBitmap<kAlignment>::SweepWalk(const SpaceBitmap<kAlignment>& live_bitmap, in SweepWalk() argument
150 CHECK(live_bitmap.bitmap_begin_ != nullptr); in SweepWalk()
152 CHECK_EQ(live_bitmap.heap_begin_, mark_bitmap.heap_begin_); in SweepWalk()
153 CHECK_EQ(live_bitmap.bitmap_size_, mark_bitmap.bitmap_size_); in SweepWalk()
156 CHECK_GE(sweep_begin, live_bitmap.heap_begin_); in SweepWalk()
174 size_t start = OffsetToIndex(sweep_begin - live_bitmap.heap_begin_); in SweepWalk()
175 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()
177 Atomic<uintptr_t>* live = live_bitmap.bitmap_begin_; in SweepWalk()
182 uintptr_t ptr_base = IndexToOffset(i) + live_bitmap.heap_begin_; in SweepWalk()
Dmod_union_table.cc351 ContinuousSpaceBitmap* live_bitmap = space_->GetLiveBitmap(); in Verify() local
361 live_bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, visitor); in Verify()
389 ContinuousSpaceBitmap* live_bitmap = space_->GetLiveBitmap(); in VisitObjects() local
393 live_bitmap->VisitMarkedRange(start, in VisitObjects()
404 live_bitmap->VisitMarkedRange(start, in VisitObjects()
431 ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in UpdateAndMarkReferences() local
432 live_bitmap->VisitMarkedRange(start, end, add_visitor); in UpdateAndMarkReferences()
/art/runtime/gc/collector/
Dsemi_space.cc373 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in MarkReachableObjects() local
374 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(space->Begin()), in MarkReachableObjects()
386 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in MarkReachableObjects() local
387 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(space->Begin()), in MarkReachableObjects()
537 accounting::ContinuousSpaceBitmap* live_bitmap = promo_dest_space_->GetLiveBitmap(); in MarkNonForwardedObject() local
538 DCHECK(live_bitmap != nullptr); in MarkNonForwardedObject()
541 DCHECK(!live_bitmap->Test(forward_address)); in MarkNonForwardedObject()
544 DCHECK_EQ(live_bitmap, mark_bitmap); in MarkNonForwardedObject()
564 live_bitmap->Set(forward_address); in MarkNonForwardedObject()
737 accounting::ContinuousSpaceBitmap* live_bitmap = nullptr; in ProcessMarkStack() local
[all …]
Dgarbage_collector.cc131 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in SwapBitmaps() local
133 if (live_bitmap != nullptr && live_bitmap != mark_bitmap) { in SwapBitmaps()
134 heap_->GetLiveBitmap()->ReplaceBitmap(live_bitmap, mark_bitmap); in SwapBitmaps()
135 heap_->GetMarkBitmap()->ReplaceBitmap(mark_bitmap, live_bitmap); in SwapBitmaps()
Dimmune_spaces_test.cc44 accounting::ContinuousSpaceBitmap* live_bitmap, in DummyImageSpace() argument
50 live_bitmap, in DummyImageSpace()
98 std::unique_ptr<accounting::ContinuousSpaceBitmap> live_bitmap(std::move(live_bitmaps_.back())); in CreateImageSpace() local
135 live_bitmap.release(), in CreateImageSpace()
Dconcurrent_copying.cc524 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in VerifyGrayImmuneObjects() local
526 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(space->Begin()), in VerifyGrayImmuneObjects()
800 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in MarkingPhase() local
807 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(space->Begin()), in MarkingPhase()
1696 accounting::LargeObjectBitmap* const live_bitmap = los->GetLiveBitmap(); in MarkZygoteLargeObjects() local
1700 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(range.first), in MarkZygoteLargeObjects()
Dmark_sweep.cc1216 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in SweepArray() local
1219 std::swap(live_bitmap, mark_bitmap); in SweepArray()
/art/runtime/gc/
Dheap.cc926 accounting::ContinuousSpaceBitmap* live_bitmap = continuous_space->GetLiveBitmap(); in AddSpace() local
930 if (live_bitmap != nullptr && !space->IsRegionSpace()) { in AddSpace()
932 live_bitmap_->AddContinuousSpaceBitmap(live_bitmap); in AddSpace()
969 accounting::ContinuousSpaceBitmap* live_bitmap = continuous_space->GetLiveBitmap(); in RemoveSpace() local
971 if (live_bitmap != nullptr && !space->IsRegionSpace()) { in RemoveSpace()
973 live_bitmap_->RemoveContinuousSpaceBitmap(live_bitmap); in RemoveSpace()
1474 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in DumpSpaces() local
1477 if (live_bitmap != nullptr) { in DumpSpaces()
1478 stream << live_bitmap << " " << *live_bitmap << "\n"; in DumpSpaces()
/art/compiler/
Dimage_writer.cc1745 gc::accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in CalculateNewObjectOffsets() local
1746 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(space->Begin()), in CalculateNewObjectOffsets()