Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Unified Diff: Source/bindings/core/v8/V8GCController.h

Issue 1328653002: Introduce V8GCController::collectAllGarbage (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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*);

Powered by Google App Engine
This is Rietveld 408576698