Home
last modified time | relevance | path

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

/art/runtime/jit/
Ddebugger_interface.cc121 std::atomic_uint32_t seqlock_{1}; // Synchronization. Even value if entry is valid. member
149 std::atomic_uint32_t seqlock_{0}; // Incremented before and after any modification. member
241 DCHECK_EQ(descriptor.seqlock_.load(kNonRacingRelaxed) & 1, 0u) << "Already locked"; in Seqlock()
242 descriptor.seqlock_.fetch_add(1, std::memory_order_relaxed); in Seqlock()
249 DCHECK_EQ(descriptor.seqlock_.load(kNonRacingRelaxed) & 1, 1u) << "Already unlocked"; in Sequnlock()
252 descriptor.seqlock_.fetch_add(1, std::memory_order_relaxed); in Sequnlock()
259 CHECK_EQ(entry->seqlock_.load(kNonRacingRelaxed) & 1, 1u) << "Expected invalid entry"; in InsertNewEntry()
265 writable->seqlock_.fetch_add(1, std::memory_order_release); // Mark as valid. in InsertNewEntry()
373 CHECK_EQ(writable_entry->seqlock_.load(kNonRacingRelaxed) & 1, 0u) << "Expected valid entry"; in DeleteJITCodeEntryInternal()
375 writable_entry->seqlock_.fetch_add(1, std::memory_order_release); // Mark as invalid. in DeleteJITCodeEntryInternal()