/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/runtime/gc/ |
D | reference_processor.cc | 95 const ObjPtr<mirror::Object> referent = reference->GetReferent(); in GetReferent() local 98 if (UNLIKELY(!SlowPathEnabled()) || referent == nullptr) { in GetReferent() 99 return referent; in GetReferent() 105 ObjPtr<mirror::Object> referent = reference->GetReferent<kWithoutReadBarrier>(); in GetReferent() local 108 if (referent == nullptr) { in GetReferent() 123 ObjPtr<mirror::Object> forwarded_ref = collector_->IsMarked(referent.Ptr()); in GetReferent() 240 mirror::HeapReference<mirror::Object>* referent = ref->GetReferentReferenceAddr(); in DelayReferenceReferent() local 243 if (!collector->IsNullOrMarkedHeapReference(referent, /*do_atomic_update=*/true)) { in DelayReferenceReferent() 248 if (!referent->IsNull()) { in DelayReferenceReferent() 249 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 | 70 void SetReferent(ObjPtr<Object> referent) REQUIRES_SHARED(Locks::mutator_lock_);
|
/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()
|
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-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 | 45 static ObjPtr<mirror::Object> CreateWeakReference(ObjPtr<mirror::Object> referent) in CreateWeakReference() argument 51 Handle<mirror::Object> h_referent(scope.NewHandle<mirror::Object>(referent)); in CreateWeakReference() 219 jobject referent = soa.Env()->AddLocalReference<jobject>(h_with_trace.Get()); in TEST_F() local 220 jobject result = soa.Env()->NewObject(weak_ref_class, init, referent); in TEST_F()
|
D | class_linker.cc | 879 ArtField* referent = java_lang_ref_Reference->GetInstanceField(3); in FinishInit() local 880 CHECK_STREQ(referent->GetName(), "referent"); in FinishInit() 881 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 | 596 public AhatInstance referent; field in AhatInstance.RegisteredNativeAllocation
|
/art/test/905-object-free/src/art/ |
D | Test905.java | 38 public void add(Object referent) { in add() argument 39 mList.add(new PhantomReference(referent, mQueue)); in add()
|
/art/runtime/gc/collector/ |
D | concurrent_copying.cc | 1375 mirror::Object* referent = in ScanDirtyObject() local 1377 if (referent != nullptr && !IsInToSpace(referent)) { in ScanDirtyObject() 2242 mirror::Object* referent = nullptr; in ProcessMarkStackRef() local 2244 (referent = to_ref->AsReference()->GetReferent<kWithoutReadBarrier>()) != nullptr && in ProcessMarkStackRef() 2245 !IsInToSpace(referent)))) { in ProcessMarkStackRef()
|
/art/runtime/interpreter/ |
D | unstarted_runtime.cc | 1417 const ObjPtr<mirror::Object> referent = in UnstartedReferenceGetReferent() local 1419 result->SetL(referent); in UnstartedReferenceGetReferent()
|