| Index: src/mark-compact.cc
|
| ===================================================================
|
| --- src/mark-compact.cc (revision 6005)
|
| +++ src/mark-compact.cc (working copy)
|
| @@ -1281,6 +1281,11 @@
|
|
|
| void MarkCompactCollector::MarkLiveObjects() {
|
| GCTracer::Scope gc_scope(tracer_, GCTracer::Scope::MC_MARK);
|
| + // The recursive GC marker detects when it is nearing stack overflow,
|
| + // and switches to a different marking system. JS interrupts interfere
|
| + // with the C stack limit check.
|
| + PostponeInterruptsScope postpone;
|
| +
|
| #ifdef DEBUG
|
| ASSERT(state_ == PREPARE_GC);
|
| state_ = MARK_LIVE_OBJECTS;
|
|
|