Searched defs:card (Results 1 - 7 of 7) sorted by relevance

/art/runtime/gc/accounting/
H A Dcard_table_test.cc68 byte* card = card_table_->CardFromAddr(addr); local
69 *card = PRandCard(addr);
99 void operator()(byte* /*card*/, byte /*expected_value*/, byte /*new_value*/) const {
113 // Don't always start at a card boundary.
128 byte* card = card_table_->CardFromAddr(cur); local
130 if (visitor(value) != *card) {
133 EXPECT_EQ(visitor(value), *card); local
135 *card = value;
H A Dcard_table-inl.h86 // Find the first dirty card.
93 auto* card = reinterpret_cast<byte*>(word_cur) + i; local
94 DCHECK(*card == static_cast<byte>(start_word) || *card == kCardDirty)
95 << "card " << static_cast<size_t>(*card) << " word " << (start_word & 0xFF);
120 * Visitor is expected to take in a card and return the new value. When a value is modified, the
122 * visitor: The visitor which modifies the cards. Returns the new value for a card given an old
124 * modified: Whenever the visitor modifies a card, this visitor is called on the card
[all...]
H A Dremembered_set.cc45 void operator()(byte* card, byte expected_value, byte new_value) const { argument
47 dirty_cards_->insert(card);
58 // Clear dirty cards in the space and insert them into the dirty card set.
138 // It was in the dirty card set, but it didn't actually contain
140 // card set so we won't have to scan it again (unless it gets
147 // space from the dirty card set.
H A Dmod_union_table.cc48 inline void operator()(byte* card, byte expected_value, byte new_value) const { argument
50 cleared_cards_->insert(card);
64 void operator()(byte* card, byte expected_card, byte new_card) const { argument
66 cleared_cards_->push_back(card);
225 // Check the references of each clean card which is also in the mod union table.
229 const byte* card = ref_pair.first; local
230 if (*card == CardTable::kCardClean) {
236 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card));
270 for (const auto& card : cleared_cards_) {
271 // Clear and re-compute alloc space references associated with this card
[all...]
/art/compiler/optimizing/
H A Dcode_generator_arm.cc1135 Register card = locations->GetTemp(1).AsArm().AsCoreRegister(); local
1136 codegen_->MarkGCCard(temp, card, obj, value);
1475 void CodeGeneratorARM::MarkGCCard(Register temp, Register card, Register object, Register value) { argument
1478 __ LoadFromOffset(kLoadWord, card, TR, Thread::CardTableOffset<kArmWordSize>().Int32Value());
1480 __ strb(card, Address(card, temp));
H A Dcode_generator_x86.cc1078 // Ensure the card is in a byte register.
1112 Register card = locations->GetTemp(1).AsX86().AsCpuRegister(); local
1113 codegen_->MarkGCCard(temp, card, obj, value);
1134 void CodeGeneratorX86::MarkGCCard(Register temp, Register card, Register object, Register value) { argument
1138 __ fs()->movl(card, Address::Absolute(Thread::CardTableOffset<kX86WordSize>().Int32Value()));
1141 __ movb(Address(temp, card, TIMES_1, 0),
1142 X86ManagedRegister::FromCpuRegister(card).AsByteRegister());
H A Dcode_generator_x86_64.cc978 CpuRegister card = locations->GetTemp(1).AsX86_64().AsCpuRegister(); local
979 codegen_->MarkGCCard(temp, card, obj, value);
1303 CpuRegister card,
1309 __ gs()->movq(card, Address::Absolute(
1313 __ movb(Address(temp, card, TIMES_1, 0), card); local
1302 MarkGCCard(CpuRegister temp, CpuRegister card, CpuRegister object, CpuRegister value) argument

Completed in 5274 milliseconds