Index: Source/platform/heap/Heap.cpp |
diff --git a/Source/platform/heap/Heap.cpp b/Source/platform/heap/Heap.cpp |
index 8782ccbf3cb2d1443903535692aa667e85abc194..e0ef3c5b2c2dfc0ef55191b3b5d81e9cecbd0a3a 100644 |
--- a/Source/platform/heap/Heap.cpp |
+++ b/Source/platform/heap/Heap.cpp |
@@ -2275,6 +2275,7 @@ void Heap::collectGarbage(ThreadState::StackState stackState, ThreadState::GCTyp |
ThreadState::NoAllocationScope noAllocationScope(state); |
preGC(); |
+ s_markingVisitor->configureEagerTraceLimit(); |
Heap::resetMarkedObjectSize(); |
Heap::resetAllocatedObjectSize(); |
@@ -2331,6 +2332,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 |