/art/runtime/gc/ |
D | reference_queue.cc | 77 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/ |
D | concurrent_copying-inl.h | 59 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()
|
D | concurrent_copying.cc | 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() [all …]
|
/art/runtime/ |
D | read_barrier-inl.h | 32 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()
|
D | lock_word.h | 236 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()
|
D | gc_root-inl.h | 32 ReadBarrier::BarrierForRoot<mirror::Object, kReadBarrierOption>(&root_, gc_root_source)); in Read()
|
D | image-inl.h | 41 ReadBarrier::BarrierForRoot<mirror::ObjectArray<mirror::Object>, kReadBarrierOption>( in GetImageRoots()
|
D | read_barrier.h | 38 class ReadBarrier {
|
D | stack.h | 250 ReadBarrier::AssertToSpaceInvariant(ref); in GetVRegReference() 320 ReadBarrier::AssertToSpaceInvariant(val); in SetVRegReference()
|
/art/runtime/entrypoints/quick/ |
D | quick_jni_entrypoints.cc | 28 mirror::Object* to_ref = ReadBarrier::BarrierForRoot(handle_on_stack); in ReadBarrierJni()
|
D | quick_field_entrypoints.cc | 634 return ReadBarrier::Mark(obj); in artReadBarrierMark() 647 ReadBarrier::Barrier<mirror::Object, kReadBarrierOption>(obj, in artReadBarrierSlow()
|
/art/runtime/native/ |
D | sun_misc_Unsafe.cc | 66 ReadBarrier::Barrier<mirror::Object, kWithReadBarrier, /*kAlwaysUpdateField*/true>( in Unsafe_compareAndSwapObject()
|
/art/runtime/interpreter/ |
D | unstarted_runtime.cc | 1191 ReadBarrier::Barrier<mirror::Object, kWithReadBarrier, /*kAlwaysUpdateField*/true>( in UnstartedUnsafeCompareAndSwapLong() 1229 ReadBarrier::Barrier<mirror::Object, kWithReadBarrier, /*kAlwaysUpdateField*/true>( in UnstartedUnsafeCompareAndSwapObject()
|
/art/runtime/mirror/ |
D | class.cc | 954 mirror::Object* new_ref = ReadBarrier::BarrierForRoot(root); in VisitRoot()
|
D | object-inl.h | 825 T* result = ReadBarrier::Barrier<T, kReadBarrierOption>(this, field_offset, objref_addr); in GetFieldObject()
|
/art/runtime/arch/ |
D | stub_test.cc | 2155 TEST_F(StubTest, ReadBarrier) { in TEST_F() argument
|
/art/compiler/optimizing/ |
D | code_generator_arm64.cc | 5056 LockWord::kReadBarrierStateMask == ReadBarrier::rb_ptr_mask_, in GenerateReferenceLoadWithBakerReadBarrier() 5107 __ Cmp(temp, ReadBarrier::gray_ptr_); in GenerateReferenceLoadWithBakerReadBarrier()
|
D | code_generator_arm.cc | 6149 LockWord::kReadBarrierStateMask == ReadBarrier::rb_ptr_mask_, in GenerateReferenceLoadWithBakerReadBarrier() 6191 __ cmp(temp_reg, ShifterOperand(ReadBarrier::gray_ptr_)); in GenerateReferenceLoadWithBakerReadBarrier()
|
D | code_generator_x86_64.cc | 6371 LockWord::kReadBarrierStateMask == ReadBarrier::rb_ptr_mask_, in GenerateReferenceLoadWithBakerReadBarrier() 6392 __ cmpl(temp_reg, Immediate(ReadBarrier::gray_ptr_)); in GenerateReferenceLoadWithBakerReadBarrier()
|
D | code_generator_x86.cc | 6907 LockWord::kReadBarrierStateMask == ReadBarrier::rb_ptr_mask_, in GenerateReferenceLoadWithBakerReadBarrier() 6928 __ cmpl(temp_reg, Immediate(ReadBarrier::gray_ptr_)); in GenerateReferenceLoadWithBakerReadBarrier()
|