Home
last modified time | relevance | path

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

/art/runtime/gc/
Dreference_queue.cc77 if (ref->GetReadBarrierPointer() == ReadBarrier::GrayPtr()) { in DequeuePendingReference()
79 ref->AtomicSetReadBarrierPointer(ReadBarrier::GrayPtr(), ReadBarrier::WhitePtr()); in DequeuePendingReference()
80 CHECK_EQ(ref->GetReadBarrierPointer(), ReadBarrier::WhitePtr()); in DequeuePendingReference()
82 ref->AtomicSetReadBarrierPointer(ReadBarrier::GrayPtr(), ReadBarrier::BlackPtr()); in DequeuePendingReference()
83 CHECK_EQ(ref->GetReadBarrierPointer(), ReadBarrier::BlackPtr()); in DequeuePendingReference()
90 CHECK_EQ(ref->GetReadBarrierPointer(), ReadBarrier::WhitePtr()) in DequeuePendingReference()
93 CHECK_EQ(ref->GetReadBarrierPointer(), ReadBarrier::BlackPtr()) in DequeuePendingReference()
/art/runtime/gc/collector/
Dconcurrent_copying-inl.h59 DCHECK_NE(to_ref, ReadBarrier::GrayPtr()) in Mark()
73 from_ref->AtomicSetReadBarrierPointer(ReadBarrier::WhitePtr(), ReadBarrier::GrayPtr()); in Mark()
81 DCHECK_EQ(to_ref->GetReadBarrierPointer(), ReadBarrier::GrayPtr()); in Mark()
Dconcurrent_copying.cc319 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()
[all …]
/art/runtime/
Dread_barrier-inl.h32 inline MirrorType* ReadBarrier::Barrier( in Barrier()
97 inline MirrorType* ReadBarrier::BarrierForRoot(MirrorType** root, in BarrierForRoot()
145 inline MirrorType* ReadBarrier::BarrierForRoot(mirror::CompressedReference<MirrorType>* root, in BarrierForRoot()
182 inline bool ReadBarrier::IsDuringStartup() { in IsDuringStartup()
200 inline void ReadBarrier::AssertToSpaceInvariant(mirror::Object* obj, MemberOffset offset, in AssertToSpaceInvariant()
211 inline void ReadBarrier::AssertToSpaceInvariant(GcRootSource* gc_root_source, in AssertToSpaceInvariant()
222 inline mirror::Object* ReadBarrier::Mark(mirror::Object* obj) { in Mark()
226 inline bool ReadBarrier::HasGrayReadBarrierPointer(mirror::Object* obj, in HasGrayReadBarrierPointer()
Dlock_word.h236 DCHECK(rb_state == ReadBarrier::white_ptr_ || in CheckReadBarrierState()
237 rb_state == ReadBarrier::gray_ptr_ || in CheckReadBarrierState()
238 rb_state == ReadBarrier::black_ptr_) << rb_state; in CheckReadBarrierState()
Dgc_root-inl.h32 ReadBarrier::BarrierForRoot<mirror::Object, kReadBarrierOption>(&root_, gc_root_source)); in Read()
Dimage-inl.h41 ReadBarrier::BarrierForRoot<mirror::ObjectArray<mirror::Object>, kReadBarrierOption>( in GetImageRoots()
Dread_barrier.h38 class ReadBarrier {
Dstack.h250 ReadBarrier::AssertToSpaceInvariant(ref); in GetVRegReference()
320 ReadBarrier::AssertToSpaceInvariant(val); in SetVRegReference()
/art/runtime/entrypoints/quick/
Dquick_jni_entrypoints.cc28 mirror::Object* to_ref = ReadBarrier::BarrierForRoot(handle_on_stack); in ReadBarrierJni()
Dquick_field_entrypoints.cc634 return ReadBarrier::Mark(obj); in artReadBarrierMark()
647 ReadBarrier::Barrier<mirror::Object, kReadBarrierOption>(obj, in artReadBarrierSlow()
/art/runtime/native/
Dsun_misc_Unsafe.cc66 ReadBarrier::Barrier<mirror::Object, kWithReadBarrier, /*kAlwaysUpdateField*/true>( in Unsafe_compareAndSwapObject()
/art/runtime/interpreter/
Dunstarted_runtime.cc1191 ReadBarrier::Barrier<mirror::Object, kWithReadBarrier, /*kAlwaysUpdateField*/true>( in UnstartedUnsafeCompareAndSwapLong()
1229 ReadBarrier::Barrier<mirror::Object, kWithReadBarrier, /*kAlwaysUpdateField*/true>( in UnstartedUnsafeCompareAndSwapObject()
/art/runtime/mirror/
Dclass.cc954 mirror::Object* new_ref = ReadBarrier::BarrierForRoot(root); in VisitRoot()
Dobject-inl.h825 T* result = ReadBarrier::Barrier<T, kReadBarrierOption>(this, field_offset, objref_addr); in GetFieldObject()
/art/runtime/arch/
Dstub_test.cc2155 TEST_F(StubTest, ReadBarrier) { in TEST_F() argument
/art/compiler/optimizing/
Dcode_generator_arm64.cc5056 LockWord::kReadBarrierStateMask == ReadBarrier::rb_ptr_mask_, in GenerateReferenceLoadWithBakerReadBarrier()
5107 __ Cmp(temp, ReadBarrier::gray_ptr_); in GenerateReferenceLoadWithBakerReadBarrier()
Dcode_generator_arm.cc6149 LockWord::kReadBarrierStateMask == ReadBarrier::rb_ptr_mask_, in GenerateReferenceLoadWithBakerReadBarrier()
6191 __ cmp(temp_reg, ShifterOperand(ReadBarrier::gray_ptr_)); in GenerateReferenceLoadWithBakerReadBarrier()
Dcode_generator_x86_64.cc6371 LockWord::kReadBarrierStateMask == ReadBarrier::rb_ptr_mask_, in GenerateReferenceLoadWithBakerReadBarrier()
6392 __ cmpl(temp_reg, Immediate(ReadBarrier::gray_ptr_)); in GenerateReferenceLoadWithBakerReadBarrier()
Dcode_generator_x86.cc6907 LockWord::kReadBarrierStateMask == ReadBarrier::rb_ptr_mask_, in GenerateReferenceLoadWithBakerReadBarrier()
6928 __ cmpl(temp_reg, Immediate(ReadBarrier::gray_ptr_)); in GenerateReferenceLoadWithBakerReadBarrier()