Index: Source/platform/heap/Heap.cpp |
diff --git a/Source/platform/heap/Heap.cpp b/Source/platform/heap/Heap.cpp |
index a25225c2bec962e07edfa8b4c754650f1be0cf4e..2d0f4893c72e90d715d2a62cdb080334b940fab6 100644 |
--- a/Source/platform/heap/Heap.cpp |
+++ b/Source/platform/heap/Heap.cpp |
@@ -2308,6 +2308,8 @@ void Heap::collectGarbage(ThreadState::StackState stackState, ThreadState::GCTyp |
ThreadState::NoAllocationScope noAllocationScope(state); |
preGC(); |
+ s_markingVisitor->configureEagerTraceLimit(); |
sof
2015/01/14 07:03:43
Move this to preGC() ?
|
+ ASSERT(s_markingVisitor->canTraceEagerly()); |
Heap::resetMarkedObjectSize(); |
Heap::resetAllocatedObjectSize(); |
@@ -2363,6 +2365,7 @@ void Heap::collectGarbageForTerminatingThread(ThreadState* state) |
ThreadState::NoAllocationScope noAllocationScope(state); |
state->preGC(); |
+ s_markingVisitor->configureEagerTraceLimit(); |
// 1. Trace the thread local persistent roots. For thread local GCs we |
// don't trace the stack (ie. no conservative scanning) since this is |