Home
last modified time | relevance | path

Searched refs:atomic_entry (Results 1 – 2 of 2) sorted by relevance

/art/runtime/gc/accounting/
Dbitmap-inl.h36 auto* atomic_entry = reinterpret_cast<Atomic<uintptr_t>*>(&bitmap_begin_[word_index]); in AtomicTestAndSetBit() local
39 old_word = atomic_entry->LoadRelaxed(); in AtomicTestAndSetBit()
45 } while (!atomic_entry->CompareExchangeWeakSequentiallyConsistent(old_word, in AtomicTestAndSetBit()
Dspace_bitmap-inl.h39 Atomic<uintptr_t>* atomic_entry = reinterpret_cast<Atomic<uintptr_t>*>(&bitmap_begin_[index]); in AtomicTestAndSet() local
43 old_word = atomic_entry->LoadRelaxed(); in AtomicTestAndSet()
49 } while (!atomic_entry->CompareExchangeWeakRelaxed(old_word, old_word | mask)); in AtomicTestAndSet()