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

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
« no previous file with comments | « Source/bindings/core/v8/ScriptPromisePropertyTest.cpp ('k') | Source/bindings/core/v8/V8GCController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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*);
« no previous file with comments | « Source/bindings/core/v8/ScriptPromisePropertyTest.cpp ('k') | Source/bindings/core/v8/V8GCController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698