Searched refs:referent (Results 1 - 5 of 5) sorted by relevance

/art/runtime/native/
H A Djava_lang_ref_Reference.cc31 mirror::Object* const referent = member in class:art::mirror
33 return soa.AddLocalReference<jobject>(referent);
/art/runtime/gc/
H A Dreference_processor.cc57 mirror::Object* const referent = reference->GetReferent(); member in class:art::gc::mirror
58 // If the referent is null then it is already cleared, we can just return null since there is no
60 if (UNLIKELY(!SlowPathEnabled()) || referent == nullptr) {
61 return referent;
67 // If the referent became cleared, return it. Don't need barrier since thread roots can't get
72 // Try to see if the referent is already marked by using the is_marked_callback. We can return
77 // If it's null it means not marked, but it could become marked if the referent is reachable
113 // We are done preserving references, some people who are blocked may see a marked referent.
164 // Clear all finalizer referent reachable soft and weak references with white referents.
188 // Process the "referent" fiel
196 mirror::HeapReference<mirror::Object>* referent = ref->GetReferentReferenceAddr(); local
[all...]
/art/runtime/mirror/
H A Dreference.h70 void SetReferent(Object* referent) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
71 SetFieldObjectVolatile<kTransactionActive>(ReferentOffset(), referent); local
78 // the java threads for cleared references. Once these cleared references have a null referent,
/art/patchoat/
H A Dpatchoat.cc551 mirror::Object* referent = obj->GetFieldObject<mirror::Object, kVerifyNone>(off); local
552 DCHECK(patcher_->InHeap(referent)) << "Referent is not in the heap.";
553 mirror::Object* moved_object = patcher_->RelocatedAddressOfPointer(referent);
560 mirror::Object* referent = ref->GetReferent(); local
561 DCHECK(patcher_->InHeap(referent)) << "Referent is not in the heap.";
562 mirror::Object* moved_object = patcher_->RelocatedAddressOfPointer(referent);
/art/runtime/
H A Dclass_linker.cc643 ArtField* referent = java_lang_ref_Reference->GetInstanceField(3); local
644 CHECK_STREQ(referent->GetName(), "referent");
645 CHECK_STREQ(referent->GetTypeDescriptor(), "Ljava/lang/Object;");
5190 // We lie to the GC about the java.lang.ref.Reference.referent field, so it doesn't scan it.
5193 // that 'referent' is alphabetically last, so this is easy...
5195 CHECK_STREQ(fields[num_fields - 1].GetName(), "referent") << PrettyClass(klass.Get());
5242 strcmp("referent", field->GetName()) == 0) {

Completed in 130 milliseconds