Home
last modified time | relevance | path

Searched refs:kPoisonHeapReferences (Results 1 – 21 of 21) sorted by relevance

/art/runtime/
Dheap_poisoning.h32 static constexpr bool kPoisonHeapReferences = true; variable
34 static constexpr bool kPoisonHeapReferences = false;
Dcommon_runtime_test.h302 if (kRunningOnMemoryTool && kPoisonHeapReferences && !gUseReadBarrier) { \
/art/compiler/utils/arm64/
Dassembler_arm64.cc177 if (kPoisonHeapReferences) { in MaybePoisonHeapReference()
183 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()
/art/libartbase/base/
Dcommon_art_test.h338 if (kPoisonHeapReferences) { \
344 if (kRunningOnMemoryTool && kPoisonHeapReferences) { \
/art/runtime/mirror/
Dobject-inl.h676 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()
Dobject_reference.h171 using Compression = PtrCompression<kPoisonHeapReferences, MirrorType>;
/art/compiler/utils/arm/
Dassembler_arm_vixl.cc72 if (kPoisonHeapReferences) { in MaybePoisonHeapReference()
78 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()
/art/compiler/optimizing/
Dcode_generator_arm64.cc2337 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 …]
Dintrinsics_riscv64.cc2250 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()
Dcode_generator_x86_64.cc415 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()
Dscheduler_arm.cc1109 if (kPoisonHeapReferences && field_type == DataType::Type::kReference) { in HandleFieldSetLatencies()
Dcode_generator_x86.cc372 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()
Dcode_generator_riscv64.cc933 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()
Dcode_generator_arm_vixl.cc5968 } 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()
Dintrinsics_x86.cc2011 } 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()
Dintrinsics_x86_64.cc2078 } 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()
Dintrinsics_arm64.cc973 if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenUnsafePut()
4950 if (kPoisonHeapReferences && value_type == DataType::Type::kReference) { in GenerateVarHandleSet()
Dintrinsics_arm_vixl.cc2896 if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenerateIntrinsicSet()
/art/compiler/debug/
Delf_debug_info_writer.h357 if (kPoisonHeapReferences) { in Write()
/art/compiler/utils/x86/
Dassembler_x86.h986 if (kPoisonHeapReferences) { in MaybePoisonHeapReference()
992 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()
/art/compiler/utils/x86_64/
Dassembler_x86_64.h1102 if (kPoisonHeapReferences) { in MaybePoisonHeapReference()
1108 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()