/art/runtime/gc/accounting/ |
H A D | card_table_test.cc | 65 size_t offset = RoundDown(addr - heap_begin_, CardTable::kCardSize); 69 for (const uint8_t* addr = HeapBegin(); addr != HeapLimit(); addr += CardTable::kCardSize) { 110 8U * CardTable::kCardSize); 113 for (uint8_t* cstart = HeapBegin(); cstart < HeapBegin() + delta; cstart += CardTable::kCardSize) { 114 start_offset = (start_offset + kObjectAlignment) % CardTable::kCardSize; 116 for (uint8_t* cend = HeapLimit() - delta; cend < HeapLimit(); cend += CardTable::kCardSize) { 120 end_offset = (end_offset + kObjectAlignment) % CardTable::kCardSize; 124 for (uint8_t* cur = start - CardTable::kCardSize; cur >= HeapBegin(); 125 cur -= CardTable::kCardSize) { 129 for (uint8_t* cur = end + CardTable::kCardSize; cu [all...] |
H A D | card_table.cc | 34 constexpr size_t CardTable::kCardSize; member in class:art::gc::accounting::CardTable 63 size_t capacity = heap_capacity / kCardSize; 106 CHECK_ALIGNED(reinterpret_cast<uintptr_t>(start), kCardSize); local 107 CHECK_ALIGNED(reinterpret_cast<uintptr_t>(end), kCardSize); local
|
H A D | mod_union_table.cc | 360 live_bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, visitor); 370 uintptr_t end = start + CardTable::kCardSize; 377 uintptr_t end = start + CardTable::kCardSize; 391 uintptr_t end = start + CardTable::kCardSize; 402 uintptr_t end = start + CardTable::kCardSize; 426 uintptr_t end = start + CardTable::kCardSize; 486 CHECK_ALIGNED(reinterpret_cast<uintptr_t>(space->Limit()), CardTable::kCardSize); member in class:art::gc::accounting::CardTable 490 RoundUp(reinterpret_cast<uintptr_t>(space->Limit()), CardTable::kCardSize))); 514 bitmap_->VisitMarkedRange(start, start + CardTable::kCardSize, scan_visitor); 550 0, RoundUp(space_->Size(), CardTable::kCardSize) / CardTabl [all...] |
H A D | mod_union_table_test.cc | 198 auto* obj1 = AllocObjectArray(self, space, CardTable::kCardSize); 200 auto* obj2 = AllocObjectArray(self, space, CardTable::kCardSize); 202 auto* obj3 = AllocObjectArray(self, space, CardTable::kCardSize); 204 auto* obj4 = AllocObjectArray(self, space, CardTable::kCardSize); 212 auto* other_space_ref1 = AllocObjectArray(self, other_space.get(), CardTable::kCardSize); 214 auto* other_space_ref2 = AllocObjectArray(self, other_space.get(), CardTable::kCardSize); 246 for (auto* ptr = space->Begin(); ptr < AlignUp(space->End(), CardTable::kCardSize); 247 ptr += CardTable::kCardSize) {
|
H A D | card_table-inl.h | 62 uint8_t* const card_end = CardFromAddr(AlignUp(scan_end, kCardSize)); 72 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); 101 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); 105 start += kCardSize; 115 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); 142 uint8_t* card_end = CardFromAddr(AlignUp(scan_end, kCardSize));
|
H A D | remembered_set.cc | 146 bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, obj_visitor); 169 auto end = start + CardTable::kCardSize; 179 auto end = start + CardTable::kCardSize;
|
H A D | bitmap.cc | 96 template class MemoryRangeBitmap<CardTable::kCardSize>;
|
H A D | card_table.h | 51 static constexpr size_t kCardSize = 1 << kCardShift; member in class:art::gc::accounting::CardTable 123 // Clear a range of cards that covers start to end, start and end must be aligned to kCardSize.
|
H A D | mod_union_table.h | 49 typedef MemoryRangeBitmap<CardTable::kCardSize> CardBitmap;
|
/art/runtime/gc/space/ |
H A D | malloc_space.cc | 52 static const uintptr_t kGcCardSize = static_cast<uintptr_t>(accounting::CardTable::kCardSize); 171 DCHECK_ALIGNED(begin_, accounting::CardTable::kCardSize); 172 DCHECK_ALIGNED(End(), accounting::CardTable::kCardSize); member in class:art::gc::space::accounting::CardTable
|
/art/runtime/gc/collector/ |
H A D | mark_sweep.cc | 883 card_end = AlignUp(card_end, accounting::CardTable::kCardSize); 884 DCHECK_ALIGNED(card_begin, accounting::CardTable::kCardSize); 885 DCHECK_ALIGNED(card_end, accounting::CardTable::kCardSize); 890 accounting::CardTable::kCardSize);
|
H A D | concurrent_copying.cc | 618 AlignDown(space->End(), accounting::CardTable::kCardSize));
|
/art/runtime/gc/ |
H A D | heap.cc | 2984 accounting::CardTable::kCardSize); 3016 byte_cover_begin + accounting::CardTable::kCardSize, scan_visitor); 3339 end = AlignUp(end, accounting::CardTable::kCardSize);
|