/art/runtime/ |
D | read_barrier_config.h | 62 static constexpr bool kUseBakerReadBarrier = true; variable 64 static constexpr bool kUseBakerReadBarrier = false; 79 static constexpr bool kUseBakerOrBrooksReadBarrier = kUseBakerReadBarrier || kUseBrooksReadBarrier; 81 kUseBakerReadBarrier || kUseBrooksReadBarrier || kUseTableLookupReadBarrier;
|
D | read_barrier-inl.h | 47 if (kUseBakerReadBarrier) { in Barrier() 118 if (kUseBakerReadBarrier) { in BarrierForRoot() 159 if (with_read_barrier && kUseBakerReadBarrier) { in BarrierForRoot()
|
D | common_runtime_test.h | 235 if (!kEmitCompilerReadBarrier || !kUseBakerReadBarrier) { \
|
/art/runtime/gc/collector/ |
D | concurrent_copying-inl.h | 65 if (kUseBakerReadBarrier) { in MarkUnevacFromSpaceRegion() 74 if (kUseBakerReadBarrier) { in MarkUnevacFromSpaceRegion() 86 if (kUseBakerReadBarrier) { in MarkUnevacFromSpaceRegion() 97 if (kUseBakerReadBarrier) { in MarkImmuneSpace() 140 } else if (UNLIKELY(kUseBakerReadBarrier && !is_active_)) { in Mark() 214 if (kUseBakerReadBarrier && LIKELY(!rb_mark_bit_stack_full_ && ret->AtomicSetMarkBit(0, 1))) { in MarkFromReadBarrier() 243 if (kUseBakerReadBarrier && from_ref->GetReadBarrierStateAcquire() == ReadBarrier::GrayState()) { in IsMarkedInUnevacFromSpace()
|
D | concurrent_copying.cc | 189 CHECK(kUseBakerReadBarrier || kUseTableLookupReadBarrier); in RunPhases() 204 if (kUseBakerReadBarrier && kGrayDirtyImmuneObjects) { in RunPhases() 404 if (kUseBakerReadBarrier) { in InitializePhase() 556 if (kUseBakerReadBarrier && kGrayDirtyImmuneObjects) { in Run() 766 if (kUseBakerReadBarrier && obj->GetReadBarrierState() == ReadBarrier::NonGrayState()) { in operator ()() 887 if (kUseBakerReadBarrier && kGrayDirtyImmuneObjects) { in operator ()() 1400 if (kUseBakerReadBarrier) { in CopyingPhase() 1505 if (kUseBakerReadBarrier && kGrayDirtyImmuneObjects && table != nullptr) { in CopyingPhase() 1518 if (kUseBakerReadBarrier) { in CopyingPhase() 1680 if (kUseBakerReadBarrier && kGrayDirtyImmuneObjects) { in Run() [all …]
|
/art/runtime/mirror/ |
D | object-readbarrier-inl.h | 74 if (!kUseBakerReadBarrier) { in GetReadBarrierState() 129 if (!kUseBakerReadBarrier) { in GetReadBarrierState() 133 DCHECK(kUseBakerReadBarrier); in GetReadBarrierState() 141 if (!kUseBakerReadBarrier) { in GetReadBarrierStateAcquire() 153 if (!kUseBakerReadBarrier) { in AtomicSetReadBarrierState()
|
D | object_array-inl.h | 123 if (kUseReadBarrier && kUseBakerReadBarrier) { in AssignableMemmove() 148 if (kUseReadBarrier && kUseBakerReadBarrier) { in AssignableMemmove() 198 if (kUseReadBarrier && kUseBakerReadBarrier) { in AssignableMemcpy() 246 if (kUseReadBarrier && kUseBakerReadBarrier) { in AssignableCheckingMemcpy()
|
/art/runtime/gc/ |
D | heap-inl.h | 90 if (kUseBakerReadBarrier) { in AllocObjectWithAllocator() 103 if (kUseBakerReadBarrier) { in AllocObjectWithAllocator() 142 if (kUseBakerReadBarrier) { in AllocObjectWithAllocator()
|
/art/compiler/optimizing/ |
D | intrinsics_x86_64.cc | 80 DCHECK(kUseBakerReadBarrier); in ReadBarrierSystemArrayCopySlowPathX86_64() 813 if (kEmitCompilerReadBarrier && !kUseBakerReadBarrier) { in VisitSystemArrayCopy() 864 DCHECK(!kEmitCompilerReadBarrier || kUseBakerReadBarrier); in VisitSystemArrayCopy() 979 if (kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in VisitSystemArrayCopy() 1011 if (kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in VisitSystemArrayCopy() 1032 if (kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in VisitSystemArrayCopy() 1058 if (kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in VisitSystemArrayCopy() 1086 if (kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in VisitSystemArrayCopy() 1118 if (kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in VisitSystemArrayCopy() 1866 if (kUseBakerReadBarrier) { in GenUnsafeGet() [all …]
|
D | intrinsics_arm_vixl.cc | 173 DCHECK(kUseBakerReadBarrier); in ReadBarrierSystemArrayCopySlowPathARMVIXL() 639 if (kUseBakerReadBarrier) { in GenUnsafeGet() 701 if (can_call && kUseBakerReadBarrier) { in CreateIntIntIntToIntLocations() 709 if (type == DataType::Type::kReference && kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in CreateIntIntIntToIntLocations() 941 kUseBakerReadBarrier && in CreateIntIntIntIntIntToIntPlusTemps() 1057 DCHECK(!kEmitCompilerReadBarrier || kUseBakerReadBarrier); in GenCas() 1064 if (kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in GenCas() 1126 if (kEmitCompilerReadBarrier && !kUseBakerReadBarrier) { in VisitUnsafeCASObject() 1138 DCHECK(!kEmitCompilerReadBarrier || kUseBakerReadBarrier); in VisitUnsafeCASObject() 1814 if (kEmitCompilerReadBarrier && !kUseBakerReadBarrier) { in VisitSystemArrayCopy() [all …]
|
D | intrinsics_arm64.cc | 163 DCHECK(kUseBakerReadBarrier); in ReadBarrierSystemArrayCopySlowPathARM64() 745 if (type == DataType::Type::kReference && kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in GenUnsafeGet() 783 if (can_call && kUseBakerReadBarrier) { in CreateIntIntIntToIntLocations() 979 kUseBakerReadBarrier && in CreateIntIntIntIntIntToInt() 997 if (type == DataType::Type::kReference && kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in CreateIntIntIntIntIntToInt() 1097 DCHECK(kUseBakerReadBarrier); in GenCas() 1147 if (kEmitCompilerReadBarrier && !kUseBakerReadBarrier) { in VisitUnsafeCASObject() 1163 DCHECK(!kEmitCompilerReadBarrier || kUseBakerReadBarrier); in VisitUnsafeCASObject() 2269 if (kEmitCompilerReadBarrier && !kUseBakerReadBarrier) { in VisitSystemArrayCopy() 2321 if (kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in VisitSystemArrayCopy() [all …]
|
D | intrinsics_x86.cc | 82 DCHECK(kUseBakerReadBarrier); in ReadBarrierSystemArrayCopySlowPathX86() 1699 if (kUseBakerReadBarrier) { in GenUnsafeGet() 1751 if (can_call && kUseBakerReadBarrier) { in CreateIntIntIntToIntLocations() 1956 kUseBakerReadBarrier && in CreateIntIntIntIntIntToInt() 2001 if (kEmitCompilerReadBarrier && !kUseBakerReadBarrier) { in VisitUnsafeCASObject() 2023 DCHECK(!kEmitCompilerReadBarrier || kUseBakerReadBarrier); in GenCAS() 2038 if (kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in GenCAS() 2138 DCHECK(!kEmitCompilerReadBarrier || kUseBakerReadBarrier); in VisitUnsafeCASObject() 2538 if (kEmitCompilerReadBarrier && !kUseBakerReadBarrier) { in VisitSystemArrayCopy() 2570 DCHECK(!kEmitCompilerReadBarrier || kUseBakerReadBarrier); in VisitSystemArrayCopy() [all …]
|
D | intrinsics_mips64.cc | 852 if (can_call && kUseBakerReadBarrier) { in CreateIntIntIntToIntLocations() 860 if (type == DataType::Type::kReference && kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in CreateIntIntIntToIntLocations() 888 if (!(kEmitCompilerReadBarrier && kUseBakerReadBarrier && (type == DataType::Type::kReference))) { in GenUnsafeGet() 909 if (kUseBakerReadBarrier) { in GenUnsafeGet() 1181 kUseBakerReadBarrier && in CreateIntIntIntIntIntToIntPlusTemps() 1222 DCHECK(!kEmitCompilerReadBarrier || kUseBakerReadBarrier); in GenCas() 1229 if (kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in GenCas() 1327 if (kEmitCompilerReadBarrier && !kUseBakerReadBarrier) { in VisitUnsafeCASObject() 1337 DCHECK(!kEmitCompilerReadBarrier || kUseBakerReadBarrier); in VisitUnsafeCASObject()
|
D | intrinsics_mips.cc | 977 if (can_call && kUseBakerReadBarrier) { in CreateIntIntIntToIntLocations() 985 if (type == DataType::Type::kReference && kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in CreateIntIntIntToIntLocations() 1015 if (!(kEmitCompilerReadBarrier && kUseBakerReadBarrier && (type == DataType::Type::kReference))) { in GenUnsafeGet() 1053 if (kUseBakerReadBarrier) { in GenUnsafeGet() 1334 kUseBakerReadBarrier && in CreateIntIntIntIntIntToIntPlusTemps() 1376 DCHECK(!kEmitCompilerReadBarrier || kUseBakerReadBarrier); in GenCas() 1383 if (kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in GenCas() 1476 if (kEmitCompilerReadBarrier && !kUseBakerReadBarrier) { in VisitUnsafeCASObject() 1486 DCHECK(!kEmitCompilerReadBarrier || kUseBakerReadBarrier); in VisitUnsafeCASObject()
|
D | instruction_simplifier_shared.cc | 248 !kUseBakerReadBarrier && in TryExtractArrayAccessAddress()
|
D | code_generator_arm64.cc | 1842 if (object_field_get_with_read_barrier && kUseBakerReadBarrier) { in HandleFieldGet() 1876 if (kEmitCompilerReadBarrier && kUseBakerReadBarrier && in HandleFieldGet() 2310 if (object_array_get_with_read_barrier && kUseBakerReadBarrier) { in VisitArrayGet() 2361 !kUseBakerReadBarrier)); in VisitArrayGet() 2363 if (type == DataType::Type::kReference && kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in VisitArrayGet() 3415 (kUseBakerReadBarrier || in NumberOfInstanceOfTemps() 3445 baker_read_barrier_slow_path = kUseBakerReadBarrier && needs_read_barrier; in VisitInstanceOf() 4590 if (kUseBakerReadBarrier && requires_read_barrier && !cls->NeedsEnvironment()) { in VisitLoadClass() 4599 if (!kUseReadBarrier || kUseBakerReadBarrier) { in VisitLoadClass() 4797 if (!kUseReadBarrier || kUseBakerReadBarrier) { in VisitLoadString() [all …]
|
D | code_generator_mips64.cc | 2282 if (object_array_get_with_read_barrier && kUseBakerReadBarrier) { in VisitArrayGet() 2300 if (object_array_get_with_read_barrier && kUseBakerReadBarrier) { in VisitArrayGet() 2444 if (kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in VisitArrayGet() 2947 !(kUseBakerReadBarrier && kBakerReadBarrierThunksEnableForFields) && in NumberOfInstanceOfTemps() 2948 (kUseBakerReadBarrier || in NumberOfInstanceOfTemps() 4865 if (object_field_get_with_read_barrier && kUseBakerReadBarrier) { in HandleFieldGet() 4880 if (object_field_get_with_read_barrier && kUseBakerReadBarrier) { in HandleFieldGet() 4938 if (kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in HandleFieldGet() 5093 if (!kUseBakerReadBarrier || !kBakerReadBarrierThunksEnableForFields) { in GenerateReferenceLoadOneRegister() 5096 if (kUseBakerReadBarrier) { in GenerateReferenceLoadOneRegister() [all …]
|
D | scheduler_arm.cc | 672 if (kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in VisitArrayGet() 933 if (kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in HandleFieldGetLatencies()
|
D | code_generator_arm64.h | 92 ((kEmitCompilerReadBarrier && kUseBakerReadBarrier) ? mr : vixl::aarch64::NoCPUReg), 110 ((kEmitCompilerReadBarrier && kUseBakerReadBarrier)
|
/art/runtime/arch/arm/ |
D | entrypoints_init_arm.cc | 94 if (kUseReadBarrier && kUseBakerReadBarrier) { in UpdateReadBarrierEntrypoints()
|
/art/runtime/entrypoints/quick/ |
D | quick_jni_entrypoints.cc | 37 if (kUseBakerReadBarrier) { in ReadBarrierJni()
|
D | quick_alloc_entrypoints.cc | 53 if (kUseBakerReadBarrier) { in artAllocObjectFromCode()
|
/art/compiler/utils/arm64/ |
D | assembler_arm64.cc | 196 DCHECK(kUseBakerReadBarrier); in GenerateMarkingRegisterCheck()
|
/art/runtime/gc/space/ |
D | space_test.h | 110 if (kUseBakerReadBarrier) { in InstallClass()
|
/art/compiler/utils/arm/ |
D | assembler_arm_vixl.cc | 86 DCHECK(kUseBakerReadBarrier); in GenerateMarkingRegisterCheck()
|