Home
last modified time | relevance | path

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

/art/runtime/
Dheap_poisoning.h32 static constexpr bool kPoisonHeapReferences = true; variable
34 static constexpr bool kPoisonHeapReferences = false;
Dcommon_runtime_test.h241 if (kPoisonHeapReferences) { \
247 if (kRunningOnMemoryTool && kPoisonHeapReferences && !kEmitCompilerReadBarrier) { \
/art/compiler/utils/arm64/
Dassembler_arm64.cc182 if (kPoisonHeapReferences) { in MaybePoisonHeapReference()
188 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()
/art/libartbase/base/
Dcommon_art_test.h278 if (kPoisonHeapReferences) { \
285 if (kRunningOnMemoryTool && kPoisonHeapReferences) { \
/art/runtime/mirror/
Dobject-inl.h691 uint32_t old_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(old_value)); in CasFieldObjectWithoutWriteBarrier()
692 uint32_t new_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(new_value)); in CasFieldObjectWithoutWriteBarrier()
722 uint32_t old_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(old_value)); in CompareAndExchangeFieldObject()
723 uint32_t new_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(new_value)); in CompareAndExchangeFieldObject()
727 ObjPtr<Object> witness_value(PtrCompression<kPoisonHeapReferences, Object>::Decompress(old_ref)); in CompareAndExchangeFieldObject()
748 uint32_t new_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(new_value)); in ExchangeFieldObject()
752 ObjPtr<Object> old_value(PtrCompression<kPoisonHeapReferences, Object>::Decompress(old_ref)); in ExchangeFieldObject()
Dobject_reference.h112 using Compression = PtrCompression<kPoisonHeapReferences, MirrorType>;
/art/compiler/utils/arm/
Dassembler_arm_vixl.cc72 if (kPoisonHeapReferences) { in MaybePoisonHeapReference()
78 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()
/art/compiler/utils/x86/
Dassembler_x86.h782 if (kPoisonHeapReferences) { in MaybePoisonHeapReference()
788 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()
/art/compiler/optimizing/
Dcode_generator_arm64.cc1945 if (kPoisonHeapReferences && field_type == DataType::Type::kReference) { in HandleFieldSet()
2651 if (kPoisonHeapReferences) { in VisitArraySet()
5909 (kPoisonHeapReferences ? 4u : 3u) * vixl::aarch64::kInstructionSize); in GenerateFieldLoadWithBakerReadBarrier()
5913 static_assert(BAKER_MARK_INTROSPECTION_FIELD_LDR_OFFSET == (kPoisonHeapReferences ? -8 : -4), in GenerateFieldLoadWithBakerReadBarrier()
5928 if (kPoisonHeapReferences) { in GenerateFieldLoadWithBakerReadBarrier()
6025 (kPoisonHeapReferences ? 4u : 3u) * vixl::aarch64::kInstructionSize); in GenerateArrayLoadWithBakerReadBarrier()
6029 static_assert(BAKER_MARK_INTROSPECTION_ARRAY_LDR_OFFSET == (kPoisonHeapReferences ? -8 : -4), in GenerateArrayLoadWithBakerReadBarrier()
6036 if (kPoisonHeapReferences) { in GenerateArrayLoadWithBakerReadBarrier()
6097 } else if (kPoisonHeapReferences) { in MaybeGenerateReadBarrierSlow()
6193 static_assert(BAKER_MARK_INTROSPECTION_FIELD_LDR_OFFSET == (kPoisonHeapReferences ? -8 : -4), in EmitGrayCheckAndFastPath()
Dscheduler_arm.cc1000 if (kPoisonHeapReferences && needs_write_barrier) { in HandleFieldSetLatencies()
Dintrinsics_mips64.cc1036 if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenUnsafePut()
1249 if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenCas()
1295 if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenCas()
Dintrinsics_mips.cc1184 if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenUnsafePut()
1403 if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenCas()
1453 if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenCas()
Dintrinsics_x86_64.cc2007 } else if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenUnsafePut()
2151 if (kPoisonHeapReferences) { in GenCAS()
2186 if (kPoisonHeapReferences) { in GenCAS()
Dcode_generator_x86_64.cc349 if (kPoisonHeapReferences && in EmitNativeCode()
657 if (kPoisonHeapReferences) { in EmitNativeCode()
685 if (kPoisonHeapReferences) { in EmitNativeCode()
4721 } else if (kPoisonHeapReferences && field_type == DataType::Type::kReference) { in HandleFieldSet()
4779 if (kPoisonHeapReferences && field_type == DataType::Type::kReference) { in HandleFieldSet()
5285 if (kPoisonHeapReferences) { in VisitArraySet()
7227 } else if (kPoisonHeapReferences) { in MaybeGenerateReadBarrierSlow()
Dintrinsics_x86.cc1898 } else if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenUnsafePut()
2052 if (kPoisonHeapReferences) { in GenCAS()
2087 if (kPoisonHeapReferences) { in GenCAS()
Dcode_generator_arm_vixl.cc5367 if (kPoisonHeapReferences && needs_write_barrier) { in HandleFieldSet()
6350 if (kPoisonHeapReferences) { in VisitArraySet()
8462 /* LDR+unpoison? */ (narrow ? (kPoisonHeapReferences ? 2u : 1u) : 0u); in GenerateFieldLoadWithBakerReadBarrier()
8464 /* ADR+CMP+LDR+BNE+unpoison? */ (kPoisonHeapReferences ? 5u : 4u) - narrow_instructions; in GenerateFieldLoadWithBakerReadBarrier()
8478 if (kPoisonHeapReferences) { in GenerateFieldLoadWithBakerReadBarrier()
8560 /* ADR+CMP+BNE+LDR+unpoison? */ (kPoisonHeapReferences ? 5u : 4u) - narrow_instructions; in GenerateArrayLoadWithBakerReadBarrier()
8572 if (kPoisonHeapReferences) { in GenerateArrayLoadWithBakerReadBarrier()
8636 } else if (kPoisonHeapReferences) { in MaybeGenerateReadBarrierSlow()
Dcode_generator_x86.cc333 if (kPoisonHeapReferences && in EmitNativeCode()
637 if (kPoisonHeapReferences) { in EmitNativeCode()
665 if (kPoisonHeapReferences) { in EmitNativeCode()
5394 if (kPoisonHeapReferences && needs_write_barrier) { in HandleFieldSet()
5929 if (kPoisonHeapReferences) { in VisitArraySet()
7921 } else if (kPoisonHeapReferences) { in MaybeGenerateReadBarrierSlow()
Dcode_generator_mips64.cc667 if (kPoisonHeapReferences) { in EmitNativeCode()
692 if (kPoisonHeapReferences) { in EmitNativeCode()
2758 if (kPoisonHeapReferences) { in VisitArraySet()
5040 if (kPoisonHeapReferences && needs_write_barrier) { in HandleFieldSet()
5621 } else if (kPoisonHeapReferences) { in MaybeGenerateReadBarrierSlow()
Dcode_generator_mips.cc715 if (kPoisonHeapReferences) { in EmitNativeCode()
746 if (kPoisonHeapReferences) { in EmitNativeCode()
3177 if (kPoisonHeapReferences) { in VisitArraySet()
6863 if (kPoisonHeapReferences && needs_write_barrier) { in HandleFieldSet()
7505 } else if (kPoisonHeapReferences) { in MaybeGenerateReadBarrierSlow()
Dintrinsics_arm_vixl.cc854 if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenUnsafePut()
Dintrinsics_arm64.cc890 if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenUnsafePut()
/art/compiler/utils/x86_64/
Dassembler_x86_64.h901 if (kPoisonHeapReferences) { in MaybePoisonHeapReference()
907 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()
/art/compiler/debug/
Delf_debug_info_writer.h356 if (kPoisonHeapReferences) { in Write()
/art/compiler/utils/mips64/
Dassembler_mips64.h912 if (kPoisonHeapReferences) { in MaybePoisonHeapReference()
918 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()
/art/compiler/utils/mips/
Dassembler_mips.h1135 if (kPoisonHeapReferences) { in MaybePoisonHeapReference()
1141 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()