Lines Matching refs:GrayState
649 if (obj->GetReadBarrierState() != ReadBarrier::GrayState()) { in VerifyGrayImmuneObjects()
769 obj->AtomicSetReadBarrierState(ReadBarrier::NonGrayState(), ReadBarrier::GrayState()); in operator ()()
774 obj->SetReadBarrierState(ReadBarrier::GrayState()); in operator ()()
889 if (obj->GetReadBarrierState() == ReadBarrier::GrayState()) { in operator ()()
892 bool success = obj->AtomicSetReadBarrierState(ReadBarrier::GrayState(), in operator ()()
1378 obj->AtomicSetReadBarrierState(ReadBarrier::NonGrayState(), ReadBarrier::GrayState()); in ScanDirtyObject()
1536 DCHECK_EQ(obj->GetReadBarrierState(), ReadBarrier::GrayState()); in CopyingPhase()
1537 bool success = obj->AtomicSetReadBarrierState(ReadBarrier::GrayState(), in CopyingPhase()
2139 DCHECK(to_ref->GetReadBarrierState() == ReadBarrier::GrayState()) in ProcessMarkStackRef()
2230 DCHECK(to_ref->GetReadBarrierState() == ReadBarrier::GrayState()) in ProcessMarkStackRef()
2257 ReadBarrier::GrayState(), in ProcessMarkStackRef()
2973 if (kUseBakerReadBarrier && from_ref->GetReadBarrierStateAcquire() == ReadBarrier::GrayState()) { in IsMarkedInNonMovingSpace()
3006 CHECK(updated_all_immune_objects || ref->GetReadBarrierState() == ReadBarrier::GrayState()) in AssertToSpaceInvariantInNonMovingSpace()
3439 to_ref->SetReadBarrierState(ReadBarrier::GrayState()); in Copy()
3479 DCHECK(to_ref->GetReadBarrierState() == ReadBarrier::GrayState()); in Copy()
3579 ref->AtomicSetReadBarrierState(ReadBarrier::NonGrayState(), ReadBarrier::GrayState())) { in MarkNonMoving()
3610 ReadBarrier::GrayState()); in MarkNonMoving()
3618 DCHECK_EQ(ref->GetReadBarrierState(), ReadBarrier::GrayState()); in MarkNonMoving()