Home
last modified time | relevance | path

Searched refs:kUseReadBarrier (Results 1 – 25 of 42) sorted by relevance

12

/art/runtime/gc/
Dsystem_weak.h51 CHECK(!kUseReadBarrier); in Allow()
60 CHECK(!kUseReadBarrier); in Disallow()
81 while (UNLIKELY((!kUseReadBarrier && !allow_new_system_weak_) || in Wait()
82 (kUseReadBarrier && !self->GetWeakRefAccessEnabled()))) { in Wait()
Dreference_processor.cc91 if (!kUseReadBarrier || self->GetWeakRefAccessEnabled()) { in GetReferent()
103 while ((!kUseReadBarrier && SlowPathEnabled()) || in GetReferent()
104 (kUseReadBarrier && !self->GetWeakRefAccessEnabled())) { in GetReferent()
162 if (!kUseReadBarrier) { in ProcessReferences()
225 if (!kUseReadBarrier && concurrent) { in ProcessReferences()
338 while ((!kUseReadBarrier && SlowPathEnabled()) || in WaitUntilDoneProcessingReferences()
339 (kUseReadBarrier && !self->GetWeakRefAccessEnabled())) { in WaitUntilDoneProcessingReferences()
Dallocation_record.cc126 CHECK(!kUseReadBarrier); in AllowNewAllocationRecords()
132 CHECK(!kUseReadBarrier); in DisallowNewAllocationRecords()
225 while (UNLIKELY((!kUseReadBarrier && !allow_new_record_) || in RecordAllocation()
226 (kUseReadBarrier && !self->GetWeakRefAccessEnabled()))) { in RecordAllocation()
Dheap-visit-objects-inl.h121 if (!kUseReadBarrier) { in VisitObjectsInternal()
Dheap.cc364 if (kUseReadBarrier) { in Heap()
894 CHECK(kUseReadBarrier); in IncrementDisableThreadFlip()
928 CHECK(kUseReadBarrier); in DecrementDisableThreadFlip()
948 CHECK(kUseReadBarrier); in ThreadFlipBegin()
974 CHECK(kUseReadBarrier); in ThreadFlipEnd()
1422 DCHECK(kUseReadBarrier); in DoPendingCollectorTransition()
4064 CHECK(!kUseReadBarrier); in AllowNewAllocationRecords()
4073 CHECK(!kUseReadBarrier); in DisallowNewAllocationRecords()
/art/runtime/
Dread_barrier_config.h80 static constexpr bool kUseReadBarrier = variable
91 static constexpr bool kEmitCompilerReadBarrier = kForceReadBarrier || kUseReadBarrier;
Dintern_table.cc192 while ((!kUseReadBarrier && weak_root_state_ == gc::kWeakRootStateNoReadsOrWrites) || in WaitUntilAccessible()
193 (kUseReadBarrier && !self->GetWeakRefAccessEnabled())) { in WaitUntilAccessible()
214 if (!kUseReadBarrier) { in Insert()
225 if ((!kUseReadBarrier && weak_root_state_ != gc::kWeakRootStateNoReadsOrWrites) || in Insert()
226 (kUseReadBarrier && self->GetWeakRefAccessEnabled())) { in Insert()
237 if (!kUseReadBarrier) { in Insert()
469 CHECK(!kUseReadBarrier); in ChangeWeakRootStateLocked()
Dlock_word.h186 if ((!kUseReadBarrier && UNLIKELY(value_ == 0)) || in GetState()
187 (kUseReadBarrier && UNLIKELY((value_ & kGCStateMaskShiftedToggled) == 0))) { in GetState()
291 if (!kUseReadBarrier) { in CheckReadBarrierState()
Dread_barrier-inl.h40 if (kUseReadBarrier && with_read_barrier) { in Barrier()
111 if (kUseReadBarrier && with_read_barrier) { in BarrierForRoot()
196 if (!kUseReadBarrier) { in IsMarked()
Dmonitor_objects_stack_visitor.cc93 if (kUseReadBarrier && Thread::Current()->GetIsGcMarking()) { in VisitLockedObject()
Dthread.h314 CHECK(kUseReadBarrier); in GetThreadLocalMarkStack()
318 CHECK(kUseReadBarrier); in SetThreadLocalMarkStack()
960 CHECK(kUseReadBarrier); in GetIsGcMarking()
967 CHECK(kUseReadBarrier); in GetWeakRefAccessEnabled()
972 CHECK(kUseReadBarrier); in SetWeakRefAccessEnabled()
977 CHECK(kUseReadBarrier); in GetDisableThreadFlipCount()
982 CHECK(kUseReadBarrier); in IncrementDisableThreadFlipCount()
987 CHECK(kUseReadBarrier); in DecrementDisableThreadFlipCount()
1984 if (kUseReadBarrier) { in ScopedTransitioningToRunnable()
1990 if (kUseReadBarrier) { in ~ScopedTransitioningToRunnable()
Dread_barrier.h97 if (kUseReadBarrier) { in MaybeAssertToSpaceInvariant()
Dmonitor.cc1144 if (!kUseReadBarrier) { in MonitorEnter()
1251 if (!kUseReadBarrier) { in MonitorExit()
1421 if (kUseReadBarrier && Thread::Current()->GetIsGcMarking()) { in FetchState()
1613 CHECK(!kUseReadBarrier); in DisallowNewMonitors()
1619 CHECK(!kUseReadBarrier); in AllowNewMonitors()
1638 while (!kUseReadBarrier && UNLIKELY(!allow_new_monitors_)) { in Add()
Dthread-inl.h363 if (delta > 0 && ((kUseReadBarrier && this != self) || suspend_barrier != nullptr)) { in ModifySuspendCount()
Druntime.cc195 static constexpr double kExtraDefaultHeapGrowthMultiplier = kUseReadBarrier ? 1.0 : 0.0;
1393 kUseReadBarrier ? gc::kCollectorTypeCC : xgc_option.collector_type_, in Init()
1394 kUseReadBarrier ? BackgroundGcOption(gc::kCollectorTypeCCBackground) in Init()
2322 CHECK(!kUseReadBarrier); in DisallowNewSystemWeaks()
2338 CHECK(!kUseReadBarrier); in AllowNewSystemWeaks()
Druntime_options.def76 …ME_OPTIONS_KEY (bool, UseTLAB, (kUseTlab || kUseReadBarrier))
/art/runtime/mirror/
Dobject_array-inl.h124 if (kUseReadBarrier && kUseBakerReadBarrier) { in AssignableMemmove()
149 if (kUseReadBarrier && kUseBakerReadBarrier) { in AssignableMemmove()
199 if (kUseReadBarrier && kUseBakerReadBarrier) { in AssignableMemcpy()
247 if (kUseReadBarrier && kUseBakerReadBarrier) { in AssignableCheckingMemcpy()
Dobject.cc118 if (kUseReadBarrier) { in CopyObject()
/art/openjdkjvmti/
Djvmti_weak_table-inl.h117 if (art::kUseReadBarrier && self->GetIsGcMarking() && !update_since_last_sweep_) { in RemoveLocked()
159 if (art::kUseReadBarrier && self->GetIsGcMarking() && !update_since_last_sweep_) { in SetLocked()
Djvmti_weak_table.h155 if (art::kUseReadBarrier && in GetTagLocked()
/art/runtime/jni/
Djava_vm_ext.cc690 while (!kUseReadBarrier && UNLIKELY(!MayAccessWeakGlobals(self))) { in AddWeakGlobalRef()
769 CHECK(!kUseReadBarrier); in DisallowNewWeakGlobals()
780 CHECK(!kUseReadBarrier); in AllowNewWeakGlobals()
808 return kUseReadBarrier ? in MayAccessWeakGlobalsUnlocked()
848 if (!kUseReadBarrier) { in DecodeWeakGlobalDuringShutdown()
/art/runtime/arch/arm/
Dentrypoints_init_arm.cc94 if (kUseReadBarrier && kUseBakerReadBarrier) { in UpdateReadBarrierEntrypoints()
/art/runtime/entrypoints/quick/
Dquick_jni_entrypoints.cc36 DCHECK(kUseReadBarrier); in ReadBarrierJni()
Dquick_field_entrypoints.cc409 kUseReadBarrier ? kWithReadBarrier : kWithoutReadBarrier; in artReadBarrierSlow()
/art/runtime/interpreter/mterp/
Dnterp.cc36 return !kPoisonHeapReferences && kUseReadBarrier; in IsNterpSupported()
104 DCHECK(kUseReadBarrier) << "Nterp only works with read barriers"; in UpdateCache()

12