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

Unified Diff: include/v8.h

Issue 131443008: Introduce an API mirroring the gc extension (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 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 | « no previous file | src/api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index c56295ac78dd8a4c6561f97f12717e5972381520..28e752ad71e6c44d3759fd18294879c109764c4e 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -4184,6 +4184,12 @@ class V8_EXPORT Isolate {
*/
void ClearInterrupt();
+ /**
+ * Request garbage collection in this Isolate. If |minor| is true, a
+ * minor garbage collection is performed.
+ */
+ void RequestGarbageCollection(bool minor);
Benedikt Meurer 2014/01/13 06:12:06 Please use an enum instead of bool here.
+
private:
Isolate();
Isolate(const Isolate&);
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698