/art/runtime/ |
D | heap_poisoning.h | 32 static constexpr bool kPoisonHeapReferences = true; variable 34 static constexpr bool kPoisonHeapReferences = false;
|
D | common_runtime_test.h | 241 if (kPoisonHeapReferences) { \ 247 if (kRunningOnMemoryTool && kPoisonHeapReferences && !kEmitCompilerReadBarrier) { \
|
/art/compiler/utils/arm64/ |
D | assembler_arm64.cc | 182 if (kPoisonHeapReferences) { in MaybePoisonHeapReference() 188 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()
|
/art/libartbase/base/ |
D | common_art_test.h | 278 if (kPoisonHeapReferences) { \ 285 if (kRunningOnMemoryTool && kPoisonHeapReferences) { \
|
/art/runtime/mirror/ |
D | object-inl.h | 691 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()
|
D | object_reference.h | 112 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/utils/x86/ |
D | assembler_x86.h | 782 if (kPoisonHeapReferences) { in MaybePoisonHeapReference() 788 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()
|
/art/compiler/optimizing/ |
D | code_generator_arm64.cc | 1945 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()
|
D | scheduler_arm.cc | 1000 if (kPoisonHeapReferences && needs_write_barrier) { in HandleFieldSetLatencies()
|
D | intrinsics_mips64.cc | 1036 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()
|
D | intrinsics_mips.cc | 1184 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()
|
D | intrinsics_x86_64.cc | 2007 } else if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenUnsafePut() 2151 if (kPoisonHeapReferences) { in GenCAS() 2186 if (kPoisonHeapReferences) { in GenCAS()
|
D | code_generator_x86_64.cc | 349 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()
|
D | intrinsics_x86.cc | 1898 } else if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenUnsafePut() 2052 if (kPoisonHeapReferences) { in GenCAS() 2087 if (kPoisonHeapReferences) { in GenCAS()
|
D | code_generator_arm_vixl.cc | 5367 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()
|
D | code_generator_x86.cc | 333 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()
|
D | code_generator_mips64.cc | 667 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()
|
D | code_generator_mips.cc | 715 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()
|
D | intrinsics_arm_vixl.cc | 854 if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenUnsafePut()
|
D | intrinsics_arm64.cc | 890 if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenUnsafePut()
|
/art/compiler/utils/x86_64/ |
D | assembler_x86_64.h | 901 if (kPoisonHeapReferences) { in MaybePoisonHeapReference() 907 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()
|
/art/compiler/debug/ |
D | elf_debug_info_writer.h | 356 if (kPoisonHeapReferences) { in Write()
|
/art/compiler/utils/mips64/ |
D | assembler_mips64.h | 912 if (kPoisonHeapReferences) { in MaybePoisonHeapReference() 918 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()
|
/art/compiler/utils/mips/ |
D | assembler_mips.h | 1135 if (kPoisonHeapReferences) { in MaybePoisonHeapReference() 1141 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()
|