/art/runtime/ |
D | heap_poisoning.h | 32 static constexpr bool kPoisonHeapReferences = true; variable 34 static constexpr bool kPoisonHeapReferences = false;
|
D | common_runtime_test.h | 302 if (kRunningOnMemoryTool && kPoisonHeapReferences && !gUseReadBarrier) { \
|
/art/compiler/utils/arm64/ |
D | assembler_arm64.cc | 177 if (kPoisonHeapReferences) { in MaybePoisonHeapReference() 183 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()
|
/art/libartbase/base/ |
D | common_art_test.h | 338 if (kPoisonHeapReferences) { \ 344 if (kRunningOnMemoryTool && kPoisonHeapReferences) { \
|
/art/runtime/mirror/ |
D | object-inl.h | 676 uint32_t old_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(old_value)); in CasFieldObjectWithoutWriteBarrier() 677 uint32_t new_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(new_value)); in CasFieldObjectWithoutWriteBarrier() 712 uint32_t old_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(old_value)); in CompareAndExchangeFieldObject() 713 uint32_t new_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(new_value)); in CompareAndExchangeFieldObject() 717 ObjPtr<Object> witness_value(PtrCompression<kPoisonHeapReferences, Object>::Decompress(old_ref)); in CompareAndExchangeFieldObject() 739 uint32_t new_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(new_value)); in ExchangeFieldObject() 743 ObjPtr<Object> old_value(PtrCompression<kPoisonHeapReferences, Object>::Decompress(old_ref)); in ExchangeFieldObject()
|
D | object_reference.h | 171 using Compression = PtrCompression<kPoisonHeapReferences, MirrorType>;
|
/art/compiler/utils/arm/ |
D | assembler_arm_vixl.cc | 72 if (kPoisonHeapReferences) { in MaybePoisonHeapReference() 78 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()
|
/art/compiler/optimizing/ |
D | code_generator_arm64.cc | 2337 if (kPoisonHeapReferences && field_type == DataType::Type::kReference) { in HandleFieldSet() 2963 if (kPoisonHeapReferences && value_type == DataType::Type::kReference) { in VisitArraySet() 3072 if (kPoisonHeapReferences) { in VisitArraySet() 6918 (kPoisonHeapReferences ? 4u : 3u) * vixl::aarch64::kInstructionSize); in GenerateFieldLoadWithBakerReadBarrier() 6922 static_assert(BAKER_MARK_INTROSPECTION_FIELD_LDR_OFFSET == (kPoisonHeapReferences ? -8 : -4), in GenerateFieldLoadWithBakerReadBarrier() 6937 if (kPoisonHeapReferences) { in GenerateFieldLoadWithBakerReadBarrier() 7033 (kPoisonHeapReferences ? 4u : 3u) * vixl::aarch64::kInstructionSize); in GenerateArrayLoadWithBakerReadBarrier() 7037 static_assert(BAKER_MARK_INTROSPECTION_ARRAY_LDR_OFFSET == (kPoisonHeapReferences ? -8 : -4), in GenerateArrayLoadWithBakerReadBarrier() 7044 if (kPoisonHeapReferences) { in GenerateArrayLoadWithBakerReadBarrier() 7115 } else if (kPoisonHeapReferences) { in MaybeGenerateReadBarrierSlow() [all …]
|
D | intrinsics_riscv64.cc | 2250 if (kPoisonHeapReferences && invoke->InputAt(3)->GetType() == DataType::Type::kReference) { in CreateUnsafePutLocations() 2270 XRegister address = (kPoisonHeapReferences && type == DataType::Type::kReference) in GenUnsafePut() 2646 if (kPoisonHeapReferences) { in VisitJdkUnsafeCompareAndSetReference() 2812 if (kPoisonHeapReferences) { in VisitJdkUnsafeGetAndSetReference() 3632 if (kPoisonHeapReferences && invoke->GetLocations() != nullptr) { in CreateVarHandleSetLocations() 3666 (kPoisonHeapReferences && value_type == DataType::Type::kReference && !value.IsConstant()) in GenerateVarHandleSet() 3764 if (kPoisonHeapReferences && value_type == DataType::Type::kReference) { in CreateVarHandleCompareAndSetOrExchangeLocations() 4184 if (kPoisonHeapReferences && invoke->GetType() == DataType::Type::kReference) { in CreateVarHandleGetAndUpdateLocations()
|
D | code_generator_x86_64.cc | 415 if (kPoisonHeapReferences && in EmitNativeCode() 724 if (kPoisonHeapReferences) { in EmitNativeCode() 752 if (kPoisonHeapReferences) { in EmitNativeCode() 5369 (kPoisonHeapReferences && field_type == DataType::Type::kReference)) { in HandleFieldSet() 5511 if (kPoisonHeapReferences && field_type == DataType::Type::kReference) { in HandleFieldSet() 5881 } else if ((kPoisonHeapReferences && value_type == DataType::Type::kReference) || in VisitArraySet() 6040 if (kPoisonHeapReferences) { in VisitArraySet() 7324 __ j(kNegative, (zero.IsLinked() && !kPoisonHeapReferences) ? &zero : &end); in VisitInstanceOf() 7334 if (kPoisonHeapReferences) { in VisitInstanceOf() 8122 } else if (kPoisonHeapReferences) { in MaybeGenerateReadBarrierSlow()
|
D | scheduler_arm.cc | 1109 if (kPoisonHeapReferences && field_type == DataType::Type::kReference) { in HandleFieldSetLatencies()
|
D | code_generator_x86.cc | 372 if (kPoisonHeapReferences && in EmitNativeCode() 676 if (kPoisonHeapReferences) { in EmitNativeCode() 704 if (kPoisonHeapReferences) { in EmitNativeCode() 6091 } else if (kPoisonHeapReferences && field_type == DataType::Type::kReference) { in HandleFieldSet() 6140 if (kPoisonHeapReferences && field_type == DataType::Type::kReference) { in HandleFieldSet() 6563 } else if ((kPoisonHeapReferences && value_type == DataType::Type::kReference) || in VisitArraySet() 6720 if (kPoisonHeapReferences) { in VisitArraySet() 7982 __ j(kNegative, (zero.IsLinked() && !kPoisonHeapReferences) ? &zero : &end); in VisitInstanceOf() 7992 if (kPoisonHeapReferences) { in VisitInstanceOf() 8800 } else if (kPoisonHeapReferences) { in MaybeGenerateReadBarrierSlow()
|
D | code_generator_riscv64.cc | 933 if (kPoisonHeapReferences && type == DataType::Type::kReference && !value.IsConstant()) { in Store() 987 if (kPoisonHeapReferences && type == DataType::Type::kReference && !value.IsConstant()) { in StoreSeqCst() 1985 } else if (kPoisonHeapReferences) { in MaybeGenerateReadBarrierSlow() 2925 if (kPoisonHeapReferences && in VisitArraySet() 3044 (kPoisonHeapReferences && value_type == DataType::Type::kReference && !value.IsConstant()) in VisitArraySet() 7035 if (kPoisonHeapReferences) { in MaybePoisonHeapReference() 7041 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()
|
D | code_generator_arm_vixl.cc | 5968 } else if (kPoisonHeapReferences && field_type == DataType::Type::kReference) { in HandleFieldSet() 6011 if (kPoisonHeapReferences) { in HandleFieldSet() 6870 } else if (kPoisonHeapReferences && value_type == DataType::Type::kReference) { in VisitArraySet() 7060 if (kPoisonHeapReferences) { in VisitArraySet() 9257 /* LDR+unpoison? */ (narrow ? (kPoisonHeapReferences ? 2u : 1u) : 0u); in GenerateFieldLoadWithBakerReadBarrier() 9259 /* ADR+CMP+LDR+BNE+unpoison? */ (kPoisonHeapReferences ? 5u : 4u) - narrow_instructions; in GenerateFieldLoadWithBakerReadBarrier() 9273 if (kPoisonHeapReferences) { in GenerateFieldLoadWithBakerReadBarrier() 9354 /* ADR+CMP+BNE+LDR+unpoison? */ (kPoisonHeapReferences ? 5u : 4u) - narrow_instructions; in GenerateArrayLoadWithBakerReadBarrier() 9366 if (kPoisonHeapReferences) { in GenerateArrayLoadWithBakerReadBarrier() 9441 } else if (kPoisonHeapReferences) { in MaybeGenerateReadBarrierSlow()
|
D | intrinsics_x86.cc | 2011 } else if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenUnsafePut() 2326 if (kPoisonHeapReferences) { in GenReferenceCAS() 2371 if (kPoisonHeapReferences) { in GenReferenceCAS() 2634 if (kPoisonHeapReferences) { in GenUnsafeGetAndUpdate() 4340 if (kPoisonHeapReferences) { in GenerateVarHandleGetAndSet()
|
D | intrinsics_x86_64.cc | 2078 } else if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenUnsafePut() 2413 if (kPoisonHeapReferences) { in GenCompareAndSetOrExchangeRef() 2444 if (kPoisonHeapReferences) { in GenCompareAndSetOrExchangeRef() 2705 if (kPoisonHeapReferences) { in GenUnsafeGetAndUpdate() 4449 if (kPoisonHeapReferences) { in GenerateVarHandleGetAndSet()
|
D | intrinsics_arm64.cc | 973 if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenUnsafePut() 4950 if (kPoisonHeapReferences && value_type == DataType::Type::kReference) { in GenerateVarHandleSet()
|
D | intrinsics_arm_vixl.cc | 2896 if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenerateIntrinsicSet()
|
/art/compiler/debug/ |
D | elf_debug_info_writer.h | 357 if (kPoisonHeapReferences) { in Write()
|
/art/compiler/utils/x86/ |
D | assembler_x86.h | 986 if (kPoisonHeapReferences) { in MaybePoisonHeapReference() 992 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()
|
/art/compiler/utils/x86_64/ |
D | assembler_x86_64.h | 1102 if (kPoisonHeapReferences) { in MaybePoisonHeapReference() 1108 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()
|