Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index a7321b2b157f074a02e8a8dd5bf7e78148803cbc..585f47b92a22e18ce6b7d482a835c62b1c90d8ac 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -2455,7 +2455,7 @@ Handle<FixedArray> Debug::GetLoadedScripts() { |
// Perform GC to get unreferenced scripts evicted from the cache before |
// returning the content. |
- isolate_->heap()->CollectAllGarbage(Heap::kNoGCFlags, |
+ isolate_->heap()->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask, |
"Debug::GetLoadedScripts"); |
// Get the scripts from the cache. |