Home
last modified time | relevance | path

Searched refs:atomic_entry (Results 1 – 4 of 4) 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()
241 Atomic<uintptr_t>* atomic_entry = &bitmap_begin_[index]; in Modify() local
242 uintptr_t old_word = atomic_entry->load(std::memory_order_relaxed); in Modify()
250 atomic_entry->store(old_word | mask, std::memory_order_relaxed); in Modify()
253 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()
Dspace_bitmap.cc129 Atomic<uintptr_t>* atomic_entry = &bitmap_begin_[index]; in DumpMemAround() local
133 prev = (atomic_entry - 1)->load(std::memory_order_relaxed); in DumpMemAround()
135 uintptr_t curr = atomic_entry->load(std::memory_order_relaxed); in DumpMemAround()
137 next = (atomic_entry + 1)->load(std::memory_order_relaxed); in DumpMemAround()
/art/runtime/entrypoints/
Dentrypoint_utils.cc354 std::atomic<ArtMethod*>* atomic_entry = in MaybeUpdateBssMethodEntry() local
357 ArtMethod* existing = atomic_entry->load(std::memory_order_acquire); in MaybeUpdateBssMethodEntry()
360 static_assert(sizeof(*method_entry) == sizeof(*atomic_entry), "Size check."); in MaybeUpdateBssMethodEntry()
361 atomic_entry->store(callee, std::memory_order_release); in MaybeUpdateBssMethodEntry()