Home
last modified time | relevance | path

Searched refs:kPoisonHeapReferences (Results 1 – 20 of 20) 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 (kPoisonHeapReferences) { \
308 if (kRunningOnMemoryTool && kPoisonHeapReferences && !kEmitCompilerReadBarrier) { \
/art/compiler/utils/arm64/
Dassembler_arm64.cc174 if (kPoisonHeapReferences) { in MaybePoisonHeapReference()
180 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()
/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/libartbase/base/
Dcommon_art_test.h346 if (kPoisonHeapReferences) { \
353 if (kRunningOnMemoryTool && kPoisonHeapReferences) { \
/art/compiler/utils/arm/
Dassembler_arm_vixl.cc72 if (kPoisonHeapReferences) { in MaybePoisonHeapReference()
78 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()
/art/compiler/utils/x86/
Dassembler_x86.h844 if (kPoisonHeapReferences) { in MaybePoisonHeapReference()
850 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()
/art/runtime/interpreter/mterp/
Dnterp.cc36 return !kPoisonHeapReferences && kUseReadBarrier; in IsNterpSupported()
/art/compiler/debug/
Delf_debug_info_writer.h356 if (kPoisonHeapReferences) { in Write()
/art/compiler/optimizing/
Dcode_generator_arm64.cc2093 if (kPoisonHeapReferences && field_type == DataType::Type::kReference) { in HandleFieldSet()
2782 if (kPoisonHeapReferences) { in VisitArraySet()
6385 (kPoisonHeapReferences ? 4u : 3u) * vixl::aarch64::kInstructionSize); in GenerateFieldLoadWithBakerReadBarrier()
6389 static_assert(BAKER_MARK_INTROSPECTION_FIELD_LDR_OFFSET == (kPoisonHeapReferences ? -8 : -4), in GenerateFieldLoadWithBakerReadBarrier()
6404 if (kPoisonHeapReferences) { in GenerateFieldLoadWithBakerReadBarrier()
6501 (kPoisonHeapReferences ? 4u : 3u) * vixl::aarch64::kInstructionSize); in GenerateArrayLoadWithBakerReadBarrier()
6505 static_assert(BAKER_MARK_INTROSPECTION_ARRAY_LDR_OFFSET == (kPoisonHeapReferences ? -8 : -4), in GenerateArrayLoadWithBakerReadBarrier()
6512 if (kPoisonHeapReferences) { in GenerateArrayLoadWithBakerReadBarrier()
6573 } else if (kPoisonHeapReferences) { in MaybeGenerateReadBarrierSlow()
6702 static_assert(BAKER_MARK_INTROSPECTION_FIELD_LDR_OFFSET == (kPoisonHeapReferences ? -8 : -4), in EmitGrayCheckAndFastPath()
Dscheduler_arm.cc1000 if (kPoisonHeapReferences && needs_write_barrier) { in HandleFieldSetLatencies()
Dintrinsics_x86_64.cc1949 } else if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenUnsafePut()
2093 if (kPoisonHeapReferences) { in GenCAS()
2128 if (kPoisonHeapReferences) { in GenCAS()
Dcode_generator_x86_64.cc352 if (kPoisonHeapReferences && in EmitNativeCode()
660 if (kPoisonHeapReferences) { in EmitNativeCode()
688 if (kPoisonHeapReferences) { in EmitNativeCode()
4934 } else if (kPoisonHeapReferences && field_type == DataType::Type::kReference) { in HandleFieldSet()
4992 if (kPoisonHeapReferences && field_type == DataType::Type::kReference) { in HandleFieldSet()
5513 if (kPoisonHeapReferences) { in VisitArraySet()
7458 } else if (kPoisonHeapReferences) { in MaybeGenerateReadBarrierSlow()
Dintrinsics_x86.cc1853 } else if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenUnsafePut()
2007 if (kPoisonHeapReferences) { in GenCAS()
2042 if (kPoisonHeapReferences) { in GenCAS()
Dcode_generator_arm_vixl.cc5720 if (kPoisonHeapReferences && needs_write_barrier) { in HandleFieldSet()
6718 if (kPoisonHeapReferences) { in VisitArraySet()
8831 /* LDR+unpoison? */ (narrow ? (kPoisonHeapReferences ? 2u : 1u) : 0u); in GenerateFieldLoadWithBakerReadBarrier()
8833 /* ADR+CMP+LDR+BNE+unpoison? */ (kPoisonHeapReferences ? 5u : 4u) - narrow_instructions; in GenerateFieldLoadWithBakerReadBarrier()
8847 if (kPoisonHeapReferences) { in GenerateFieldLoadWithBakerReadBarrier()
8929 /* ADR+CMP+BNE+LDR+unpoison? */ (kPoisonHeapReferences ? 5u : 4u) - narrow_instructions; in GenerateArrayLoadWithBakerReadBarrier()
8941 if (kPoisonHeapReferences) { in GenerateArrayLoadWithBakerReadBarrier()
9005 } else if (kPoisonHeapReferences) { in MaybeGenerateReadBarrierSlow()
Dcode_generator_x86.cc336 if (kPoisonHeapReferences && in EmitNativeCode()
640 if (kPoisonHeapReferences) { in EmitNativeCode()
668 if (kPoisonHeapReferences) { in EmitNativeCode()
5617 if (kPoisonHeapReferences && needs_write_barrier) { in HandleFieldSet()
6167 if (kPoisonHeapReferences) { in VisitArraySet()
8179 } else if (kPoisonHeapReferences) { in MaybeGenerateReadBarrierSlow()
Dintrinsics_arm_vixl.cc804 if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenUnsafePut()
Dintrinsics_arm64.cc824 if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenUnsafePut()
/art/compiler/utils/x86_64/
Dassembler_x86_64.h963 if (kPoisonHeapReferences) { in MaybePoisonHeapReference()
969 if (kPoisonHeapReferences) { in MaybeUnpoisonHeapReference()