/art/runtime/native/ |
D | java_lang_ref_Reference.cc | 34 const ObjPtr<mirror::Object> referent = in Reference_getReferent() local 36 return soa.AddLocalReference<jobject>(referent); in Reference_getReferent() 47 const ObjPtr<mirror::Object> referent = ref->template GetReferent<kWithoutReadBarrier>(); in Reference_refersTo0() local 48 if (referent == other) { in Reference_refersTo0() 51 if (!gUseReadBarrier || referent.IsNull() || other.IsNull()) { in Reference_refersTo0() 66 return gc::collector::ConcurrentCopying::GetFwdPtrUnchecked(referent.Ptr()) == other.Ptr() ? in Reference_refersTo0()
|
D | java_lang_ref_FinalizerReference.cc | 40 const ObjPtr<mirror::Object> referent = in FinalizerReference_getReferent() local 42 return soa.AddLocalReference<jobject>(referent); in FinalizerReference_getReferent()
|
/art/tools/ahat/src/test/com/android/ahat/ |
D | RiTest.java | 40 AhatInstance referent = ref.getReferent(); in finalizable() local 41 assertNotNull(referent); in finalizable() 42 assertEquals(Reachability.FINALIZER, referent.getReachability()); in finalizable()
|
D | NativeAllocationTest.java | 33 AhatInstance referent = dump.getDumpedAhatInstance("anObject"); in nativeAllocation() local 34 assertEquals(50000, referent.getSize().getRegisteredNativeSize()); in nativeAllocation()
|
D | InstanceTest.java | 200 AhatInstance referent = dump.getDumpedAhatInstance("anObject"); in basicReference() local 204 assertNotNull(referent); in basicReference() 205 assertEquals(referent, pref.getReferent()); in basicReference() 206 assertEquals(referent, wref.getReferent()); in basicReference() 208 assertNull(referent.getReferent()); in basicReference() 218 AhatInstance referent = ref.getReferent(); in unreachableReferent() local 219 assertNotNull(referent); in unreachableReferent() 220 assertEquals(Reachability.SOFT, referent.getReachability()); in unreachableReferent() 221 assertTrue(referent.isWeaklyReachable()); in unreachableReferent()
|
/art/test/2043-reference-pauses/src/ |
D | Main.java | 145 Integer referent = wr.get(); in timeUnreachableInner() local 147 if (referent == null) { in timeUnreachableInner() 152 if (referent != null && referent.intValue() != j) { in timeUnreachableInner() 154 + referent.intValue()); in timeUnreachableInner() 198 Integer referent = wr.get(); in timeReachable() local 201 if (referent == null) { in timeReachable() 203 } else if (referent.intValue() != j) { in timeReachable() 205 + referent.intValue()); in timeReachable()
|
/art/runtime/gc/ |
D | reference_processor.cc | 101 ObjPtr<mirror::Object> referent = reference->template GetReferent<kWithoutReadBarrier>(); in GetReferent() local 102 if (referent.IsNull()) { in GetReferent() 103 return referent; in GetReferent() 150 referent = reference->GetReferent<kWithoutReadBarrier>(); in GetReferent() 152 referent.IsNull() ? nullptr : collector_->IsMarked(referent.Ptr()); in GetReferent() 323 mirror::HeapReference<mirror::Object>* referent = ref->GetReferentReferenceAddr(); in DelayReferenceReferent() local 326 if (!collector->IsNullOrMarkedHeapReference(referent, /*do_atomic_update=*/true)) { in DelayReferenceReferent() 331 if (!referent->IsNull()) { in DelayReferenceReferent() 332 collector->MarkHeapReference(referent, /*do_atomic_update=*/ true); in DelayReferenceReferent()
|
D | reference_queue.cc | 93 ObjPtr<mirror::Object> referent = ref->GetReferent<kWithoutReadBarrier>(); in DisableReadBarrierForReference() local 95 if (referent != nullptr) { in DisableReadBarrierForReference() 96 CHECK(concurrent_copying->IsInToSpace(referent.Ptr())) in DisableReadBarrierForReference() 98 << " referent=" << referent; in DisableReadBarrierForReference()
|
/art/runtime/mirror/ |
D | reference-inl.h | 34 inline void Reference::SetReferent(ObjPtr<Object> referent) { in SetReferent() argument 35 SetFieldObjectVolatile<kTransactionActive>(ReferentOffset(), referent); in SetReferent()
|
D | reference.h | 72 void SetReferent(ObjPtr<Object> referent) REQUIRES_SHARED(Locks::mutator_lock_);
|
/art/tools/ahat/src/test-dump/ |
D | DumpedStuff.java | 120 public Object referent; field in DumpedStuff.Reference 122 public Reference(Object referent) { in Reference() argument 123 this.referent = referent; in Reference()
|
/art/tools/ahat/src/main/com/android/ahat/ |
D | Summarizer.java | 83 AhatInstance referent = inst.getReferent(); in summarize() local 84 if (referent != null) { in summarize() 90 formatted.append(summarize(referent)); in summarize()
|
/art/runtime/ |
D | reference_table.cc | 203 ObjPtr<mirror::Object> referent = ref->AsReference()->GetReferent(); in Dump() local 204 if (referent == nullptr) { in Dump() 207 extras = StringPrintf(" (referent is a %s)", referent->PrettyTypeOf().c_str()); in Dump() 253 ObjPtr<mirror::Object> referent = ref->AsReference()->GetReferent(); in Dump() local 254 if (referent != nullptr) { in Dump() 255 print_stack(referent, "Referent allocated at:"); in Dump()
|
D | reference_table_test.cc | 50 static ObjPtr<mirror::Object> CreateWeakReference(ObjPtr<mirror::Object> referent) in CreateWeakReference() argument 56 Handle<mirror::Object> h_referent(scope.NewHandle<mirror::Object>(referent)); in CreateWeakReference() 218 jobject referent = soa.Env()->AddLocalReference<jobject>(h_with_trace.Get()); in TEST_F() local 219 jobject result = soa.Env()->NewObject(weak_ref_class, init, referent); in TEST_F()
|
D | class_linker.cc | 1052 ArtField* referent = java_lang_ref_Reference->GetInstanceField(3); in FinishInit() local 1053 CHECK_STREQ(referent->GetName(), "referent"); in FinishInit() 1054 CHECK_STREQ(referent->GetTypeDescriptor(), "Ljava/lang/Object;"); in FinishInit()
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | AhatClassInstance.java | 338 Value referent = getField("referent"); in asRegisteredNativeAllocation() local 339 if (referent == null || !referent.isAhatInstance()) { in asRegisteredNativeAllocation() 344 rna.referent = referent.asAhatInstance(); in asRegisteredNativeAllocation()
|
D | AhatSnapshot.java | 60 nra.referent.addRegisteredNativeSize(nra.size); in AhatSnapshot()
|
D | AhatInstance.java | 599 public AhatInstance referent; field in AhatInstance.RegisteredNativeAllocation
|
/art/test/905-object-free/src/art/ |
D | Test905.java | 40 public void add(Object referent) { in add() argument 41 mList.add(new PhantomReference(referent, mQueue)); in add()
|
/art/runtime/gc/collector/ |
D | concurrent_copying.cc | 1453 mirror::Object* referent = in ScanDirtyObject() local 1455 if (referent != nullptr && !IsInToSpace(referent)) { in ScanDirtyObject() 2369 mirror::Object* referent = nullptr; in ProcessMarkStackRef() local 2371 (referent = to_ref->AsReference()->GetReferent<kWithoutReadBarrier>()) != nullptr && in ProcessMarkStackRef() 2372 !IsInToSpace(referent)))) { in ProcessMarkStackRef()
|
/art/runtime/interpreter/ |
D | unstarted_runtime.cc | 1454 const ObjPtr<mirror::Object> referent = in UnstartedReferenceGetReferent() local 1456 result->SetL(referent); in UnstartedReferenceGetReferent() 1469 const ObjPtr<mirror::Object> referent = in UnstartedReferenceRefersTo() local 1472 result->SetZ(o == referent); in UnstartedReferenceRefersTo()
|