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

/art/runtime/gc/accounting/
H A Dcard_table_test.cc63 // Return a pseudo random card for an address.
71 uint8_t* card = card_table_->CardFromAddr(addr); local
72 *card = PseudoRandomCard(addr);
102 void operator()(uint8_t* /*card*/, uint8_t /*expected_value*/, uint8_t /*new_value*/) const {
117 // Don't always start at a card boundary.
137 uint8_t* card = card_table_->CardFromAddr(cur); local
139 EXPECT_EQ(visitor(value), *card); local
141 *card = value;
H A Dremembered_set.cc44 void operator()(uint8_t* card, uint8_t expected_value, uint8_t new_value ATTRIBUTE_UNUSED) const { argument
46 dirty_cards_->insert(card);
57 // Clear dirty cards in the space and insert them into the dirty card set.
145 // It was in the dirty card set, but it didn't actually contain
147 // card set so we won't have to scan it again (unless it gets
154 // space from the dirty card set.
H A Dcard_table-inl.h90 // Find the first dirty card.
97 auto* card = reinterpret_cast<uint8_t*>(word_cur) + i; local
98 DCHECK(*card == static_cast<uint8_t>(start_word) || *card == kCardDirty)
99 << "card " << static_cast<size_t>(*card) << " intptr_t " << (start_word & 0xFF);
103 *card = 0;
130 * Visitor is expected to take in a card and return the new value. When a value is modified, the
132 * visitor: The visitor which modifies the cards. Returns the new value for a card given an old
134 * modified: Whenever the visitor modifies a card, thi
[all...]
H A Dmod_union_table.cc41 inline void operator()(uint8_t* card, argument
45 cleared_cards_->insert(card);
58 inline void operator()(uint8_t* card, argument
62 // We want the address the card represents, not the address of the card.
63 bitmap_->Set(reinterpret_cast<uintptr_t>(card_table_->AddrFromCard(card)));
78 void operator()(uint8_t* card, uint8_t expected_card, uint8_t new_card ATTRIBUTE_UNUSED) const { argument
80 cleared_cards_->push_back(card);
329 // Check the references of each clean card which is also in the mod union table.
333 const uint8_t* card local
[all...]
/art/compiler/optimizing/
H A Dintrinsics_arm.cc650 // Temps for card-marking.
739 Register card = locations->GetTemp(1).AsRegister<Register>(); local
741 codegen->MarkGCCard(temp, card, base, value, value_can_be_null);
848 // Mark card for object assuming new value is stored. Worst case we will mark an unchanged
1593 // We only need one card marking on the destination array.
H A Dcode_generator_mips64.cc877 GpuRegister card = AT; local
883 card,
887 __ Daddu(temp, card, temp);
888 __ Sb(card, temp, 0);
H A Dcode_generator_arm64.cc1078 Register card = temps.AcquireX(); local
1084 __ Ldr(card, MemOperand(tr, Thread::CardTableOffset<kArm64WordSize>().Int32Value()));
1086 __ Strb(card, MemOperand(card, temp.X()));
H A Dcode_generator_mips.cc979 Register card = AT; local
983 card,
987 __ Addu(temp, card, temp);
988 __ Sb(card, temp, 0);
H A Dcode_generator_arm.cc3913 Register card = locations->GetTemp(1).AsRegister<Register>(); local
3915 temp, card, base, value.AsRegister<Register>(), value_can_be_null);
4780 Register card,
4788 __ LoadFromOffset(kLoadWord, card, TR, Thread::CardTableOffset<kArmWordSize>().Int32Value());
4790 __ strb(card, Address(card, temp));
4779 MarkGCCard(Register temp, Register card, Register object, Register value, bool can_be_null) argument
H A Dcode_generator_x86.cc4518 Register card,
4527 __ fs()->movl(card, Address::Absolute(Thread::CardTableOffset<kX86WordSize>().Int32Value()));
4530 __ movb(Address(temp, card, TIMES_1, 0),
4531 X86ManagedRegister::FromCpuRegister(card).AsByteRegister());
4728 // Ensure the card is in a byte register.
4850 Register card = locations->GetTemp(1).AsRegister<Register>(); local
4851 codegen_->MarkGCCard(temp, card, base, value.AsRegister<Register>(), value_can_be_null);
5233 // Ensure the card is in a byte register.
5387 Register card = locations->GetTemp(1).AsRegister<Register>(); local
5389 temp, card, arra
4517 MarkGCCard(Register temp, Register card, Register object, Register value, bool value_can_be_null) argument
[all...]
H A Dcode_generator_x86_64.cc4354 CpuRegister card = locations->GetTemp(1).AsRegister<CpuRegister>(); local
4355 codegen_->MarkGCCard(temp, card, base, value.AsRegister<CpuRegister>(), value_can_be_null);
4877 CpuRegister card = locations->GetTemp(1).AsRegister<CpuRegister>(); local
4879 temp, card, array, value.AsRegister<CpuRegister>(), instruction->GetValueCanBeNull());
5036 CpuRegister card,
5045 __ gs()->movq(card, Address::Absolute(Thread::CardTableOffset<kX86_64WordSize>().Int32Value(),
5049 __ movb(Address(temp, card, TIMES_1, 0), card); local
5035 MarkGCCard(CpuRegister temp, CpuRegister card, CpuRegister object, CpuRegister value, bool value_can_be_null) argument

Completed in 193 milliseconds