Revision: 5417
Author: [email protected]
Date: Tue Sep 7 03:04:28 2010
Log: Merge r5416 into 2.3 branch.
Review URL: http://codereview.chromium.org/3310015
http://code.google.com/p/v8/source/detail?r=5417
Modified:
/branches/2.3/src/mark-compact.cc
=======================================
--- /branches/2.3/src/mark-compact.cc Mon Aug 23 04:36:18 2010
+++ /branches/2.3/src/mark-compact.cc Tue Sep 7 03:04:28 2010
@@ -639,9 +639,13 @@
#endif
StaticMarkingVisitor::EnableCodeFlushing(true);
+ // Ensure that empty descriptor array is marked. Method
MarkDescriptorArray
+ // relies on it being marked before any other descriptor array.
+ MarkObject(Heap::raw_unchecked_empty_descriptor_array());
+
// Make sure we are not referencing the code from the stack.
for (StackFrameIterator it; !it.done(); it.Advance()) {
- MarkCompactCollector::MarkObject(it.frame()->unchecked_code());
+ MarkObject(it.frame()->unchecked_code());
}
// Iterate the archived stacks in all threads to check if
@@ -652,7 +656,7 @@
SharedFunctionInfoMarkingVisitor visitor;
CompilationCache::IterateFunctions(&visitor);
- MarkCompactCollector::ProcessMarkingStack();
+ ProcessMarkingStack();
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev