diff --git a/deps/v8/include/v8.h b/deps/v8/include/v8.h index 5292ed423251ed..711c3f398d2ef6 100644 --- a/deps/v8/include/v8.h +++ b/deps/v8/include/v8.h @@ -6015,6 +6015,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, @@ -6023,6 +6025,7 @@ enum GCCallbackFlags { kGCCallbackFlagSynchronousPhantomCallbackProcessing = 1 << 3, kGCCallbackFlagCollectAllAvailableGarbage = 1 << 4, kGCCallbackFlagCollectAllExternalMemory = 1 << 5, + kGCCallbackScheduleIdleCollectGarbage = 1 << 6, }; typedef void (*GCCallback)(GCType type, GCCallbackFlags flags);