Home
last modified time | relevance | path

Searched refs:obj_ptr (Results 1 – 8 of 8) sorted by relevance

/art/runtime/gc/collector/
Dsemi_space-inl.h42 inline void SemiSpace::MarkObject(CompressedReferenceType* obj_ptr) { in MarkObject() argument
43 mirror::Object* obj = obj_ptr->AsMirrorPtr(); in MarkObject()
60 obj_ptr->Assign(forward_address); in MarkObject()
76 inline void SemiSpace::MarkObjectIfNotInToSpace(CompressedReferenceType* obj_ptr) { in MarkObjectIfNotInToSpace() argument
77 if (!to_space_->HasAddress(obj_ptr->AsMirrorPtr())) { in MarkObjectIfNotInToSpace()
78 MarkObject(obj_ptr); in MarkObjectIfNotInToSpace()
Dsemi_space.h102 void MarkObject(CompressedReferenceType* obj_ptr)
106 void MarkObjectIfNotInToSpace(CompressedReferenceType* obj_ptr)
112 void MarkHeapReference(mirror::HeapReference<mirror::Object>* obj_ptr,
Dsemi_space.cc612 void SemiSpace::MarkHeapReference(mirror::HeapReference<mirror::Object>* obj_ptr, in MarkHeapReference() argument
614 MarkObject(obj_ptr); in MarkHeapReference()
/art/runtime/gc/space/
Ddlmalloc_space-inl.h46 void* obj_ptr = const_cast<void*>(reinterpret_cast<const void*>(obj)); in AllocationSizeNonvirtual() local
47 size_t size = mspace_usable_size(obj_ptr); in AllocationSizeNonvirtual()
Drosalloc_space.cc465 const uint8_t* obj_ptr = reinterpret_cast<const uint8_t*>(obj); in AllocationSizeNonvirtual() local
467 obj_ptr - (add_redzones ? kDefaultMemoryToolRedZoneBytes : 0)); in AllocationSizeNonvirtual()
470 << " at " << std::hex << reinterpret_cast<intptr_t>(obj_ptr) << std::dec in AllocationSizeNonvirtual()
/art/runtime/gc/accounting/
Dmod_union_table.cc120 void MarkReference(CompressedReferenceType* obj_ptr) const in MarkReference()
123 mirror::Object* ref = obj_ptr->AsMirrorPtr(); in MarkReference()
128 obj_ptr->Assign(new_object); in MarkReference()
357 for (mirror::HeapReference<mirror::Object>* obj_ptr : ref_pair.second) { in Verify()
358 reference_set.insert(obj_ptr->AsMirrorPtr()); in Verify()
462 for (mirror::HeapReference<mirror::Object>* obj_ptr : references) { in UpdateAndMarkReferences()
463 if (obj_ptr->AsMirrorPtr() != nullptr) { in UpdateAndMarkReferences()
465 visitor->MarkHeapReference(obj_ptr, /*do_atomic_update=*/ false); in UpdateAndMarkReferences()
/art/dex2oat/linker/
Dimage_writer.cc336 auto* obj_ptr = reinterpret_cast<mirror::Object*>(ClearDexCacheNativeRefTags( in PrepareImageAddressSpace() local
338 base_offset = SetDexCacheStringNativeRefTag(GetImageOffset(obj_ptr)); in PrepareImageAddressSpace()
341 auto* obj_ptr = reinterpret_cast<mirror::Object*>(ClearDexCacheNativeRefTags( in PrepareImageAddressSpace() local
343 base_offset = SetDexCachePreResolvedStringNativeRefTag(GetImageOffset(obj_ptr)); in PrepareImageAddressSpace()
/art/runtime/
Dclass_linker.cc1636 ObjPtr<mirror::Object> obj_ptr = in UpdateInternStrings() local
1640 obj_ptr->GetFieldObject<mirror::String, in UpdateInternStrings()
1648 obj_ptr->SetFieldObject</* kTransactionActive= */ false, in UpdateInternStrings()
1653 obj_ptr->SetFieldObject</* kTransactionActive= */ false, in UpdateInternStrings()