Home
last modified time | relevance | path

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

/art/runtime/jit/
Ddebugger_interface.cc132 std::atomic_uint32_t seqlock_{1}; // Synchronization. Even value if entry is valid. member
160 std::atomic_uint32_t seqlock_{0}; // Incremented before and after any modification. member
267 DCHECK_EQ(descriptor.seqlock_.load(kNonRacingRelaxed) & 1, 0u) << "Already locked"; in Seqlock()
268 descriptor.seqlock_.fetch_add(1, std::memory_order_relaxed); in Seqlock()
275 DCHECK_EQ(descriptor.seqlock_.load(kNonRacingRelaxed) & 1, 1u) << "Already unlocked"; in Sequnlock()
278 descriptor.seqlock_.fetch_add(1, std::memory_order_relaxed); in Sequnlock()
285 CHECK_EQ(entry->seqlock_.load(kNonRacingRelaxed) & 1, 1u) << "Expected invalid entry"; in InsertNewEntry()
291 writable->seqlock_.fetch_add(1, std::memory_order_release); // Mark as valid. in InsertNewEntry()
399 CHECK_EQ(writable_entry->seqlock_.load(kNonRacingRelaxed) & 1, 0u) << "Expected valid entry"; in DeleteJITCodeEntryInternal()
401 writable_entry->seqlock_.fetch_add(1, std::memory_order_release); // Mark as invalid. in DeleteJITCodeEntryInternal()