Lines Matching refs:ReadBarrier

319       obj->AtomicSetReadBarrierPointer(ReadBarrier::WhitePtr(), ReadBarrier::GrayPtr());  in operator ()()
325 CHECK(!kUseBakerReadBarrier || obj->GetReadBarrierPointer() == ReadBarrier::GrayPtr()); in operator ()()
373 if (ReadBarrier::kEnableToSpaceInvariantChecks) { in MarkingPhase()
678 CHECK(ref->GetReadBarrierPointer() == ReadBarrier::BlackPtr() || in operator ()()
679 (ref->GetReadBarrierPointer() == ReadBarrier::WhitePtr() && in operator ()()
756 CHECK(obj->GetReadBarrierPointer() == ReadBarrier::BlackPtr() || in ObjectCallback()
757 (obj->GetReadBarrierPointer() == ReadBarrier::WhitePtr() && in ObjectCallback()
1066 DCHECK(to_ref->GetReadBarrierPointer() == ReadBarrier::GrayPtr()) in ProcessMarkStackRef()
1074 DCHECK(to_ref->GetReadBarrierPointer() == ReadBarrier::GrayPtr()) in ProcessMarkStackRef()
1094 ReadBarrier::GrayPtr(), in ProcessMarkStackRef()
1095 ReadBarrier::WhitePtr()); in ProcessMarkStackRef()
1097 DCHECK(to_ref->GetReadBarrierPointer() == ReadBarrier::WhitePtr()); in ProcessMarkStackRef()
1107 ReadBarrier::GrayPtr(), in ProcessMarkStackRef()
1108 ReadBarrier::BlackPtr()); in ProcessMarkStackRef()
1110 DCHECK(to_ref->GetReadBarrierPointer() == ReadBarrier::BlackPtr()); in ProcessMarkStackRef()
1117 if (ReadBarrier::kEnableToSpaceInvariantChecks || kIsDebugBuild) { in ProcessMarkStackRef()
1237 DCHECK_EQ(obj->GetReadBarrierPointer(), ReadBarrier::BlackPtr()) << obj; in operator ()()
1238 obj->AtomicSetReadBarrierPointer(ReadBarrier::BlackPtr(), ReadBarrier::WhitePtr()); in operator ()()
1239 DCHECK_EQ(obj->GetReadBarrierPointer(), ReadBarrier::WhitePtr()) << obj; in operator ()()
1269 if (ReadBarrier::kEnableReadBarrierInvariantChecks || kIsDebugBuild) { in ClearBlackPtrs()
1278 CHECK_EQ(obj->GetReadBarrierPointer(), ReadBarrier::WhitePtr()) << obj; in ClearBlackPtrs()
1386 DCHECK_EQ(ref->GetReadBarrierPointer(), ReadBarrier::BlackPtr()) << ref; in operator ()()
1388 ref->AtomicSetReadBarrierPointer(ReadBarrier::BlackPtr(), ReadBarrier::WhitePtr()); in operator ()()
1389 DCHECK_EQ(ref->GetReadBarrierPointer(), ReadBarrier::WhitePtr()) << ref; in operator ()()
1887 to_ref->SetReadBarrierPointer(ReadBarrier::GrayPtr()); in Copy()
1905 DCHECK(to_ref->GetReadBarrierPointer() == ReadBarrier::GrayPtr()); in Copy()
2004 ref->AtomicSetReadBarrierPointer(ReadBarrier::WhitePtr(), ReadBarrier::GrayPtr()); in MarkNonMoving()
2011 DCHECK_EQ(ref->GetReadBarrierPointer(), ReadBarrier::GrayPtr()); in MarkNonMoving()
2026 DCHECK(ref->GetReadBarrierPointer() == ReadBarrier::GrayPtr() || in MarkNonMoving()
2027 ref->GetReadBarrierPointer() == ReadBarrier::BlackPtr()); in MarkNonMoving()
2032 DCHECK(ref->GetReadBarrierPointer() == ReadBarrier::GrayPtr() || in MarkNonMoving()
2033 ref->GetReadBarrierPointer() == ReadBarrier::BlackPtr()); in MarkNonMoving()
2046 DCHECK_EQ(ref->GetReadBarrierPointer(), ReadBarrier::WhitePtr()); in MarkNonMoving()
2052 ref->AtomicSetReadBarrierPointer(ReadBarrier::WhitePtr(), ReadBarrier::GrayPtr()); in MarkNonMoving()
2061 DCHECK_EQ(ref->GetReadBarrierPointer(), ReadBarrier::GrayPtr()); in MarkNonMoving()