Home
last modified time | relevance | path

Searched refs:gUseReadBarrier (Results 1 – 25 of 66) sorted by relevance

123

/art/runtime/
Dread_barrier_config.h77 constexpr bool gUseReadBarrier = kUseBakerReadBarrier || kUseTableLookupReadBarrier; variable
78 constexpr bool gUseUserfaultfd = !gUseReadBarrier;
82 constexpr bool gUseReadBarrier = false; variable
89 extern const bool gUseReadBarrier;
Dread_barrier-inl.h38 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()
Dmonitor_objects_stack_visitor.cc93 if (gUseReadBarrier && Thread::Current()->GetIsGcMarking()) { in VisitLockedObject()
Dintern_table.cc193 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()
Dlock_word.h186 if (gUseReadBarrier || gUseUserfaultfd) { in GetState()
293 if (!gUseReadBarrier) { in CheckReadBarrierState()
Dread_barrier.h97 if (gUseReadBarrier) { in MaybeAssertToSpaceInvariant()
Dcommon_runtime_test.h304 if (!gUseReadBarrier || !kUseBakerReadBarrier) { \
316 if (kRunningOnMemoryTool && kPoisonHeapReferences && !gUseReadBarrier) { \
Dthread-inl.h403 DCHECK(gUseReadBarrier); in GetWeakRefAccessEnabled()
459 (((gUseUserfaultfd || gUseReadBarrier) && this != self) || suspend_barrier != nullptr)) { in ModifySuspendCount()
/art/runtime/gc/
Dsystem_weak.h51 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()
Dreference_processor.cc93 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()
Dallocation_record.cc142 CHECK(!gUseReadBarrier); in AllowNewAllocationRecords()
148 CHECK(!gUseReadBarrier); in DisallowNewAllocationRecords()
241 while (UNLIKELY((!gUseReadBarrier && !allow_new_record_) || in RecordAllocation()
242 (gUseReadBarrier && !self->GetWeakRefAccessEnabled()))) { in RecordAllocation()
Dheap-visit-objects-inl.h121 if (!gUseReadBarrier) { in VisitObjectsInternal()
/art/runtime/native/
Djava_lang_ref_Reference.cc40 if (gUseReadBarrier && !kUseBakerReadBarrier) { in Reference_refersTo0()
51 if (!gUseReadBarrier || referent.IsNull() || other.IsNull()) { in Reference_refersTo0()
/art/runtime/jni/
Djava_vm_ext-inl.h29 return gUseReadBarrier in MayAccessWeakGlobals()
/art/runtime/mirror/
Dobject_array-inl.h124 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/
Dquick_field_entrypoints.cc419 DCHECK(gUseReadBarrier); in artReadBarrierMark()
427 DCHECK(gUseReadBarrier); in artReadBarrierSlow()
440 DCHECK(gUseReadBarrier); in artReadBarrierForRootSlow()
Dquick_jni_entrypoints.cc50 DCHECK(gUseReadBarrier); in artJniReadBarrier()
/art/compiler/optimizing/
Dintrinsics_x86.cc78 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 …]
Dintrinsics_x86_64.cc74 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 …]
Dintrinsics_arm_vixl.cc123 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 …]
Dintrinsics_arm64.cc94 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 …]
Doptimizing_cfi_test.cc175 if (kUseBakerReadBarrier && gUseReadBarrier) { in TEST_F()
Dcode_generator.h63 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/
Djni_cfi_test.cc132 if (kUseBakerReadBarrier && gUseReadBarrier) { \
/art/openjdkjvmti/
Djvmti_weak_table-inl.h117 if (art::gUseReadBarrier && self->GetIsGcMarking() && !update_since_last_sweep_) { in RemoveLocked()
159 if (art::gUseReadBarrier && self->GetIsGcMarking() && !update_since_last_sweep_) { in SetLocked()

123