| Index: Source/platform/heap/Heap.cpp
|
| diff --git a/Source/platform/heap/Heap.cpp b/Source/platform/heap/Heap.cpp
|
| index 01d82954d22964642466108e61b46867b232d9da..23ba3ac686328e3d342bff436d51d8af20c84ae2 100644
|
| --- a/Source/platform/heap/Heap.cpp
|
| +++ b/Source/platform/heap/Heap.cpp
|
| @@ -2272,6 +2272,8 @@ void Heap::collectGarbage(ThreadState::StackState stackState, ThreadState::GCTyp
|
| ThreadState::NoAllocationScope noAllocationScope(state);
|
|
|
| preGC();
|
| + s_markingVisitor->configureEagerTraceLimit();
|
| + ASSERT(s_markingVisitor->canTraceEagerly());
|
|
|
| Heap::resetMarkedObjectSize();
|
| Heap::resetAllocatedObjectSize();
|
| @@ -2328,6 +2330,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
|
|
|