Lines Matching refs:root
111 ALWAYS_INLINE void VisitRoot(mirror::Object** root, const RootInfo& info) in VisitRoot() argument
113 VisitRoots(&root, 1, info); in VisitRoot()
117 ALWAYS_INLINE void VisitRootIfNonNull(mirror::Object** root, const RootInfo& info) in VisitRootIfNonNull() argument
119 if (*root != nullptr) { in VisitRootIfNonNull()
120 VisitRoot(root, info); in VisitRootIfNonNull()
151 virtual void VisitRoot(mirror::Object* root, const RootInfo& info) = 0;
246 ALWAYS_INLINE void VisitRootIfNonNull(GcRoot<MirrorType>& root) in VisitRootIfNonNull() argument
248 if (!root.IsNull()) { in VisitRootIfNonNull()
249 VisitRoot(root); in VisitRootIfNonNull()
254 ALWAYS_INLINE void VisitRootIfNonNull(mirror::CompressedReference<MirrorType>* root) in VisitRootIfNonNull() argument
256 if (!root->IsNull()) { in VisitRootIfNonNull()
257 VisitRoot(root); in VisitRootIfNonNull()
262 void VisitRoot(GcRoot<MirrorType>& root) REQUIRES_SHARED(Locks::mutator_lock_) { in VisitRoot() argument
263 VisitRoot(root.AddressWithoutBarrier()); in VisitRoot()
267 void VisitRoot(mirror::CompressedReference<MirrorType>* root) in VisitRoot() argument
272 roots_[buffer_pos_++] = root; in VisitRoot()
293 ALWAYS_INLINE void VisitRootIfNonNull(GcRoot<MirrorType>& root) const in VisitRootIfNonNull() argument
295 if (!root.IsNull()) { in VisitRootIfNonNull()
296 VisitRoot(root); in VisitRootIfNonNull()
301 ALWAYS_INLINE void VisitRootIfNonNull(mirror::CompressedReference<MirrorType>* root) const in VisitRootIfNonNull() argument
303 if (!root->IsNull()) { in VisitRootIfNonNull()
304 VisitRoot(root); in VisitRootIfNonNull()
309 void VisitRoot(GcRoot<MirrorType>& root) const REQUIRES_SHARED(Locks::mutator_lock_) { in VisitRoot() argument
310 VisitRoot(root.AddressWithoutBarrier()); in VisitRoot()
314 void VisitRoot(mirror::CompressedReference<MirrorType>* root) const in VisitRoot() argument
316 visitor_->VisitRoots(&root, 1, root_info_); in VisitRoot()