Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 646c070801fee2f66e32487dfd5f80e1f6da583b..74970e88fbb830ce6278553f9b2d3d0215ca9a38 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -6885,7 +6885,7 @@ Local<Integer> v8::Integer::NewFromUnsigned(Isolate* isolate, uint32_t value) { |
void Isolate::CollectAllGarbage(const char* gc_reason) { |
reinterpret_cast<i::Isolate*>(this)->heap()->CollectAllGarbage( |
- i::Heap::kNoGCFlags, gc_reason); |
+ i::Heap::kNoGCFlags, gc_reason, v8::kGCCallbackFlagForced); |
} |