/art/runtime/gc/accounting/ |
D | card_table_test.cc | 65 size_t offset = RoundDown(addr - heap_begin_, CardTable::kCardSize); in PseudoRandomCard() 69 for (const uint8_t* addr = HeapBegin(); addr != HeapLimit(); addr += CardTable::kCardSize) { in FillRandom() 111 8U * CardTable::kCardSize); in TEST_F() 114 …for (uint8_t* cstart = HeapBegin(); cstart < HeapBegin() + delta; cstart += CardTable::kCardSize) { in TEST_F() 115 start_offset = (start_offset + kObjectAlignment) % CardTable::kCardSize; in TEST_F() 117 for (uint8_t* cend = HeapLimit() - delta; cend < HeapLimit(); cend += CardTable::kCardSize) { in TEST_F() 121 end_offset = (end_offset + kObjectAlignment) % CardTable::kCardSize; in TEST_F() 125 for (uint8_t* cur = start - CardTable::kCardSize; cur >= HeapBegin(); in TEST_F() 126 cur -= CardTable::kCardSize) { in TEST_F() 130 for (uint8_t* cur = end + CardTable::kCardSize; cur < HeapLimit(); in TEST_F() [all …]
|
D | mod_union_table.cc | 362 live_bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, visitor); in Verify() 372 uintptr_t end = start + CardTable::kCardSize; in Dump() 379 uintptr_t end = start + CardTable::kCardSize; in Dump() 393 uintptr_t end = start + CardTable::kCardSize; in VisitObjects() 404 uintptr_t end = start + CardTable::kCardSize; in VisitObjects() 428 uintptr_t end = start + CardTable::kCardSize; in UpdateAndMarkReferences() 488 CHECK_ALIGNED(reinterpret_cast<uintptr_t>(space->Limit()), CardTable::kCardSize); in ModUnionTableCardCache() 492 RoundUp(reinterpret_cast<uintptr_t>(space->Limit()), CardTable::kCardSize))); in ModUnionTableCardCache() 516 bitmap_->VisitMarkedRange(start, start + CardTable::kCardSize, scan_visitor); in operator ()() 552 0, RoundUp(space_->Size(), CardTable::kCardSize) / CardTable::kCardSize, bit_visitor); in UpdateAndMarkReferences() [all …]
|
D | card_table.cc | 35 constexpr size_t CardTable::kCardSize; member in art::gc::accounting::CardTable 64 size_t capacity = heap_capacity / kCardSize; in Create() 109 CHECK_ALIGNED(reinterpret_cast<uintptr_t>(start), kCardSize); in ClearCardRange() 110 CHECK_ALIGNED(reinterpret_cast<uintptr_t>(end), kCardSize); in ClearCardRange()
|
D | mod_union_table_test.cc | 199 auto* obj1 = AllocObjectArray(self, space, CardTable::kCardSize); in RunTest() 201 auto* obj2 = AllocObjectArray(self, space, CardTable::kCardSize); in RunTest() 203 auto* obj3 = AllocObjectArray(self, space, CardTable::kCardSize); in RunTest() 205 auto* obj4 = AllocObjectArray(self, space, CardTable::kCardSize); in RunTest() 213 auto* other_space_ref1 = AllocObjectArray(self, other_space.get(), CardTable::kCardSize); in RunTest() 215 auto* other_space_ref2 = AllocObjectArray(self, other_space.get(), CardTable::kCardSize); in RunTest() 247 for (auto* ptr = space->Begin(); ptr < AlignUp(space->End(), CardTable::kCardSize); in RunTest() 248 ptr += CardTable::kCardSize) { in RunTest()
|
D | card_table-inl.h | 64 uint8_t* const card_end = CardFromAddr(AlignUp(scan_end, kCardSize)); in Scan() 74 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan() 103 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan() 107 start += kCardSize; in Scan() 117 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan() 136 uint8_t* card_end = CardFromAddr(AlignUp(scan_end, kCardSize)); in ModifyCardsAtomic()
|
D | remembered_set.cc | 146 bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, obj_visitor); in UpdateAndMarkReferences() 169 auto end = start + CardTable::kCardSize; in Dump() 179 auto end = start + CardTable::kCardSize; in AssertAllDirtyCardsAreWithinSpace()
|
D | bitmap.cc | 99 template class MemoryRangeBitmap<CardTable::kCardSize>;
|
D | card_table.h | 50 static constexpr size_t kCardSize = 1 << kCardShift; variable
|
D | mod_union_table.h | 57 typedef MemoryRangeBitmap<CardTable::kCardSize> CardBitmap;
|
/art/runtime/gc/space/ |
D | malloc_space.cc | 63 static const uintptr_t kGcCardSize = static_cast<uintptr_t>(accounting::CardTable::kCardSize); in MallocSpace() 188 DCHECK_ALIGNED(begin_, accounting::CardTable::kCardSize); in CreateZygoteSpace() 189 DCHECK_ALIGNED(End(), accounting::CardTable::kCardSize); in CreateZygoteSpace()
|
D | image_space.cc | 878 RoundUp(image_objects.End(), gc::accounting::CardTable::kCardSize))); in Init()
|
/art/runtime/gc/collector/ |
D | mark_sweep.cc | 908 card_end = AlignUp(card_end, accounting::CardTable::kCardSize); in ScanGrayObjects() 909 DCHECK_ALIGNED(card_begin, accounting::CardTable::kCardSize); in ScanGrayObjects() 910 DCHECK_ALIGNED(card_end, accounting::CardTable::kCardSize); in ScanGrayObjects() 915 accounting::CardTable::kCardSize); in ScanGrayObjects()
|
D | concurrent_copying.cc | 850 AlignDown(space->End(), accounting::CardTable::kCardSize)); in GrayAllNewlyDirtyImmuneObjects()
|
/art/runtime/gc/ |
D | heap.cc | 3042 accounting::CardTable::kCardSize); in VerifyReference() 3074 byte_cover_begin + accounting::CardTable::kCardSize, scan_visitor); in VerifyReference() 3393 end = AlignUp(end, accounting::CardTable::kCardSize); in ProcessCards()
|