summaryrefslogtreecommitdiff
path: root/src/class_linker.cc
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2012-06-05 17:38:43 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2012-06-05 17:38:43 -0700
commit035a59bbf7b138e28d3aafab74b73548674dbf39 (patch)
treec76c118d96c697196adf6d77170a3911237c7d78 /src/class_linker.cc
parent2ab7f486ba73b2846bdbdde65cc2d41f62a26015 (diff)
parent262e5ffa1d4b23f23af3dea762a71a0af4bfd4a9 (diff)
Merge "Enable card cleaning" into ics-mr1-plus-art
Diffstat (limited to 'src/class_linker.cc')
-rw-r--r--src/class_linker.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/class_linker.cc b/src/class_linker.cc
index 000e2a5280..98d5fe0c9d 100644
--- a/src/class_linker.cc
+++ b/src/class_linker.cc
@@ -939,7 +939,9 @@ void ClassLinker::VisitRoots(Heap::RootVisitor* visitor, void* arg) const {
for (It it = classes_.begin(), end = classes_.end(); it != end; ++it) {
visitor(it->second, arg);
}
- // Note. we deliberately ignore the class roots in the image (held in image_classes_)
+
+ // We deliberately ignore the class roots in the image since we
+ // handle image roots by using the MS/CMS rescanning of dirty cards.
}
visitor(array_iftable_, arg);