Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 52266d50441059ddc4ba818874cdbd03b27b47bf..4446b87e1c2a739c3f68a6da4eb64a48ec54e36b 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -6186,6 +6186,8 @@ enum GCType { |
* - kGCCallbackFlagCollectAllAvailableGarbage: The GC callback is called |
* in a phase where V8 is trying to collect all available garbage |
* (e.g., handling a low memory notification). |
+ * - kGCCallbackScheduleIdleCollectGarbage: The GC callback is called to |
+ * trigger an idle garbage collection. |
*/ |
enum GCCallbackFlags { |
kNoGCCallbackFlags = 0, |
@@ -6194,6 +6196,7 @@ enum GCCallbackFlags { |
kGCCallbackFlagSynchronousPhantomCallbackProcessing = 1 << 3, |
kGCCallbackFlagCollectAllAvailableGarbage = 1 << 4, |
kGCCallbackFlagCollectAllExternalMemory = 1 << 5, |
+ kGCCallbackScheduleIdleCollectGarbage = 1 << 6, |
}; |
typedef void (*GCCallback)(GCType type, GCCallbackFlags flags); |