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.h58 mirror::ObjectReference<kPoisonReferences, mirror::Object>* obj_ptr) { in MarkObject() argument
59 mirror::Object* obj = obj_ptr->AsMirrorPtr(); in MarkObject()
76 obj_ptr->Assign(forward_address); in MarkObject()
89 mirror::ObjectReference<kPoisonReferences, mirror::Object>* obj_ptr) { in MarkObjectIfNotInToSpace() argument
90 if (!to_space_->HasAddress(obj_ptr->AsMirrorPtr())) { in MarkObjectIfNotInToSpace()
91 MarkObject(obj_ptr); in MarkObjectIfNotInToSpace()
Dsemi_space.h103 void MarkObject(mirror::ObjectReference<kPoisonReferences, mirror::Object>* obj_ptr)
107 void MarkObjectIfNotInToSpace(mirror::ObjectReference<kPoisonReferences, mirror::Object>* obj_ptr)
113 virtual void MarkHeapReference(mirror::HeapReference<mirror::Object>* obj_ptr) OVERRIDE
Dmark_compact.cc276 void MarkCompact::MarkHeapReference(mirror::HeapReference<mirror::Object>* obj_ptr) { in MarkHeapReference() argument
278 UpdateHeapReference(obj_ptr); in MarkHeapReference()
280 MarkObject(obj_ptr->AsMirrorPtr()); in MarkHeapReference()
Dmark_compact.h173 virtual void MarkHeapReference(mirror::HeapReference<mirror::Object>* obj_ptr) OVERRIDE
Dsemi_space.cc626 void SemiSpace::MarkHeapReference(mirror::HeapReference<mirror::Object>* obj_ptr) { in MarkHeapReference() argument
627 MarkObject(obj_ptr); in MarkHeapReference()
/art/runtime/gc/space/
Drosalloc_space-inl.h47 const uint8_t* obj_ptr = reinterpret_cast<const uint8_t*>(obj); in AllocationSizeNonvirtual() local
49 obj_ptr - (add_redzones ? kDefaultMemoryToolRedZoneBytes : 0)); in AllocationSizeNonvirtual()
52 << " at " << std::hex << reinterpret_cast<intptr_t>(obj_ptr) << std::dec in AllocationSizeNonvirtual()
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()
/art/runtime/gc/accounting/
Dmod_union_table.cc117 void MarkReference(mirror::ObjectReference<kPoisonReferences, mirror::Object>* obj_ptr) const in MarkReference()
120 mirror::Object* ref = obj_ptr->AsMirrorPtr(); in MarkReference()
125 obj_ptr->Assign(new_object); in MarkReference()
336 for (mirror::HeapReference<mirror::Object>* obj_ptr : ref_pair.second) { in Verify()
337 reference_set.insert(obj_ptr->AsMirrorPtr()); in Verify()
416 for (mirror::HeapReference<mirror::Object>* obj_ptr : references) { in UpdateAndMarkReferences()
417 if (obj_ptr->AsMirrorPtr() != nullptr) { in UpdateAndMarkReferences()
419 visitor->MarkHeapReference(obj_ptr); in UpdateAndMarkReferences()