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

Unified Diff: include/v8.h

Issue 449813002: Perform full gcs when context disposals happen too frequent. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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') | src/heap/heap.cc » ('J')
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 f702166cd4d281965f2caba33a616888eb7cb0fb..d3103fdafa42080f42ba0e121429724ebef9c0dc 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -4481,12 +4481,10 @@ class V8_EXPORT Isolate {
void LowMemoryNotification();
/**
- * Optional notification that a context has been disposed. V8 uses
- * these notifications to guide the GC heuristic. Returns the number
- * of context disposals - including this one - since the last time
- * V8 had a chance to clean up.
+ * Optional notification that a context has been disposed. This may trigger
+ * a full garbage collection if invoked too frequently.
*/
- int ContextDisposedNotification();
+ void ContextDisposedNotification();
private:
template<class K, class V, class Traits> friend class PersistentValueMap;
« no previous file with comments | « no previous file | src/api.cc » ('j') | src/heap/heap.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698