Home
last modified time | relevance | path

Searched refs:AsReference (Results 1 – 4 of 4) sorted by relevance

/art/runtime/gc/
Dreference_queue_test.cc40 auto ref1(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F()
42 auto ref2(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F()
74 auto ref1(hs.NewHandle(weak_ref_class->AllocObject(self)->AsReference())); in TEST_F()
76 auto ref2(hs.NewHandle(finalizer_ref_class->AllocObject(self)->AsReference())); in TEST_F()
/art/runtime/gc/collector/
Dconcurrent_copying.cc717 to_ref->AsReference()->GetReferent<kWithoutReadBarrier>() != nullptr && in ProcessMarkStack()
718 !IsInToSpace(to_ref->AsReference()->GetReferent<kWithoutReadBarrier>())) { in ProcessMarkStack()
720 CHECK(to_ref->AsReference()->IsEnqueued()) << "Left unenqueued ref gray " << to_ref; in ProcessMarkStack()
/art/runtime/mirror/
Dobject-inl.h263 inline Reference* Object::AsReference() { in AsReference() function
1013 ref_visitor(klass, AsReference()); in VisitReferences()
Dobject.h212 Reference* AsReference() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);