Searched refs:rb_state (Results 1 – 6 of 6) sorted by relevance
92 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState() local93 return rb_state; in GetReadBarrierState()108 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState() local109 return rb_state; in GetReadBarrierState()116 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState() local117 return rb_state; in GetReadBarrierState()132 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState() local133 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 …]
111 inline void Object::SetReadBarrierState(uint32_t rb_state) { in SetReadBarrierState() argument113 DCHECK(ReadBarrier::IsValidReadBarrierState(rb_state)) << rb_state; in SetReadBarrierState()115 lw.SetReadBarrierState(rb_state); in SetReadBarrierState()
110 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)
213 void SetReadBarrierState(uint32_t rb_state) { in SetReadBarrierState() argument214 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() local292 DCHECK_EQ(rb_state, 0U); in CheckReadBarrierState()294 DCHECK(rb_state == ReadBarrier::NonGrayState() || in CheckReadBarrierState()295 rb_state == ReadBarrier::GrayState()) << rb_state; in CheckReadBarrierState()
124 static bool IsValidReadBarrierState(uint32_t rb_state) { in IsValidReadBarrierState() argument125 return rb_state == kNonGrayState || rb_state == kGrayState; in IsValidReadBarrierState()
85 uint32_t rb_state = ref->GetReadBarrierState(); in DisableReadBarrierForReference() local86 if (rb_state == ReadBarrier::GrayState()) { in DisableReadBarrierForReference()92 CHECK_EQ(rb_state, ReadBarrier::NonGrayState()) << "ref=" << ref << " rb_state=" << rb_state; in DisableReadBarrierForReference()