Searched refs:AsReference (Results 1 – 4 of 4) sorted by relevance
40 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()
717 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()
263 inline Reference* Object::AsReference() { in AsReference() function1013 ref_visitor(klass, AsReference()); in VisitReferences()
212 Reference* AsReference() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);