/art/runtime/gc/accounting/ |
D | heap_bitmap-inl.h | 30 for (const auto& bitmap : continuous_space_bitmaps_) { in Visit() local 31 bitmap->VisitMarkedRange(bitmap->HeapBegin(), bitmap->HeapLimit(), visitor); in Visit() 33 for (const auto& bitmap : large_object_bitmaps_) { in Visit() local 34 bitmap->VisitMarkedRange(bitmap->HeapBegin(), bitmap->HeapLimit(), visitor); in Visit() 39 ContinuousSpaceBitmap* bitmap = GetContinuousSpaceBitmap(obj); in Test() local 40 if (LIKELY(bitmap != nullptr)) { in Test() 41 return bitmap->Test(obj); in Test() 43 for (const auto& bitmap : large_object_bitmaps_) { in Test() local 44 if (LIKELY(bitmap->HasAddress(obj))) { in Test() 45 return bitmap->Test(obj); in Test() [all …]
|
D | heap_bitmap.cc | 43 void HeapBitmap::AddContinuousSpaceBitmap(accounting::ContinuousSpaceBitmap* bitmap) { in AddContinuousSpaceBitmap() argument 44 DCHECK(bitmap != nullptr); in AddContinuousSpaceBitmap() 47 CHECK(bitmap->HeapBegin() >= cur_bitmap->HeapLimit() || in AddContinuousSpaceBitmap() 48 bitmap->HeapLimit() <= cur_bitmap->HeapBegin()) in AddContinuousSpaceBitmap() 49 << "Bitmap " << bitmap->Dump() << " overlaps with existing bitmap " in AddContinuousSpaceBitmap() 52 continuous_space_bitmaps_.push_back(bitmap); in AddContinuousSpaceBitmap() 55 void HeapBitmap::RemoveContinuousSpaceBitmap(accounting::ContinuousSpaceBitmap* bitmap) { in RemoveContinuousSpaceBitmap() argument 56 DCHECK(bitmap != nullptr); in RemoveContinuousSpaceBitmap() 57 auto it = std::find(continuous_space_bitmaps_.begin(), continuous_space_bitmaps_.end(), bitmap); in RemoveContinuousSpaceBitmap() 62 void HeapBitmap::AddLargeObjectBitmap(LargeObjectBitmap* bitmap) { in AddLargeObjectBitmap() argument [all …]
|
D | heap_bitmap.h | 65 void AddContinuousSpaceBitmap(ContinuousSpaceBitmap* bitmap); 66 void RemoveContinuousSpaceBitmap(ContinuousSpaceBitmap* bitmap); 67 void AddLargeObjectBitmap(LargeObjectBitmap* bitmap); 68 void RemoveLargeObjectBitmap(LargeObjectBitmap* bitmap);
|
D | card_table-inl.h | 52 inline size_t CardTable::Scan(ContinuousSpaceBitmap* bitmap, byte* scan_begin, byte* scan_end, in Scan() argument 54 DCHECK_GE(scan_begin, reinterpret_cast<byte*>(bitmap->HeapBegin())); in Scan() 56 DCHECK_LE(scan_end, reinterpret_cast<byte*>(bitmap->HeapLimit())); in Scan() 67 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan() 96 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan() 110 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan()
|
D | space_bitmap-inl.h | 178 inline std::ostream& operator << (std::ostream& stream, const SpaceBitmap<kAlignment>& bitmap) { 180 << bitmap.GetName() << "[" 181 << "begin=" << reinterpret_cast<const void*>(bitmap.HeapBegin()) 182 << ",end=" << reinterpret_cast<const void*>(bitmap.HeapLimit())
|
D | space_bitmap.h | 105 explicit ClearVisitor(SpaceBitmap* const bitmap) in ClearVisitor() argument 106 : bitmap_(bitmap) { in ClearVisitor() 234 std::ostream& operator << (std::ostream& stream, const SpaceBitmap<kAlignment>& bitmap);
|
D | space_bitmap_test.cc | 42 BitmapVerify(ContinuousSpaceBitmap* bitmap, const mirror::Object* begin, in BitmapVerify() argument 44 : bitmap_(bitmap), in BitmapVerify()
|
D | remembered_set.cc | 130 ContinuousSpaceBitmap* bitmap = space_->GetLiveBitmap(); in UpdateAndMarkReferences() local 136 bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, obj_visitor); in UpdateAndMarkReferences()
|
D | card_table.h | 105 size_t Scan(SpaceBitmap<kObjectAlignment>* bitmap, byte* scan_begin, byte* scan_end,
|
D | mod_union_table.cc | 317 ContinuousSpaceBitmap* bitmap = space_->GetLiveBitmap(); in UpdateAndMarkReferences() local 321 bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, scan_visitor); in UpdateAndMarkReferences()
|
/art/patchoat/ |
D | patchoat.h | 64 PatchOat(InstructionSet isa, MemMap* image, gc::accounting::ContinuousSpaceBitmap* bitmap, in PatchOat() argument 66 : image_(image), bitmap_(bitmap), heap_(heap), in PatchOat() 69 gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta, in PatchOat() argument 71 : oat_file_(oat_file), image_(image), bitmap_(bitmap), heap_(heap), in PatchOat()
|
/art/runtime/gc/ |
D | heap_test.cc | 67 std::unique_ptr<accounting::ContinuousSpaceBitmap> bitmap( in TEST_F() local 71 bitmap->Set(fake_end_of_heap_object); in TEST_F()
|
D | heap.cc | 2385 accounting::ContinuousSpaceBitmap* bitmap = in VerifyReference() local 2388 if (bitmap == nullptr) { in VerifyReference() 2395 if (bitmap->Test(obj)) { in VerifyReference() 2413 card_table->Scan(bitmap, byte_cover_begin, in VerifyReference()
|
/art/runtime/gc/space/ |
D | zygote_space.cc | 113 accounting::ContinuousSpaceBitmap* bitmap = zygote_space->GetLiveBitmap(); in SweepCallback() local 115 bitmap->Clear(ptrs[i]); in SweepCallback()
|
D | malloc_space.cc | 238 accounting::ContinuousSpaceBitmap* bitmap = space->GetLiveBitmap(); in SweepCallback() local 240 bitmap->Clear(ptrs[i]); in SweepCallback()
|
D | image_space.cc | 679 std::unique_ptr<accounting::ContinuousSpaceBitmap> bitmap( in Init() local 683 if (bitmap.get() == nullptr) { in Init() 689 map.release(), bitmap.release())); in Init()
|
D | large_object_space.cc | 499 accounting::LargeObjectBitmap* bitmap = space->GetLiveBitmap(); in SweepCallback() local 501 bitmap->Clear(ptrs[i]); in SweepCallback()
|
/art/runtime/gc/collector/ |
D | mark_sweep.cc | 305 accounting::ContinuousSpaceBitmap* bitmap = space->GetMarkBitmap(); in FindDefaultSpaceBitmap() local 307 if (bitmap != nullptr && in FindDefaultSpaceBitmap() 309 current_space_bitmap_ = bitmap; in FindDefaultSpaceBitmap() 683 accounting::ContinuousSpaceBitmap* bitmap, in CardScanTask() argument 687 bitmap_(bitmap), in CardScanTask() 818 accounting::ContinuousSpaceBitmap* bitmap, uintptr_t begin, uintptr_t end) in RecursiveMarkTask() argument 819 : MarkStackTask<false>(thread_pool, mark_sweep, 0, NULL), bitmap_(bitmap), begin_(begin), in RecursiveMarkTask()
|
D | mark_compact.cc | 357 accounting::ContinuousSpaceBitmap* bitmap = space->GetLiveBitmap(); in UpdateReferences() local 358 if (bitmap != nullptr) { in UpdateReferences() 360 bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(space->Begin()), in UpdateReferences()
|
D | semi_space.cc | 547 accounting::ContinuousSpaceBitmap* bitmap = fallback_space_->GetLiveBitmap(); in MarkNonForwardedObject() local 548 if (bitmap != nullptr) { in MarkNonForwardedObject() 549 bitmap->Set(forward_address); in MarkNonForwardedObject()
|