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.cc468 void SemiSpace::MarkHeapReference(mirror::HeapReference<mirror::Object>* obj_ptr, in MarkHeapReference() argument
470 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/libartbase/base/
Darray_slice.h151 uintptr_t obj_ptr = reinterpret_cast<uintptr_t>(element); in OffsetOf() local
152 return (obj_ptr - base_ptr) / element_size_; in OffsetOf()
/art/runtime/
Dclass_linker.cc1590 ObjPtr<mirror::Object> obj_ptr = in VisitInternedStringReferences() local
1594 obj_ptr->GetFieldObject<mirror::String, in VisitInternedStringReferences()
1602 obj_ptr->SetFieldObject</* kTransactionActive= */ false, in VisitInternedStringReferences()