/art/runtime/ |
D | read_barrier_config.h | 77 constexpr bool gUseReadBarrier = kUseBakerReadBarrier || kUseTableLookupReadBarrier; variable 78 constexpr bool gUseUserfaultfd = !gUseReadBarrier; 82 constexpr bool gUseReadBarrier = false; variable 89 extern const bool gUseReadBarrier;
|
D | read_barrier-inl.h | 38 if (gUseReadBarrier && with_read_barrier) { in Barrier() 111 if (gUseReadBarrier && with_read_barrier) { in BarrierForRoot() 160 if (gUseReadBarrier && with_read_barrier) { in BarrierForRoot() 209 if (!gUseReadBarrier) { in IsMarked()
|
D | monitor_objects_stack_visitor.cc | 93 if (gUseReadBarrier && Thread::Current()->GetIsGcMarking()) { in VisitLockedObject()
|
D | intern_table.cc | 193 while ((!gUseReadBarrier && weak_root_state_ == gc::kWeakRootStateNoReadsOrWrites) || in WaitUntilAccessible() 194 (gUseReadBarrier && !self->GetWeakRefAccessEnabled())) { in WaitUntilAccessible() 221 if (gUseReadBarrier ? self->GetWeakRefAccessEnabled() in Insert() 233 if (!gUseReadBarrier) { in Insert() 432 CHECK(!gUseReadBarrier); in ChangeWeakRootStateLocked()
|
D | lock_word.h | 186 if (gUseReadBarrier || gUseUserfaultfd) { in GetState() 293 if (!gUseReadBarrier) { in CheckReadBarrierState()
|
D | read_barrier.h | 97 if (gUseReadBarrier) { in MaybeAssertToSpaceInvariant()
|
D | common_runtime_test.h | 304 if (!gUseReadBarrier || !kUseBakerReadBarrier) { \ 316 if (kRunningOnMemoryTool && kPoisonHeapReferences && !gUseReadBarrier) { \
|
D | thread-inl.h | 403 DCHECK(gUseReadBarrier); in GetWeakRefAccessEnabled() 459 (((gUseUserfaultfd || gUseReadBarrier) && this != self) || suspend_barrier != nullptr)) { in ModifySuspendCount()
|
/art/runtime/gc/ |
D | system_weak.h | 51 CHECK(!gUseReadBarrier); in Allow() 60 CHECK(!gUseReadBarrier); in Disallow() 81 while (UNLIKELY((!gUseReadBarrier && !allow_new_system_weak_) || in Wait() 82 (gUseReadBarrier && !self->GetWeakRefAccessEnabled()))) { in Wait()
|
D | reference_processor.cc | 93 return gUseReadBarrier ? !self->GetWeakRefAccessEnabled() : SlowPathEnabled(); in GetReferent() 121 const bool other_read_barrier = !kUseBakerReadBarrier && gUseReadBarrier; in GetReferent() 213 if (!gUseReadBarrier) { in ProcessReferences() 308 if (!gUseReadBarrier && concurrent_) { in ProcessReferences() 420 while ((!gUseReadBarrier && SlowPathEnabled()) || in WaitUntilDoneProcessingReferences() 421 (gUseReadBarrier && !self->GetWeakRefAccessEnabled())) { in WaitUntilDoneProcessingReferences()
|
D | allocation_record.cc | 142 CHECK(!gUseReadBarrier); in AllowNewAllocationRecords() 148 CHECK(!gUseReadBarrier); in DisallowNewAllocationRecords() 241 while (UNLIKELY((!gUseReadBarrier && !allow_new_record_) || in RecordAllocation() 242 (gUseReadBarrier && !self->GetWeakRefAccessEnabled()))) { in RecordAllocation()
|
D | heap-visit-objects-inl.h | 121 if (!gUseReadBarrier) { in VisitObjectsInternal()
|
/art/runtime/native/ |
D | java_lang_ref_Reference.cc | 40 if (gUseReadBarrier && !kUseBakerReadBarrier) { in Reference_refersTo0() 51 if (!gUseReadBarrier || referent.IsNull() || other.IsNull()) { in Reference_refersTo0()
|
/art/runtime/jni/ |
D | java_vm_ext-inl.h | 29 return gUseReadBarrier in MayAccessWeakGlobals()
|
/art/runtime/mirror/ |
D | object_array-inl.h | 124 if (gUseReadBarrier && kUseBakerReadBarrier) { in AssignableMemmove() 149 if (gUseReadBarrier && kUseBakerReadBarrier) { in AssignableMemmove() 199 if (gUseReadBarrier && kUseBakerReadBarrier) { in AssignableMemcpy() 247 if (gUseReadBarrier && kUseBakerReadBarrier) { in AssignableCheckingMemcpy()
|
/art/runtime/entrypoints/quick/ |
D | quick_field_entrypoints.cc | 419 DCHECK(gUseReadBarrier); in artReadBarrierMark() 427 DCHECK(gUseReadBarrier); in artReadBarrierSlow() 440 DCHECK(gUseReadBarrier); in artReadBarrierForRootSlow()
|
D | quick_jni_entrypoints.cc | 50 DCHECK(gUseReadBarrier); in artJniReadBarrier()
|
/art/compiler/optimizing/ |
D | intrinsics_x86.cc | 78 DCHECK(gUseReadBarrier); in ReadBarrierSystemArrayCopySlowPathX86() 1702 if (gUseReadBarrier) { in GenUnsafeGet() 1760 bool can_call = gUseReadBarrier && UnsafeGetIntrinsicOnCallList(invoke->GetIntrinsic()); in CreateIntIntIntToIntLocations() 2106 const bool can_call = gUseReadBarrier && in CreateIntIntIntIntIntToInt() 2178 if (gUseReadBarrier && !kUseBakerReadBarrier) { in VisitJdkUnsafeCompareAndSetObject() 2307 if (gUseReadBarrier && kUseBakerReadBarrier) { in GenReferenceCAS() 2394 DCHECK_IMPLIES(gUseReadBarrier, kUseBakerReadBarrier); in GenCAS() 2416 DCHECK_IMPLIES(gUseReadBarrier, kUseBakerReadBarrier); in VisitUnsafeCASObject() 2446 DCHECK_IMPLIES(gUseReadBarrier, kUseBakerReadBarrier); in VisitJdkUnsafeCompareAndSetObject() 2846 if (gUseReadBarrier && !kUseBakerReadBarrier) { in VisitSystemArrayCopy() [all …]
|
D | intrinsics_x86_64.cc | 74 DCHECK(gUseReadBarrier); in ReadBarrierSystemArrayCopySlowPathX86_64() 839 if (gUseReadBarrier && !kUseBakerReadBarrier) { in VisitSystemArrayCopy() 890 DCHECK_IMPLIES(gUseReadBarrier, kUseBakerReadBarrier); in VisitSystemArrayCopy() 1005 if (gUseReadBarrier && kUseBakerReadBarrier) { in VisitSystemArrayCopy() 1037 if (gUseReadBarrier && kUseBakerReadBarrier) { in VisitSystemArrayCopy() 1058 if (gUseReadBarrier && kUseBakerReadBarrier) { in VisitSystemArrayCopy() 1084 if (gUseReadBarrier && kUseBakerReadBarrier) { in VisitSystemArrayCopy() 1112 if (gUseReadBarrier && kUseBakerReadBarrier) { in VisitSystemArrayCopy() 1144 if (gUseReadBarrier && kUseBakerReadBarrier) { in VisitSystemArrayCopy() 1891 if (gUseReadBarrier) { in GenUnsafeGet() [all …]
|
D | intrinsics_arm_vixl.cc | 123 DCHECK(gUseReadBarrier); in ReadBarrierSystemArrayCopySlowPathARMVIXL() 1245 if (gUseReadBarrier && !kUseBakerReadBarrier) { in VisitSystemArrayCopy() 1268 if (gUseReadBarrier && kUseBakerReadBarrier) { in VisitSystemArrayCopy() 1342 DCHECK_IMPLIES(gUseReadBarrier, kUseBakerReadBarrier); in VisitSystemArrayCopy() 1456 if (gUseReadBarrier && kUseBakerReadBarrier) { in VisitSystemArrayCopy() 1587 if (gUseReadBarrier && kUseBakerReadBarrier) { in VisitSystemArrayCopy() 1624 if (gUseReadBarrier && kUseBakerReadBarrier) { in VisitSystemArrayCopy() 2514 if (gUseReadBarrier) { in VisitReferenceGetReferent() 2542 if (gUseReadBarrier && kUseBakerReadBarrier) { in VisitReferenceGetReferent() 2590 if (gUseReadBarrier) { in VisitReferenceRefersTo() [all …]
|
D | intrinsics_arm64.cc | 94 DCHECK(gUseReadBarrier); in ReadBarrierSystemArrayCopySlowPathARM64() 713 if (type == DataType::Type::kReference && gUseReadBarrier && kUseBakerReadBarrier) { in GenUnsafeGet() 756 bool can_call = gUseReadBarrier && UnsafeGetIntrinsicOnCallList(invoke->GetIntrinsic()); in CreateIntIntIntToIntLocations() 1098 const bool can_call = gUseReadBarrier && IsUnsafeCASObject(invoke); in CreateUnsafeCASLocations() 1450 if (gUseReadBarrier && type == DataType::Type::kReference) { in GenUnsafeCas() 1525 if (gUseReadBarrier && !kUseBakerReadBarrier) { in VisitJdkUnsafeCompareAndSetObject() 1530 if (gUseReadBarrier) { in VisitJdkUnsafeCompareAndSetObject() 1580 DCHECK_IMPLIES(gUseReadBarrier, kUseBakerReadBarrier); in VisitJdkUnsafeCompareAndSetObject() 2900 if (gUseReadBarrier && !kUseBakerReadBarrier) { in VisitSystemArrayCopy() 2952 if (gUseReadBarrier && kUseBakerReadBarrier) { in VisitSystemArrayCopy() [all …]
|
D | optimizing_cfi_test.cc | 175 if (kUseBakerReadBarrier && gUseReadBarrier) { in TEST_F()
|
D | code_generator.h | 63 gUseReadBarrier ? kWithReadBarrier : kWithoutReadBarrier; 482 return gUseReadBarrier && !instance_of->GetTargetClass()->IsInBootImage(); in InstanceOfNeedsReadBarrier() 497 gUseReadBarrier && !check_cast->GetTargetClass()->IsInBootImage(); in IsTypeCheckSlowPathFatal() 700 return gUseReadBarrier in GetLoadStringCallKind()
|
/art/compiler/jni/ |
D | jni_cfi_test.cc | 132 if (kUseBakerReadBarrier && gUseReadBarrier) { \
|
/art/openjdkjvmti/ |
D | jvmti_weak_table-inl.h | 117 if (art::gUseReadBarrier && self->GetIsGcMarking() && !update_since_last_sweep_) { in RemoveLocked() 159 if (art::gUseReadBarrier && self->GetIsGcMarking() && !update_since_last_sweep_) { in SetLocked()
|