Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dobject-readbarrier-inl.h92 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState() local
93 return rb_state; in GetReadBarrierState()
108 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState() local
109 return rb_state; in GetReadBarrierState()
116 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState() local
117 return rb_state; in GetReadBarrierState()
132 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState() local
133 DCHECK(ReadBarrier::IsValidReadBarrierState(rb_state)) << rb_state; in GetReadBarrierState()
134 return rb_state; in GetReadBarrierState()
143 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierStateAcquire() local
[all …]
Dobject-inl.h111 inline void Object::SetReadBarrierState(uint32_t rb_state) { in SetReadBarrierState() argument
113 DCHECK(ReadBarrier::IsValidReadBarrierState(rb_state)) << rb_state; in SetReadBarrierState()
115 lw.SetReadBarrierState(rb_state); in SetReadBarrierState()
Dobject.h110 ALWAYS_INLINE void SetReadBarrierState(uint32_t rb_state) REQUIRES_SHARED(Locks::mutator_lock_);
113 ALWAYS_INLINE bool AtomicSetReadBarrierState(uint32_t expected_rb_state, uint32_t rb_state)
/art/runtime/
Dlock_word.h213 void SetReadBarrierState(uint32_t rb_state) { in SetReadBarrierState() argument
214 DCHECK_EQ(rb_state & ~kReadBarrierStateMask, 0U); in SetReadBarrierState()
215 DCHECK(rb_state == ReadBarrier::NonGrayState() || in SetReadBarrierState()
216 rb_state == ReadBarrier::GrayState()) << rb_state; in SetReadBarrierState()
220 value_ |= (rb_state & kReadBarrierStateMask) << kReadBarrierStateShift; in SetReadBarrierState()
290 uint32_t rb_state = ReadBarrierState(); in CheckReadBarrierState() local
292 DCHECK_EQ(rb_state, 0U); in CheckReadBarrierState()
294 DCHECK(rb_state == ReadBarrier::NonGrayState() || in CheckReadBarrierState()
295 rb_state == ReadBarrier::GrayState()) << rb_state; in CheckReadBarrierState()
Dread_barrier.h124 static bool IsValidReadBarrierState(uint32_t rb_state) { in IsValidReadBarrierState() argument
125 return rb_state == kNonGrayState || rb_state == kGrayState; in IsValidReadBarrierState()
/art/runtime/gc/
Dreference_queue.cc85 uint32_t rb_state = ref->GetReadBarrierState(); in DisableReadBarrierForReference() local
86 if (rb_state == ReadBarrier::GrayState()) { in DisableReadBarrierForReference()
92 CHECK_EQ(rb_state, ReadBarrier::NonGrayState()) << "ref=" << ref << " rb_state=" << rb_state; in DisableReadBarrierForReference()