Home
last modified time | relevance | path

Searched refs:from_ref (Results 1 – 3 of 3) sorted by relevance

/art/runtime/gc/collector/
Dconcurrent_copying-inl.h31 inline mirror::Object* ConcurrentCopying::Mark(mirror::Object* from_ref) { in Mark() argument
32 if (from_ref == nullptr) { in Mark()
48 return from_ref; in Mark()
51 space::RegionSpace::RegionType rtype = region_space_->GetRegionType(from_ref); in Mark()
55 return from_ref; in Mark()
57 mirror::Object* to_ref = GetFwdPtr(from_ref); in Mark()
60 << "from_ref=" << from_ref << " to_ref=" << to_ref; in Mark()
64 to_ref = Copy(from_ref); in Mark()
67 << "from_ref=" << from_ref << " to_ref=" << to_ref; in Mark()
73 from_ref->AtomicSetReadBarrierPointer(ReadBarrier::WhitePtr(), ReadBarrier::GrayPtr()); in Mark()
[all …]
Dconcurrent_copying.h96 ALWAYS_INLINE mirror::Object* Mark(mirror::Object* from_ref) SHARED_REQUIRES(Locks::mutator_lock_)
116 mirror::Object* Copy(mirror::Object* from_ref) SHARED_REQUIRES(Locks::mutator_lock_)
149 virtual mirror::Object* MarkObject(mirror::Object* from_ref) OVERRIDE
151 virtual void MarkHeapReference(mirror::HeapReference<mirror::Object>* from_ref) OVERRIDE
153 virtual mirror::Object* IsMarked(mirror::Object* from_ref) OVERRIDE
172 mirror::Object* GetFwdPtr(mirror::Object* from_ref)
186 mirror::Object* MarkNonMoving(mirror::Object* from_ref) SHARED_REQUIRES(Locks::mutator_lock_)
Dconcurrent_copying.cc81 void ConcurrentCopying::MarkHeapReference(mirror::HeapReference<mirror::Object>* from_ref) { in MarkHeapReference() argument
85 from_ref->Assign(Mark(from_ref->AsMirrorPtr())); in MarkHeapReference()
86 DCHECK(!from_ref->IsNull()); in MarkHeapReference()
1786 mirror::Object* ConcurrentCopying::Copy(mirror::Object* from_ref) { in Copy() argument
1787 DCHECK(region_space_->IsInFromSpace(from_ref)); in Copy()
1791 size_t obj_size = from_ref->SizeOf<kDefaultVerifyFlags, kWithoutReadBarrier>(); in Copy()
1840 memcpy(to_ref, from_ref, obj_size); in Copy()
1893 bool success = from_ref->CasLockWordWeakSequentiallyConsistent(old_lock_word, new_lock_word); in Copy()
1907 DCHECK(GetFwdPtr(from_ref) == to_ref); in Copy()
1918 mirror::Object* ConcurrentCopying::IsMarked(mirror::Object* from_ref) { in IsMarked() argument
[all …]