Home
last modified time | relevance | path

Searched refs:Reference (Results 1 – 25 of 43) sorted by relevance

12

/art/runtime/mirror/
Dreference.h44 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 …]
Dreference-inl.h29 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()
Dreference.cc25 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()
Dobject.cc59 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/
Djava_lang_ref_Reference.cc33 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"),
Djava_lang_ref_FinalizerReference.cc39 ObjPtr<mirror::Reference> ref = soa.Decode<mirror::Reference>(javaThis); in FinalizerReference_getReferent()
/art/runtime/gc/
Dreference_queue.cc33 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 …]
Dreference_queue.h35 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_;
Dreference_processor.h34 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)
Dreference_processor-inl.h28 return mirror::Reference::GetJavaLangRefReference()->GetSlowPathEnabled(); in SlowPathEnabled()
Dreference_processor.cc51 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()
Dreference_queue_test.cc53 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/
Dinfo.txt1 Tests java.lang.ref.Reference.get() and GC running in parallel.
/art/test/954-invoke-polymorphic-verifier/
Dexpected.txt6 … 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/
Dgarbage_collector.h39 class Reference; variable
129 ObjPtr<mirror::Reference> reference)
Dmark_compact.cc427 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 ()()
Dmark_sweep.h37 class Reference; variable
229 void DelayReferenceReferent(ObjPtr<mirror::Class> klass, ObjPtr<mirror::Reference> reference)
Dmark_compact.h124 void DelayReferenceReferent(ObjPtr<mirror::Class> klass, ObjPtr<mirror::Reference> reference)
Dsemi_space.h159 void DelayReferenceReferent(ObjPtr<mirror::Class> klass, ObjPtr<mirror::Reference> reference)
/art/test/912-classes/src-art/art/
DTest912Art.java19 import java.lang.ref.Reference;
DTest912.java19 import java.lang.ref.Reference;
427 public static Reference<Object> WEAK = null;
/art/patchoat/
Dpatchoat.h41 class Reference; variable
159 void operator() (ObjPtr<mirror::Class> cls, ObjPtr<mirror::Reference> ref) const
/art/test/595-error-class/smali/
Dmerge.smali20 # Reference type propagation should correctly see error in component type.
/art/test/800-smali/smali/
Db_22411633_2.smali31 # Dummy work to separate blocks. At this point, v4 is of type Reference<Object>.
/art/runtime/gc/accounting/
Dremembered_set.cc83 void operator()(ObjPtr<mirror::Class> klass, ObjPtr<mirror::Reference> ref) const in operator ()()

12