Home
last modified time | relevance | path

Searched refs:ReadBarrier (Results 1 – 25 of 34) sorted by relevance

12

/art/runtime/
Dread_barrier-inl.h36 inline MirrorType* ReadBarrier::Barrier( in Barrier()
100 inline MirrorType* ReadBarrier::BarrierForRoot(MirrorType** root, in BarrierForRoot()
148 inline MirrorType* ReadBarrier::BarrierForRoot(mirror::CompressedReference<MirrorType>* root, in BarrierForRoot()
186 inline MirrorType* ReadBarrier::IsMarked(MirrorType* ref) { in IsMarked()
205 inline bool ReadBarrier::IsDuringStartup() { in IsDuringStartup()
223 inline void ReadBarrier::AssertToSpaceInvariant(mirror::Object* obj, MemberOffset offset, in AssertToSpaceInvariant()
234 inline void ReadBarrier::AssertToSpaceInvariant(GcRootSource* gc_root_source, in AssertToSpaceInvariant()
245 inline mirror::Object* ReadBarrier::Mark(mirror::Object* obj) { in Mark()
249 inline bool ReadBarrier::IsGray(mirror::Object* obj, uintptr_t* fake_address_dependency) { in IsGray()
253 inline bool ReadBarrier::IsGray(mirror::Object* obj) { in IsGray()
Dlock_word.h208 DCHECK(rb_state == ReadBarrier::WhiteState() || in SetReadBarrierState()
209 rb_state == ReadBarrier::GrayState()) << rb_state; in SetReadBarrierState()
286 DCHECK(rb_state == ReadBarrier::WhiteState() || in CheckReadBarrierState()
287 rb_state == ReadBarrier::GrayState()) << rb_state; in CheckReadBarrierState()
Dgc_root-inl.h33 ReadBarrier::BarrierForRoot<mirror::Object, kReadBarrierOption>(&root_, gc_root_source)); in Read()
Dimage-inl.h44 ReadBarrier::BarrierForRoot<mirror::ObjectArray<mirror::Object>, kReadBarrierOption>( in GetImageRoots()
Dread_barrier.h38 class ReadBarrier {
Dstack.h258 ReadBarrier::AssertToSpaceInvariant(ref); in GetVRegReference()
326 ReadBarrier::AssertToSpaceInvariant(val); in SetVRegReference()
Dmonitor.cc1167 pretty_object = ReadBarrier::Mark(pretty_object); in DescribeWait()
Dthread.cc1756 o = ReadBarrier::Mark(o); in DumpLockedObject()
3602 peer = art::ReadBarrier::Mark(peer); in GetPeerFromOtherThread()
/art/runtime/gc/collector/
Dconcurrent_copying-inl.h54 success = ref->AtomicSetReadBarrierState(ReadBarrier::WhiteState(), ReadBarrier::GrayState()); in MarkUnevacFromSpaceRegion()
61 DCHECK_EQ(ref->GetReadBarrierState(), ReadBarrier::GrayState()); in MarkUnevacFromSpaceRegion()
88 bool success = ref->AtomicSetReadBarrierState(ReadBarrier::WhiteState(), in MarkImmuneSpace()
89 ReadBarrier::GrayState()); in MarkImmuneSpace()
194 if (kUseBakerReadBarrier && from_ref->GetReadBarrierStateAcquire() == ReadBarrier::GrayState()) { in IsMarkedInUnevacFromSpace()
Dconcurrent_copying.cc458 if (obj->GetReadBarrierState() != ReadBarrier::GrayState()) { in VerifyGrayImmuneObjects()
588 obj->SetReadBarrierState(ReadBarrier::GrayState()); in operator ()()
654 if (obj->GetReadBarrierState() == ReadBarrier::GrayState()) { in operator ()()
657 bool success = obj->AtomicSetReadBarrierState(ReadBarrier::GrayState(), in operator ()()
658 ReadBarrier::WhiteState()); in operator ()()
725 DCHECK(obj->GetReadBarrierState() == ReadBarrier::GrayState()); in MarkingPhase()
726 bool success = obj->AtomicSetReadBarrierState(ReadBarrier::GrayState(), in MarkingPhase()
727 ReadBarrier::WhiteState()); in MarkingPhase()
928 if (obj->GetReadBarrierState() == ReadBarrier::GrayState()) { in ProcessFalseGrayStack()
929 bool success = obj->AtomicSetReadBarrierState(ReadBarrier::GrayState(), in ProcessFalseGrayStack()
[all …]
/art/runtime/gc/
Dreference_queue.cc84 if (rb_state == ReadBarrier::GrayState()) { in DisableReadBarrierForReference()
85 ref->AtomicSetReadBarrierState(ReadBarrier::GrayState(), ReadBarrier::WhiteState()); in DisableReadBarrierForReference()
86 CHECK_EQ(ref->GetReadBarrierState(), ReadBarrier::WhiteState()); in DisableReadBarrierForReference()
90 CHECK_EQ(rb_state, ReadBarrier::WhiteState()) << "ref=" << ref << " rb_state=" << rb_state; in DisableReadBarrierForReference()
/art/runtime/mirror/
Dobject-readbarrier-inl.h132 DCHECK(ReadBarrier::IsValidReadBarrierState(rb_state)) << rb_state; in GetReadBarrierState()
143 DCHECK(ReadBarrier::IsValidReadBarrierState(rb_state)) << rb_state; in GetReadBarrierStateAcquire()
153 DCHECK(ReadBarrier::IsValidReadBarrierState(expected_rb_state)) << expected_rb_state; in AtomicSetReadBarrierState()
154 DCHECK(ReadBarrier::IsValidReadBarrierState(rb_state)) << rb_state; in AtomicSetReadBarrierState()
Dobject_array-inl.h153 if (!ReadBarrier::IsGray(src.Ptr(), &fake_address_dependency)) { in AssignableMemmove()
178 if (!ReadBarrier::IsGray(src.Ptr(), &fake_address_dependency)) { in AssignableMemmove()
228 if (!ReadBarrier::IsGray(src.Ptr(), &fake_address_dependency)) { in AssignableMemcpy()
276 if (!ReadBarrier::IsGray(src.Ptr(), &fake_address_dependency)) { in AssignableCheckingMemcpy()
Dobject-inl.h139 DCHECK(ReadBarrier::IsValidReadBarrierState(rb_state)) << rb_state; in SetReadBarrierState()
148 DCHECK(obj->GetReadBarrierState() == ReadBarrier::WhiteState()) in AssertReadBarrierState()
710 T* result = ReadBarrier::Barrier<T, kReadBarrierOption>(this, field_offset, objref_addr); in GetFieldObject()
Dclass.cc1042 ObjPtr<Object> new_ref = ReadBarrier::BarrierForRoot(root); in VisitRoot()
/art/runtime/jit/
Dprofiling_info.cc94 mirror::Class* marked = ReadBarrier::IsMarked(existing); in AddInvokeInfo()
/art/runtime/entrypoints/quick/
Dquick_field_entrypoints.cc297 return ReadBarrier::Mark(obj); in artReadBarrierMark()
310 ReadBarrier::Barrier<mirror::Object, kReadBarrierOption>(obj, in artReadBarrierSlow()
Dquick_jni_entrypoints.cc45 mirror::Object* to_ref = ReadBarrier::BarrierForRoot(handle_on_stack); in ReadBarrierJni()
/art/compiler/linker/arm64/
Drelative_patcher_arm64.cc383 static_assert(ReadBarrier::WhiteState() == 0, "Expecting white to have value 0"); in EmitGrayCheckAndFastPath()
384 static_assert(ReadBarrier::GrayState() == 1, "Expecting gray to have value 1"); in EmitGrayCheckAndFastPath()
/art/runtime/native/
Dsun_misc_Unsafe.cc68 ReadBarrier::Barrier<mirror::Object, kWithReadBarrier, /* kAlwaysUpdateField */ true>( in Unsafe_compareAndSwapObject()
/art/compiler/optimizing/
Dcode_generator_arm64.cc907 static_assert(ReadBarrier::WhiteState() == 0, "Expecting white to have value 0"); in EmitNativeCode()
908 static_assert(ReadBarrier::GrayState() == 1, "Expecting gray to have value 1"); in EmitNativeCode()
1044 static_assert(ReadBarrier::WhiteState() == 0, "Expecting white to have value 0"); in EmitNativeCode()
1045 static_assert(ReadBarrier::GrayState() == 1, "Expecting gray to have value 1"); in EmitNativeCode()
Dintrinsics_x86_64.cc1450 static_assert(ReadBarrier::WhiteState() == 0, "Expecting white to have value 0"); in VisitSystemArrayCopy()
1451 static_assert(ReadBarrier::GrayState() == 1, "Expecting gray to have value 1"); in VisitSystemArrayCopy()
Dintrinsics_arm64.cc2812 static_assert(ReadBarrier::WhiteState() == 0, "Expecting white to have value 0"); in VisitSystemArrayCopy()
2813 static_assert(ReadBarrier::GrayState() == 1, "Expecting gray to have value 1"); in VisitSystemArrayCopy()
Dintrinsics_arm.cc2054 static_assert(ReadBarrier::WhiteState() == 0, "Expecting white to have value 0"); in VisitSystemArrayCopy()
2055 static_assert(ReadBarrier::GrayState() == 1, "Expecting gray to have value 1"); in VisitSystemArrayCopy()
Dintrinsics_arm_vixl.cc2432 static_assert(ReadBarrier::WhiteState() == 0, "Expecting white to have value 0"); in VisitSystemArrayCopy()
2433 static_assert(ReadBarrier::GrayState() == 1, "Expecting gray to have value 1"); in VisitSystemArrayCopy()

12