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

/art/runtime/
H A Dgc_root.h60 // Thread id 0 is for non thread roots.
106 virtual void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info)
109 virtual void VisitRoots(mirror::CompressedReference<mirror::Object>** roots, size_t count,
114 // Only visits roots one at a time, doesn't handle updating roots. Used when performance isn't
118 void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info) OVERRIDE
121 VisitRoot(*roots[i], info);
125 void VisitRoots(mirror::CompressedReference<mirror::Object>** roots, size_t count,
129 VisitRoot(roots[i]->AsMirrorPtr(), info);
177 mirror::CompressedReference<mirror::Object>* roots[ local
[all...]
/art/runtime/gc/collector/
H A Dmark_compact.cc185 // Mark roots of immune spaces.
272 mirror::Object*** roots, size_t count, const RootInfo& info ATTRIBUTE_UNUSED) {
274 MarkObject(*roots[i]);
279 mirror::CompressedReference<mirror::Object>** roots, size_t count,
282 MarkObject(roots[i]->AsMirrorPtr());
290 void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info ATTRIBUTE_UNUSED)
294 mirror::Object* obj = *roots[i];
297 *roots[i] = new_obj;
303 void VisitRoots(mirror::CompressedReference<mirror::Object>** roots, size_t count,
308 mirror::Object* obj = roots[
271 VisitRoots( mirror::Object*** roots, size_t count, const RootInfo& info ATTRIBUTE_UNUSED) argument
278 VisitRoots( mirror::CompressedReference<mirror::Object>** roots, size_t count, const RootInfo& info ATTRIBUTE_UNUSED) argument
[all...]
H A Dsemi_space.cc350 // bitmap or dirty cards as roots (including the objects on the live stack which have just
404 // large object space as roots as they contain references to their
613 void SemiSpace::VisitRoots(mirror::Object*** roots, size_t count, argument
616 auto* root = roots[i];
627 void SemiSpace::VisitRoots(mirror::CompressedReference<mirror::Object>** roots, size_t count, argument
630 MarkObjectIfNotInToSpace(roots[i]);
H A Dconcurrent_copying.cc190 // Used to switch the thread roots of a thread from from-space refs to to-space refs.
261 // Switch threads that from from-space to to-space refs. Forward/mark the thread roots.
353 // Concurrently mark roots that are guarded by read barriers and process the mark stack.
362 // scan the image objects from roots by relying on the card table,
384 // TODO: don't visit the transaction roots if it's not active.
1648 // Process some roots.
1650 mirror::Object*** roots, size_t count, const RootInfo& info ATTRIBUTE_UNUSED) {
1652 mirror::Object** root = roots[i];
1689 mirror::CompressedReference<mirror::Object>** roots, size_t count,
1692 mirror::CompressedReference<mirror::Object>* const root = roots[
1649 VisitRoots( mirror::Object*** roots, size_t count, const RootInfo& info ATTRIBUTE_UNUSED) argument
1688 VisitRoots( mirror::CompressedReference<mirror::Object>** roots, size_t count, const RootInfo& info ATTRIBUTE_UNUSED) argument
[all...]
H A Dmark_sweep.cc234 // The other roots are also marked to help reduce the pause.
571 void MarkSweep::VisitRoots(mirror::Object*** roots, argument
575 MarkObjectNonNull(*roots[i]);
579 void MarkSweep::VisitRoots(mirror::CompressedReference<mirror::Object>** roots, argument
583 MarkObjectNonNull(roots[i]->AsMirrorPtr());
629 // Visit all runtime roots and clear dirty flags.
1123 void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info ATTRIBUTE_UNUSED)
1127 mark_sweep_->MarkObjectNonNullParallel(*roots[i]);
1131 void VisitRoots(mirror::CompressedReference<mirror::Object>** roots,
1137 mark_sweep_->MarkObjectNonNullParallel(roots[
[all...]
/art/compiler/
H A Dimage_writer.cc847 // Clear class table strong roots so that dex caches can get pruned. We require pruning the class
855 // Remove the undesired classes from the class roots.
917 // Drop the array class cache in the ClassLinker, as these are roots holding those classes live.
1051 // build an Object[] of the roots needed to restore the runtime
1348 explicit GetRootsVisitor(std::vector<mirror::Object*>* roots) : roots_(roots) {} argument
1350 void VisitRoots(mirror::Object*** roots,
1355 roots_->push_back(*roots[i]);
1359 void VisitRoots(mirror::CompressedReference<mirror::Object>** roots,
1364 roots_->push_back(roots[
1444 std::vector<mirror::Object*> roots; local
[all...]

Completed in 112 milliseconds