/art/runtime/mirror/ |
D | reference.h | 44 class MANAGED Reference : public Object { 51 return sizeof(Reference); in InstanceSize() 55 return OFFSET_OF_OBJECT_MEMBER(Reference, pending_next_); in PendingNextOffset() 58 return OFFSET_OF_OBJECT_MEMBER(Reference, queue_); in QueueOffset() 61 return OFFSET_OF_OBJECT_MEMBER(Reference, queue_next_); in QueueNextOffset() 64 return OFFSET_OF_OBJECT_MEMBER(Reference, referent_); in ReferentOffset() 79 Reference* GetPendingNext() REQUIRES_SHARED(Locks::mutator_lock_) { in GetPendingNext() 80 return GetFieldObject<Reference, kDefaultVerifyFlags, kReadBarrierOption>(PendingNextOffset()); in GetPendingNext() 83 void SetPendingNext(ObjPtr<Reference> pending_next) REQUIRES_SHARED(Locks::mutator_lock_); 114 HeapReference<Reference> pending_next_; [all …]
|
D | reference-inl.h | 29 inline uint32_t Reference::ClassSize(PointerSize pointer_size) { in ClassSize() 35 inline void Reference::SetReferent(ObjPtr<Object> referent) { in SetReferent() 39 inline void Reference::SetPendingNext(ObjPtr<Reference> pending_next) { in SetPendingNext() 53 inline Class* Reference::GetJavaLangRefReference() { in GetJavaLangRefReference()
|
D | reference.cc | 25 GcRoot<Class> Reference::java_lang_ref_Reference_; 27 void Reference::SetClass(ObjPtr<Class> java_lang_ref_Reference) { in SetClass() 33 void Reference::ResetClass() { in ResetClass() 38 void Reference::VisitRoots(RootVisitor* visitor) { in VisitRoots()
|
D | object.cc | 59 void operator()(ObjPtr<mirror::Class> klass, mirror::Reference* ref) const in operator ()() 64 this->operator()(ref, mirror::Reference::ReferentOffset(), false); in operator ()()
|
/art/runtime/native/ |
D | java_lang_ref_Reference.cc | 33 ObjPtr<mirror::Reference> ref = soa.Decode<mirror::Reference>(javaThis); in Reference_getReferent() 41 ObjPtr<mirror::Reference> ref = soa.Decode<mirror::Reference>(javaThis); in Reference_clearReferent() 46 FAST_NATIVE_METHOD(Reference, getReferent, "()Ljava/lang/Object;"), 47 FAST_NATIVE_METHOD(Reference, clearReferent, "()V"),
|
D | java_lang_ref_FinalizerReference.cc | 39 ObjPtr<mirror::Reference> ref = soa.Decode<mirror::Reference>(javaThis); in FinalizerReference_getReferent()
|
/art/runtime/gc/ |
D | reference_queue.cc | 33 void ReferenceQueue::AtomicEnqueueIfNotEnqueued(Thread* self, ObjPtr<mirror::Reference> ref) { in AtomicEnqueueIfNotEnqueued() 41 void ReferenceQueue::EnqueueReference(ObjPtr<mirror::Reference> ref) { in EnqueueReference() 50 ObjPtr<mirror::Reference> head = list_->GetPendingNext<kWithoutReadBarrier>(); in EnqueueReference() 58 ObjPtr<mirror::Reference> ReferenceQueue::DequeuePendingReference() { in DequeuePendingReference() 60 ObjPtr<mirror::Reference> ref = list_->GetPendingNext<kWithoutReadBarrier>(); in DequeuePendingReference() 67 ObjPtr<mirror::Reference> next = ref->GetPendingNext<kWithoutReadBarrier>(); in DequeuePendingReference() 75 void ReferenceQueue::DisableReadBarrierForReference(ObjPtr<mirror::Reference> ref) { in DisableReadBarrierForReference() 104 ObjPtr<mirror::Reference> cur = list_; in Dump() 110 ObjPtr<mirror::Reference> pending_next = cur->GetPendingNext(); in Dump() 122 ObjPtr<mirror::Reference> cur = list_; in GetLength() [all …]
|
D | reference_queue.h | 35 class Reference; variable 60 void AtomicEnqueueIfNotEnqueued(Thread* self, ObjPtr<mirror::Reference> ref) 65 void EnqueueReference(ObjPtr<mirror::Reference> ref) REQUIRES_SHARED(Locks::mutator_lock_); 69 ObjPtr<mirror::Reference> DequeuePendingReference() REQUIRES_SHARED(Locks::mutator_lock_); 74 void DisableReadBarrierForReference(ObjPtr<mirror::Reference> ref) 104 mirror::Reference* GetList() REQUIRES_SHARED(Locks::mutator_lock_) { in GetList() 118 mirror::Reference* list_;
|
D | reference_processor.h | 34 class Reference; variable 62 ObjPtr<mirror::Object> GetReferent(Thread* self, ObjPtr<mirror::Reference> reference) 66 ObjPtr<mirror::Reference> ref, 76 void ClearReferent(ObjPtr<mirror::Reference> ref)
|
D | reference_processor-inl.h | 28 return mirror::Reference::GetJavaLangRefReference()->GetSlowPathEnabled(); in SlowPathEnabled()
|
D | reference_processor.cc | 51 mirror::Reference::GetJavaLangRefReference()->SetSlowPath(true); in EnableSlowPath() 55 mirror::Reference::GetJavaLangRefReference()->SetSlowPath(false); in DisableSlowPath() 65 ObjPtr<mirror::Reference> reference) { in GetReferent() 210 ObjPtr<mirror::Reference> ref, in DelayReferenceReferent() 293 void ReferenceProcessor::ClearReferent(ObjPtr<mirror::Reference> ref) { in ClearReferent()
|
D | reference_queue_test.cc | 53 std::set<mirror::Reference*> refs = {ref1.Get(), ref2.Get()}; in TEST_F() 54 std::set<mirror::Reference*> dequeued; in TEST_F()
|
/art/test/153-reference-stress/ |
D | info.txt | 1 Tests java.lang.ref.Reference.get() and GC running in parallel.
|
/art/test/954-invoke-polymorphic-verifier/ |
D | expected.txt | 6 … void BadThis.<init>(): 'this' argument 'Precise Reference: java.lang.String' not instance of 'Ref… 10 …nresolved.<init>(): invoke-polymorphic receiver has no class: Unresolved Reference: other.thing.Foo
|
/art/runtime/gc/collector/ |
D | garbage_collector.h | 39 class Reference; variable 129 ObjPtr<mirror::Reference> reference)
|
D | mark_compact.cc | 427 void operator()(ObjPtr<mirror::Class> /*klass*/, mirror::Reference* ref) const in operator ()() 430 ref->GetFieldObjectReferenceAddr<kVerifyNone>(mirror::Reference::ReferentOffset())); in operator ()() 559 ObjPtr<mirror::Reference> reference) { in DelayReferenceReferent() 576 ObjPtr<mirror::Reference> ref) const in operator ()()
|
D | mark_sweep.h | 37 class Reference; variable 229 void DelayReferenceReferent(ObjPtr<mirror::Class> klass, ObjPtr<mirror::Reference> reference)
|
D | mark_compact.h | 124 void DelayReferenceReferent(ObjPtr<mirror::Class> klass, ObjPtr<mirror::Reference> reference)
|
D | semi_space.h | 159 void DelayReferenceReferent(ObjPtr<mirror::Class> klass, ObjPtr<mirror::Reference> reference)
|
/art/test/912-classes/src-art/art/ |
D | Test912Art.java | 19 import java.lang.ref.Reference;
|
D | Test912.java | 19 import java.lang.ref.Reference; 427 public static Reference<Object> WEAK = null;
|
/art/patchoat/ |
D | patchoat.h | 41 class Reference; variable 159 void operator() (ObjPtr<mirror::Class> cls, ObjPtr<mirror::Reference> ref) const
|
/art/test/595-error-class/smali/ |
D | merge.smali | 20 # Reference type propagation should correctly see error in component type.
|
/art/test/800-smali/smali/ |
D | b_22411633_2.smali | 31 # Dummy work to separate blocks. At this point, v4 is of type Reference<Object>.
|
/art/runtime/gc/accounting/ |
D | remembered_set.cc | 83 void operator()(ObjPtr<mirror::Class> klass, ObjPtr<mirror::Reference> ref) const in operator ()()
|