Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dobject-readbarrier-inl.h88 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState() local
89 return rb_state; in GetReadBarrierState()
104 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState() local
105 return rb_state; in GetReadBarrierState()
112 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState() local
113 return rb_state; in GetReadBarrierState()
119 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState() local
120 return rb_state; in GetReadBarrierState()
131 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState() local
132 DCHECK(ReadBarrier::IsValidReadBarrierState(rb_state)) << rb_state; in GetReadBarrierState()
[all …]
Dobject-inl.h133 inline void Object::SetReadBarrierState(uint32_t rb_state) { in SetReadBarrierState() argument
138 DCHECK(ReadBarrier::IsValidReadBarrierState(rb_state)) << rb_state; in SetReadBarrierState()
140 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.h206 void SetReadBarrierState(uint32_t rb_state) { in SetReadBarrierState() argument
207 DCHECK_EQ(rb_state & ~kReadBarrierStateMask, 0U); in SetReadBarrierState()
208 DCHECK(rb_state == ReadBarrier::WhiteState() || in SetReadBarrierState()
209 rb_state == ReadBarrier::GrayState()) << rb_state; in SetReadBarrierState()
213 value_ |= (rb_state & kReadBarrierStateMask) << kReadBarrierStateShift; in SetReadBarrierState()
282 uint32_t rb_state = ReadBarrierState(); in CheckReadBarrierState() local
284 DCHECK_EQ(rb_state, 0U); in CheckReadBarrierState()
286 DCHECK(rb_state == ReadBarrier::WhiteState() || in CheckReadBarrierState()
287 rb_state == ReadBarrier::GrayState()) << rb_state; in CheckReadBarrierState()
Dread_barrier.h113 static bool IsValidReadBarrierState(uint32_t rb_state) { in IsValidReadBarrierState() argument
114 return rb_state == white_state_ || rb_state == gray_state_; in IsValidReadBarrierState()
/art/runtime/gc/
Dreference_queue.cc84 uint32_t rb_state = ref->GetReadBarrierState(); in DisableReadBarrierForReference() local
85 if (rb_state == ReadBarrier::GrayState()) { in DisableReadBarrierForReference()
91 CHECK_EQ(rb_state, ReadBarrier::WhiteState()) << "ref=" << ref << " rb_state=" << rb_state; in DisableReadBarrierForReference()
/art/runtime/gc/collector/
Dconcurrent_copying.cc1638 uint32_t rb_state = obj->GetReadBarrierState(); in CheckEmptyMarkStack() local
1640 << rb_state << " is_marked=" << IsMarked(obj); in CheckEmptyMarkStack()