Home
last modified time | relevance | path

Searched refs:old_word (Results 1 – 3 of 3) sorted by relevance

/art/runtime/gc/accounting/
Dbitmap-inl.h37 uintptr_t old_word; in AtomicTestAndSetBit() local
39 old_word = atomic_entry->LoadRelaxed(); in AtomicTestAndSetBit()
41 if ((old_word & word_mask) != 0) { in AtomicTestAndSetBit()
45 } while (!atomic_entry->CompareExchangeWeakSequentiallyConsistent(old_word, in AtomicTestAndSetBit()
46 old_word | word_mask)); in AtomicTestAndSetBit()
138 uintptr_t old_word = *address; in ModifyBit() local
140 *address = old_word | word_mask; in ModifyBit()
142 *address = old_word & ~word_mask; in ModifyBit()
145 return (old_word & word_mask) != 0; in ModifyBit()
Dspace_bitmap-inl.h41 uintptr_t old_word; in AtomicTestAndSet() local
43 old_word = atomic_entry->LoadRelaxed(); in AtomicTestAndSet()
45 if ((old_word & mask) != 0) { in AtomicTestAndSet()
49 } while (!atomic_entry->CompareExchangeWeakRelaxed(old_word, old_word | mask)); in AtomicTestAndSet()
168 uintptr_t old_word = *address; in Modify() local
175 if ((old_word & mask) == 0) { in Modify()
176 *address = old_word | mask; in Modify()
179 *address = old_word & ~mask; in Modify()
182 return (old_word & mask) != 0; in Modify()
Dcard_table-inl.h46 const uintptr_t old_word = cur_word | (static_cast<uintptr_t>(old_value) << shift_in_bits); in byte_cas()
48 return word_atomic->CompareExchangeWeakRelaxed(old_word, new_word); in byte_cas()