Searched defs:roots (Results 1 - 5 of 5) sorted by relevance

/art/runtime/
H A Dgc_root.h56 // Thread id 0 is for non thread roots.
89 ALWAYS_INLINE void VisitRoot(mirror::Object** roots, const RootInfo& info)
91 VisitRoots(&roots, 1, info);
95 ALWAYS_INLINE void VisitRootIfNonNull(mirror::Object** roots, const RootInfo& info)
97 if (*roots != nullptr) {
98 VisitRoot(roots, info);
102 virtual void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info)
105 virtual void VisitRoots(mirror::CompressedReference<mirror::Object>** roots, size_t count,
110 // Only visits roots one at a time, doesn't handle updating roots
141 mirror::CompressedReference<mirror::Object>* roots[1] = { &root_ }; local
[all...]
/art/runtime/gc/collector/
H A Dmark_compact.cc214 // Mark roots of immune spaces.
311 mirror::Object*** roots, size_t count, const RootInfo& info ATTRIBUTE_UNUSED) {
313 MarkObject(*roots[i]);
318 mirror::CompressedReference<mirror::Object>** roots, size_t count,
321 MarkObject(roots[i]->AsMirrorPtr());
330 void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info ATTRIBUTE_UNUSED)
334 mirror::Object* obj = *roots[i];
337 *roots[i] = new_obj;
343 void VisitRoots(mirror::CompressedReference<mirror::Object>** roots, size_t count,
348 mirror::Object* obj = roots[
310 VisitRoots( mirror::Object*** roots, size_t count, const RootInfo& info ATTRIBUTE_UNUSED) argument
317 VisitRoots( mirror::CompressedReference<mirror::Object>** roots, size_t count, const RootInfo& info ATTRIBUTE_UNUSED) argument
[all...]
H A Dsemi_space.cc344 // cards as roots (including the objects on the live stack which have just marked in the live
389 // large object space as roots as they contain references to their
606 void SemiSpace::VisitRoots(mirror::Object*** roots, size_t count, argument
609 auto* root = roots[i];
618 void SemiSpace::VisitRoots(mirror::CompressedReference<mirror::Object>** roots, size_t count, argument
621 MarkObject(roots[i]);
H A Dconcurrent_copying.cc154 // Used to switch the thread roots of a thread from from-space refs to to-space refs.
223 // Switch threads that from from-space to to-space refs. Forward/mark the thread roots.
316 // Concurrently mark roots that are guarded by read barriers and process the mark stack.
324 // scan the image objects from roots by relying on the card table,
350 // TODO: don't visit the transaction roots if it's not active.
1150 // Process some roots.
1152 mirror::Object*** roots, size_t count, const RootInfo& info ATTRIBUTE_UNUSED) {
1154 mirror::Object** root = roots[i];
1176 mirror::CompressedReference<mirror::Object>** roots, size_t count,
1179 mirror::CompressedReference<mirror::Object>* root = roots[
1151 VisitRoots( mirror::Object*** roots, size_t count, const RootInfo& info ATTRIBUTE_UNUSED) argument
1175 VisitRoots( mirror::CompressedReference<mirror::Object>** roots, size_t count, const RootInfo& info ATTRIBUTE_UNUSED) argument
[all...]
H A Dmark_sweep.cc233 // The other roots are also marked to help reduce the pause.
536 void MarkSweep::VisitRoots(mirror::Object*** roots, size_t count, argument
539 MarkObjectNonNull(*roots[i]);
543 void MarkSweep::VisitRoots(mirror::CompressedReference<mirror::Object>** roots, size_t count, argument
546 MarkObjectNonNull(roots[i]->AsMirrorPtr());
592 // Visit all runtime roots and clear dirty flags.
1050 void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info ATTRIBUTE_UNUSED)
1054 mark_sweep_->MarkObjectNonNullParallel(*roots[i]);
1058 void VisitRoots(mirror::CompressedReference<mirror::Object>** roots, size_t count,
1063 mark_sweep_->MarkObjectNonNullParallel(roots[
[all...]

Completed in 143 milliseconds