Searched refs:GrayState (Results 1 – 9 of 9) sorted by relevance
48 if (ref->AtomicSetReadBarrierState(ReadBarrier::NonGrayState(), ReadBarrier::GrayState())) { in MarkUnevacFromSpaceRegion()55 DCHECK_EQ(ref->GetReadBarrierState(), ReadBarrier::GrayState()); in MarkUnevacFromSpaceRegion()80 /* rb_state= */ ReadBarrier::GrayState()); in MarkUnevacFromSpaceRegion()87 DCHECK_EQ(ref->GetReadBarrierState(), ReadBarrier::GrayState()); in MarkUnevacFromSpaceRegion()117 /* rb_state= */ ReadBarrier::GrayState()); in MarkImmuneSpace()243 if (kUseBakerReadBarrier && from_ref->GetReadBarrierStateAcquire() == ReadBarrier::GrayState()) { in IsMarkedInUnevacFromSpace()
86 if (rb_state == ReadBarrier::GrayState()) { in DisableReadBarrierForReference()87 ref->AtomicSetReadBarrierState(ReadBarrier::GrayState(), ReadBarrier::NonGrayState()); in DisableReadBarrierForReference()
214 rb_state == ReadBarrier::GrayState()) << rb_state; in SetReadBarrierState()292 rb_state == ReadBarrier::GrayState()) << rb_state; in CheckReadBarrierState()
108 static constexpr uint32_t GrayState() { in GrayState() function
2744 static_assert(ReadBarrier::GrayState() == 1, "Expecting gray to have value 1"); in VisitSystemArrayCopy()
2248 static_assert(ReadBarrier::GrayState() == 1, "Expecting gray to have value 1"); in VisitSystemArrayCopy()
5574 static_assert(ReadBarrier::GrayState() == 1, "Expecting gray to have value 1"); in GenerateReferenceLoadWithBakerReadBarrier()
9318 static_assert(ReadBarrier::GrayState() == 1, "Expecting gray to have value 1"); in EmitGrayCheckAndFastPath()
7458 static_assert(ReadBarrier::GrayState() == 1, "Expecting gray to have value 1"); in GenerateReferenceLoadWithBakerReadBarrier()