/art/runtime/gc/accounting/ |
card_table.cc | 31 constexpr size_t CardTable::kCardShift; 32 constexpr size_t CardTable::kCardSize; 33 constexpr uint8_t CardTable::kCardClean; 34 constexpr uint8_t CardTable::kCardDirty; 55 * byte is equal to GC_DIRTY_CARD. See CardTable::Create for details. 58 CardTable* CardTable::Create(const byte* heap_begin, size_t heap_capacity) { 86 return new CardTable(mem_map.release(), biased_begin, offset); 89 CardTable::CardTable(MemMap* mem_map, byte* biased_begin, size_t offset [all...] |
card_table_test.cc | 38 std::unique_ptr<gc::accounting::CardTable> card_table_; 39 static constexpr size_t kCardSize = gc::accounting::CardTable::kCardSize; 43 card_table_.reset(gc::accounting::CardTable::Create(heap_begin_, heap_size_)); 82 EXPECT_EQ(card_table_->GetCard(obj), gc::accounting::CardTable::kCardClean); 86 EXPECT_EQ(card_table_->GetCard(obj), gc::accounting::CardTable::kCardDirty); 88 EXPECT_EQ(*card_addr, gc::accounting::CardTable::kCardDirty); 89 *card_addr = gc::accounting::CardTable::kCardClean; 90 EXPECT_EQ(*card_addr, gc::accounting::CardTable::kCardClean); 141 // TODO: Add test for CardTable::Scan.
|
remembered_set.cc | 46 if (expected_value == CardTable::kCardDirty) { 56 CardTable* card_table = GetHeap()->GetCardTable(); 126 CardTable* card_table = heap_->GetCardTable(); 136 bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, obj_visitor); 155 CardTable* card_table = heap_->GetCardTable(); 159 auto end = start + CardTable::kCardSize; 166 CardTable* card_table = heap_->GetCardTable(); 169 auto end = start + CardTable::kCardSize;
|
mod_union_table.cc | 49 if (expected_value == CardTable::kCardDirty) { 65 if (expected_card == CardTable::kCardDirty) { 114 CardTable* card_table = GetHeap()->GetCardTable(); 226 CardTable* card_table = heap_->GetCardTable(); 230 if (*card == CardTable::kCardClean) { 237 live_bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, visitor); 243 CardTable* card_table = heap_->GetCardTable(); 247 uintptr_t end = start + CardTable::kCardSize; 254 uintptr_t end = start + CardTable::kCardSize; 265 CardTable* card_table = heap_->GetCardTable() [all...] |
card_table.h | 47 class CardTable { 54 static CardTable* Create(const byte* heap_begin, size_t heap_capacity); 129 CardTable(MemMap* begin, byte* biased_begin, size_t offset);
|
card_table-inl.h | 52 inline size_t CardTable::Scan(ContinuousSpaceBitmap* bitmap, byte* scan_begin, byte* scan_end, 128 inline void CardTable::ModifyCardsAtomic(byte* scan_begin, byte* scan_end, const Visitor& visitor, 200 inline void* CardTable::AddrFromCard(const byte *card_addr) const { 209 inline byte* CardTable::CardFromAddr(const void *addr) const { 217 inline void CardTable::CheckCardValid(byte* card) const {
|
/art/runtime/gc/collector/ |
sticky_mark_sweep.cc | 55 RecursiveMarkDirtyObjects(false, accounting::CardTable::kCardDirty - 1);
|
mark_sweep.cc | 188 RecursiveMarkDirtyObjects(true, accounting::CardTable::kCardDirty); 235 RecursiveMarkDirtyObjects(false, accounting::CardTable::kCardDirty - 1); 705 accounting::CardTable* card_table = mark_sweep_->GetHeap()->GetCardTable(); 726 accounting::CardTable* card_table = GetHeap()->GetCardTable(); 753 card_end = AlignUp(card_end, accounting::CardTable::kCardSize); 754 DCHECK(IsAligned<accounting::CardTable::kCardSize>(card_begin)); 755 DCHECK(IsAligned<accounting::CardTable::kCardSize>(card_end)); 760 accounting::CardTable::kCardSize); [all...] |
/art/runtime/gc/space/ |
malloc_space.cc | 48 static const uintptr_t kGcCardSize = static_cast<uintptr_t>(accounting::CardTable::kCardSize); 167 DCHECK(IsAligned<accounting::CardTable::kCardSize>(begin_)); 168 DCHECK(IsAligned<accounting::CardTable::kCardSize>(End()));
|
zygote_space.cc | 109 accounting::CardTable* card_table = Runtime::Current()->GetHeap()->GetCardTable();
|
/art/compiler/llvm/ |
runtime_support_builder.cc | 191 irb_.getPtrEquivInt(gc::accounting::CardTable::kCardShift)); 193 irb_.CreateStore(irb_.getInt8(gc::accounting::CardTable::kCardDirty), card_table_entry,
|
/art/compiler/dex/quick/mips/ |
call_mips.cc | 281 OpRegRegImm(kOpLsr, reg_card_no, tgt_addr_reg, gc::accounting::CardTable::kCardShift);
|
/art/compiler/dex/quick/x86/ |
call_x86.cc | 198 OpRegRegImm(kOpLsr, reg_card_no, tgt_addr_reg, gc::accounting::CardTable::kCardShift);
|
/art/runtime/gc/ |
heap.h | 96 if (card == accounting::CardTable::kCardDirty) { 390 accounting::CardTable* GetCardTable() const { [all...] |
heap.cc | 380 card_table_.reset(accounting::CardTable::Create(heap_begin, heap_capacity)); [all...] |
/art/compiler/dex/quick/arm64/ |
call_arm64.cc | 295 OpRegRegImm(kOpLsr, reg_card_no, tgt_addr_reg, gc::accounting::CardTable::kCardShift);
|
/art/compiler/dex/quick/arm/ |
call_arm.cc | 332 OpRegRegImm(kOpLsr, reg_card_no, tgt_addr_reg, gc::accounting::CardTable::kCardShift);
|
/art/compiler/optimizing/ |
code_generator_x86_64.cc | [all...] |
code_generator_arm.cc | [all...] |
code_generator_x86.cc | [all...] |