Merge r3971 and r3984 to trunk forming V8 version 2.1.2.4. This adds
the new context disposal notification API.
Review URL: http://codereview.chromium.org/660268
git-svn-id: http://v8.googlecode.com/svn/trunk@3985 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/include/v8.h b/include/v8.h
index 13f8191..44338b9 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -2473,6 +2473,12 @@
*/
static void LowMemoryNotification();
+ /**
+ * Optional notification that a context has been disposed. V8 uses
+ * these notifications to guide the garbage collection heuristic.
+ */
+ static void ContextDisposedNotification();
+
private:
V8();