Lines Matching refs:root
112 ALWAYS_INLINE void VisitRoot(mirror::Object** root, const RootInfo& info) in VisitRoot() argument
114 VisitRoots(&root, 1, info); in VisitRoot()
118 ALWAYS_INLINE void VisitRootIfNonNull(mirror::Object** root, const RootInfo& info) in VisitRootIfNonNull() argument
120 if (*root != nullptr) { in VisitRootIfNonNull()
121 VisitRoot(root, info); in VisitRootIfNonNull()
152 virtual void VisitRoot(mirror::Object* root, const RootInfo& info) = 0;
247 ALWAYS_INLINE void VisitRootIfNonNull(GcRoot<MirrorType>& root) in VisitRootIfNonNull() argument
249 if (!root.IsNull()) { in VisitRootIfNonNull()
250 VisitRoot(root); in VisitRootIfNonNull()
255 ALWAYS_INLINE void VisitRootIfNonNull(mirror::CompressedReference<MirrorType>* root) in VisitRootIfNonNull() argument
257 if (!root->IsNull()) { in VisitRootIfNonNull()
258 VisitRoot(root); in VisitRootIfNonNull()
263 void VisitRoot(GcRoot<MirrorType>& root) REQUIRES_SHARED(Locks::mutator_lock_) { in VisitRoot() argument
264 VisitRoot(root.AddressWithoutBarrier()); in VisitRoot()
268 void VisitRoot(mirror::CompressedReference<MirrorType>* root) in VisitRoot() argument
273 roots_[buffer_pos_++] = root; in VisitRoot()
294 ALWAYS_INLINE void VisitRootIfNonNull(GcRoot<MirrorType>& root) const in VisitRootIfNonNull() argument
296 if (!root.IsNull()) { in VisitRootIfNonNull()
297 VisitRoot(root); in VisitRootIfNonNull()
302 ALWAYS_INLINE void VisitRootIfNonNull(mirror::CompressedReference<MirrorType>* root) const in VisitRootIfNonNull() argument
304 if (!root->IsNull()) { in VisitRootIfNonNull()
305 VisitRoot(root); in VisitRootIfNonNull()
310 void VisitRoot(GcRoot<MirrorType>& root) const REQUIRES_SHARED(Locks::mutator_lock_) { in VisitRoot() argument
311 VisitRoot(root.AddressWithoutBarrier()); in VisitRoot()
315 void VisitRoot(mirror::CompressedReference<MirrorType>* root) const in VisitRoot() argument
317 visitor_->VisitRoots(&root, 1, root_info_); in VisitRoot()