Home
last modified time | relevance | path

Searched refs:atomic_entry (Results 1 – 3 of 3) 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()
/art/runtime/entrypoints/
Dentrypoint_utils.cc303 std::atomic<ArtMethod*>* atomic_entry = in MaybeUpdateBssMethodEntry() local
306 ArtMethod* existing = atomic_entry->load(std::memory_order_acquire); in MaybeUpdateBssMethodEntry()
309 static_assert(sizeof(*method_entry) == sizeof(*atomic_entry), "Size check."); in MaybeUpdateBssMethodEntry()
310 atomic_entry->store(callee, std::memory_order_release); in MaybeUpdateBssMethodEntry()