Home
last modified time | relevance | path

Searched refs:card (Results 1 – 12 of 12) sorted by relevance

/art/runtime/gc/accounting/
Dmod_union_table.cc48 inline void operator()(byte* card, byte expected_value, byte new_value) const { in operator ()() argument
50 cleared_cards_->insert(card); in operator ()()
64 void operator()(byte* card, byte expected_card, byte new_card) const { in operator ()() argument
66 cleared_cards_->push_back(card); in operator ()()
229 const byte* card = ref_pair.first; in Verify() local
230 if (*card == CardTable::kCardClean) { in Verify()
236 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card)); in Verify()
270 for (const auto& card : cleared_cards_) { in UpdateAndMarkReferences() local
273 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card)); in UpdateAndMarkReferences()
281 auto found = references_.find(card); in UpdateAndMarkReferences()
[all …]
Dcard_table_test.cc68 byte* card = card_table_->CardFromAddr(addr); in FillRandom() local
69 *card = PRandCard(addr); in FillRandom()
128 byte* card = card_table_->CardFromAddr(cur); in TEST_F() local
130 if (visitor(value) != *card) { in TEST_F()
133 EXPECT_EQ(visitor(value), *card); in TEST_F()
135 *card = value; in TEST_F()
Dcard_table-inl.h93 auto* card = reinterpret_cast<byte*>(word_cur) + i; in Scan() local
94 DCHECK(*card == static_cast<byte>(start_word) || *card == kCardDirty) in Scan()
95 << "card " << static_cast<size_t>(*card) << " word " << (start_word & 0xFF); in Scan()
217 inline void CardTable::CheckCardValid(byte* card) const { in CheckCardValid() argument
218 DCHECK(IsValidCard(card)) in CheckCardValid()
219 << " card_addr: " << reinterpret_cast<const void*>(card) in CheckCardValid()
Dremembered_set.cc45 void operator()(byte* card, byte expected_value, byte new_value) const { in operator ()() argument
47 dirty_cards_->insert(card); in operator ()()
Dcard_table.h138 void CheckCardValid(byte* card) const ALWAYS_INLINE;
/art/compiler/optimizing/
Dcode_generator_x86_64.h180 void MarkGCCard(CpuRegister temp, CpuRegister card, CpuRegister object, CpuRegister value);
Dcode_generator_x86.h186 void MarkGCCard(Register temp, Register card, Register object, Register value);
Dcode_generator_arm.h184 void MarkGCCard(Register temp, Register card, Register object, Register value);
Dcode_generator_x86_64.cc979 CpuRegister card = locations->GetTemp(1).AsX86_64().AsCpuRegister(); in VisitInstanceFieldSet() local
980 codegen_->MarkGCCard(temp, card, obj, value); in VisitInstanceFieldSet()
1304 CpuRegister card, in MarkGCCard() argument
1310 __ gs()->movq(card, Address::Absolute( in MarkGCCard()
1314 __ movb(Address(temp, card, TIMES_1, 0), card); in MarkGCCard()
Dcode_generator_arm.cc1135 Register card = locations->GetTemp(1).AsArm().AsCoreRegister(); in VisitInstanceFieldSet() local
1136 codegen_->MarkGCCard(temp, card, obj, value); in VisitInstanceFieldSet()
1475 void CodeGeneratorARM::MarkGCCard(Register temp, Register card, Register object, Register value) { in MarkGCCard() argument
1478 __ LoadFromOffset(kLoadWord, card, TR, Thread::CardTableOffset<kArmWordSize>().Int32Value()); in MarkGCCard()
1480 __ strb(card, Address(card, temp)); in MarkGCCard()
Dcode_generator_x86.cc1113 Register card = locations->GetTemp(1).AsX86().AsCpuRegister(); in VisitInstanceFieldSet() local
1114 codegen_->MarkGCCard(temp, card, obj, value); in VisitInstanceFieldSet()
1135 void CodeGeneratorX86::MarkGCCard(Register temp, Register card, Register object, Register value) { in MarkGCCard() argument
1139 __ fs()->movl(card, Address::Absolute(Thread::CardTableOffset<kX86WordSize>().Int32Value())); in MarkGCCard()
1142 __ movb(Address(temp, card, TIMES_1, 0), in MarkGCCard()
1143 X86ManagedRegister::FromCpuRegister(card).AsByteRegister()); in MarkGCCard()
/art/runtime/gc/
Dheap.h95 byte operator()(byte card) const { in operator()
96 if (card == accounting::CardTable::kCardDirty) { in operator()
97 return card - 1; in operator()