Revision: 6267
Author: [email protected]
Date: Tue Jan 11 04:38:19 2011
Log: Visit all roots in the UnreachableObjectsFilter.
If an object is only referenced from DOM wrappers, it can only
be seen if all roots are visited.
Review URL: http://codereview.chromium.org/6226004
http://code.google.com/p/v8/source/detail?r=6267
Modified:
/branches/bleeding_edge/src/heap.cc
/branches/bleeding_edge/src/profile-generator.cc
=======================================
--- /branches/bleeding_edge/src/heap.cc Thu Jan 6 07:53:56 2011
+++ /branches/bleeding_edge/src/heap.cc Tue Jan 11 04:38:19 2011
@@ -5029,7 +5029,7 @@
obj->SetMark();
}
UnmarkingVisitor visitor;
- Heap::IterateRoots(&visitor, VISIT_ONLY_STRONG);
+ Heap::IterateRoots(&visitor, VISIT_ALL);
while (visitor.can_process())
visitor.ProcessNext();
}
=======================================
--- /branches/bleeding_edge/src/profile-generator.cc Tue Dec 21 02:49:40
2010
+++ /branches/bleeding_edge/src/profile-generator.cc Tue Jan 11 04:38:19
2011
@@ -2385,7 +2385,7 @@
if (interrupted) return false;
SetRootGcRootsReference();
RootsReferencesExtractor extractor(this);
- Heap::IterateRoots(&extractor, VISIT_ONLY_STRONG);
+ Heap::IterateRoots(&extractor, VISIT_ALL);
return ReportProgress();
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev