Index: Source/bindings/core/v8/V8GCController.h |
diff --git a/Source/bindings/core/v8/V8GCController.h b/Source/bindings/core/v8/V8GCController.h |
index 697015b07c713c7c900fcb4dd027423c23732d7d..e0ec5d3d584d589d77361bb34688bcba603dc83e 100644 |
--- a/Source/bindings/core/v8/V8GCController.h |
+++ b/Source/bindings/core/v8/V8GCController.h |
@@ -47,6 +47,11 @@ public: |
static void gcEpilogue(v8::GCType, v8::GCCallbackFlags); |
static void collectGarbage(v8::Isolate*); |
+ // You should use collectAllGarbage() when you want to collect all |
+ // V8 & Blink objects. collectAllGarbage() runs multiple V8 GCs to collect |
+ // references that cross the binding boundary. collectAllGarbage() also |
+ // runs Multipe Oilpan GCs to collect a chain of persistent handles. |
+ static void collectAllGarbage(v8::Isolate*); |
static Node* opaqueRootForGC(v8::Isolate*, Node*); |