diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc index 2f09d847ee..551db2c2a1 100644 --- a/src/runtime/runtime-debug.cc +++ b/src/runtime/runtime-debug.cc @@ -1480,7 +1480,7 @@ RUNTIME_FUNCTION(Runtime_GetDebugContext) { RUNTIME_FUNCTION(Runtime_CollectGarbage) { SealHandleScope shs(isolate); DCHECK_EQ(1, args.length()); - isolate->heap()->CollectAllGarbage(Heap::kNoGCFlags, + isolate->heap()->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask, GarbageCollectionReason::kRuntime); return isolate->heap()->undefined_value(); }