summaryrefslogtreecommitdiff
path: root/runtime/class_table-inl.h
diff options
context:
space:
mode:
author Brian Carlstrom <bdc@google.com> 2016-06-04 00:22:32 +0000
committer Brian Carlstrom <bdc@google.com> 2016-06-04 00:22:32 +0000
commitf102faf1bcbdb2149e3e7bf27b1819f621b7894b (patch)
treed3e9d667bc7d746a0800e95d4ce78918718a9636 /runtime/class_table-inl.h
parentd6d49e56c2b7b11f474acb80cb02bb1fe9b7861e (diff)
Revert "Hold dex caches live in class table"
This reverts commit d6d49e56c2b7b11f474acb80cb02bb1fe9b7861e. Bug: 29083330 Change-Id: Ie209b27897b8079f2d13fd0837fe5f83a7e61afc
Diffstat (limited to 'runtime/class_table-inl.h')
-rw-r--r--runtime/class_table-inl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/class_table-inl.h b/runtime/class_table-inl.h
index d52365df6d..42e320ae71 100644
--- a/runtime/class_table-inl.h
+++ b/runtime/class_table-inl.h
@@ -29,7 +29,7 @@ void ClassTable::VisitRoots(Visitor& visitor) {
visitor.VisitRoot(root.AddressWithoutBarrier());
}
}
- for (GcRoot<mirror::Object>& root : strong_roots_) {
+ for (GcRoot<mirror::Object>& root : dex_files_) {
visitor.VisitRoot(root.AddressWithoutBarrier());
}
}
@@ -42,7 +42,7 @@ void ClassTable::VisitRoots(const Visitor& visitor) {
visitor.VisitRoot(root.AddressWithoutBarrier());
}
}
- for (GcRoot<mirror::Object>& root : strong_roots_) {
+ for (GcRoot<mirror::Object>& root : dex_files_) {
visitor.VisitRoot(root.AddressWithoutBarrier());
}
}