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..575a47e659c53691aec20ca084970810ef406f36 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 collectAllGarbageForTesting() when you want to collect all |
+ // V8 & Blink objects. It 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 collectAllGarbageForTesting(v8::Isolate*); |
static Node* opaqueRootForGC(v8::Isolate*, Node*); |