/art/runtime/gc/ |
D | system_weak.h | 51 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()
|
D | reference_processor.cc | 91 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()
|
D | allocation_record.cc | 126 CHECK(!kUseReadBarrier); in AllowNewAllocationRecords() 132 CHECK(!kUseReadBarrier); in DisallowNewAllocationRecords() 225 while (UNLIKELY((!kUseReadBarrier && !allow_new_record_) || in RecordAllocation() 226 (kUseReadBarrier && !self->GetWeakRefAccessEnabled()))) { in RecordAllocation()
|
D | heap-visit-objects-inl.h | 121 if (!kUseReadBarrier) { in VisitObjectsInternal()
|
D | heap.cc | 364 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/ |
D | read_barrier_config.h | 80 static constexpr bool kUseReadBarrier = variable 91 static constexpr bool kEmitCompilerReadBarrier = kForceReadBarrier || kUseReadBarrier;
|
D | intern_table.cc | 192 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()
|
D | lock_word.h | 186 if ((!kUseReadBarrier && UNLIKELY(value_ == 0)) || in GetState() 187 (kUseReadBarrier && UNLIKELY((value_ & kGCStateMaskShiftedToggled) == 0))) { in GetState() 291 if (!kUseReadBarrier) { in CheckReadBarrierState()
|
D | read_barrier-inl.h | 40 if (kUseReadBarrier && with_read_barrier) { in Barrier() 111 if (kUseReadBarrier && with_read_barrier) { in BarrierForRoot() 196 if (!kUseReadBarrier) { in IsMarked()
|
D | monitor_objects_stack_visitor.cc | 93 if (kUseReadBarrier && Thread::Current()->GetIsGcMarking()) { in VisitLockedObject()
|
D | thread.h | 314 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()
|
D | read_barrier.h | 97 if (kUseReadBarrier) { in MaybeAssertToSpaceInvariant()
|
D | monitor.cc | 1144 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()
|
D | thread-inl.h | 363 if (delta > 0 && ((kUseReadBarrier && this != self) || suspend_barrier != nullptr)) { in ModifySuspendCount()
|
D | runtime.cc | 195 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()
|
D | runtime_options.def | 76 …ME_OPTIONS_KEY (bool, UseTLAB, (kUseTlab || kUseReadBarrier))
|
/art/runtime/mirror/ |
D | object_array-inl.h | 124 if (kUseReadBarrier && kUseBakerReadBarrier) { in AssignableMemmove() 149 if (kUseReadBarrier && kUseBakerReadBarrier) { in AssignableMemmove() 199 if (kUseReadBarrier && kUseBakerReadBarrier) { in AssignableMemcpy() 247 if (kUseReadBarrier && kUseBakerReadBarrier) { in AssignableCheckingMemcpy()
|
D | object.cc | 118 if (kUseReadBarrier) { in CopyObject()
|
/art/openjdkjvmti/ |
D | jvmti_weak_table-inl.h | 117 if (art::kUseReadBarrier && self->GetIsGcMarking() && !update_since_last_sweep_) { in RemoveLocked() 159 if (art::kUseReadBarrier && self->GetIsGcMarking() && !update_since_last_sweep_) { in SetLocked()
|
D | jvmti_weak_table.h | 155 if (art::kUseReadBarrier && in GetTagLocked()
|
/art/runtime/jni/ |
D | java_vm_ext.cc | 690 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/ |
D | entrypoints_init_arm.cc | 94 if (kUseReadBarrier && kUseBakerReadBarrier) { in UpdateReadBarrierEntrypoints()
|
/art/runtime/entrypoints/quick/ |
D | quick_jni_entrypoints.cc | 36 DCHECK(kUseReadBarrier); in ReadBarrierJni()
|
D | quick_field_entrypoints.cc | 409 kUseReadBarrier ? kWithReadBarrier : kWithoutReadBarrier; in artReadBarrierSlow()
|
/art/runtime/interpreter/mterp/ |
D | nterp.cc | 36 return !kPoisonHeapReferences && kUseReadBarrier; in IsNterpSupported() 104 DCHECK(kUseReadBarrier) << "Nterp only works with read barriers"; in UpdateCache()
|