summaryrefslogtreecommitdiff
path: root/runtime/runtime.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/runtime.cc')
-rw-r--r--runtime/runtime.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/runtime/runtime.cc b/runtime/runtime.cc
index 6384d01aaf..0d9d16cd01 100644
--- a/runtime/runtime.cc
+++ b/runtime/runtime.cc
@@ -1976,10 +1976,6 @@ mirror::Throwable* Runtime::GetPreAllocatedNoClassDefFoundError() {
}
void Runtime::VisitConstantRoots(RootVisitor* visitor) {
- // Visit the classes held as static in mirror classes, these can be visited concurrently and only
- // need to be visited once per GC since they never change.
- mirror::Class::VisitRoots(visitor);
- mirror::ClassExt::VisitRoots(visitor);
// Visiting the roots of these ArtMethods is not currently required since all the GcRoots are
// null.
BufferedRootVisitor<16> buffered_visitor(visitor, RootInfo(kRootVMInternal));