Home
last modified time | relevance | path

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

/art/runtime/gc/accounting/
Dspace_bitmap-inl.h40 Atomic<uintptr_t>* atomic_entry = &bitmap_begin_[index]; in AtomicTestAndSet() local
44 old_word = atomic_entry->load(std::memory_order_relaxed); in AtomicTestAndSet()
50 } while (!atomic_entry->CompareAndSetWeakRelaxed(old_word, old_word | mask)); in AtomicTestAndSet()
195 Atomic<uintptr_t>* atomic_entry = &bitmap_begin_[index]; in Modify() local
196 uintptr_t old_word = atomic_entry->load(std::memory_order_relaxed); in Modify()
204 atomic_entry->store(old_word | mask, std::memory_order_relaxed); in Modify()
207 atomic_entry->store(old_word & ~mask, std::memory_order_relaxed); in Modify()
Dbitmap-inl.h37 auto* atomic_entry = reinterpret_cast<Atomic<uintptr_t>*>(&bitmap_begin_[word_index]); in AtomicTestAndSetBit() local
40 old_word = atomic_entry->load(std::memory_order_relaxed); in AtomicTestAndSetBit()
46 } while (!atomic_entry->CompareAndSetWeakSequentiallyConsistent(old_word, old_word | word_mask)); in AtomicTestAndSetBit()