Home | History | Annotate | Download | only in gc

Lines Matching defs:referent

70     ObjPtr<mirror::Object> const referent = reference->GetReferent();
71 // If the referent is null then it is already cleared, we can just return null since there is no
73 if (UNLIKELY(!SlowPathEnabled()) || referent == nullptr) {
74 return referent;
80 ObjPtr<mirror::Object> referent = reference->GetReferent<kWithoutReadBarrier>();
81 // If the referent became cleared, return it. Don't need barrier since thread roots can't get
83 if (referent == nullptr) {
86 // Try to see if the referent is already marked by using the is_marked_callback. We can return
89 // If it's null it means not marked, but it could become marked if the referent is reachable
95 // Use the cached referent instead of calling GetReferent since other threads could call
98 ObjPtr<mirror::Object> forwarded_ref = collector_->IsMarked(referent.Ptr());
123 // We are done preserving references, some people who are blocked may see a marked referent.
183 // Clear all finalizer referent reachable soft and weak references with white referents.
207 // Process the "referent" field in a java.lang.ref.Reference. If the referent has not yet been
215 mirror::HeapReference<mirror::Object>* referent = ref->GetReferentReferenceAddr();
218 if (!collector->IsNullOrMarkedHeapReference(referent, /*do_atomic_update*/true)) {
220 // In transaction mode, keep the referent alive and avoid any reference processing to avoid the
223 if (!referent->IsNull()) {
224 collector->MarkHeapReference(referent, /*do_atomic_update*/ true);
298 // This also handles the race where the referent gets cleared after a null check but before