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

Unified Diff: include/v8.h

Issue 53089: Fixed test memory leaks (Closed)
Patch Set: Created 11 years, 9 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 | samples/shell.cc » ('j') | src/debug.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 a6851c922a06fdb207b0478f36769c46ac854b84..00c0b5050f937d92eda16b852ff9ac0a88dbf25a 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -1080,13 +1080,13 @@ class V8EXPORT Object : public Value {
* access check info, the object cannot be accessed by anyone.
*/
void TurnOnAccessCheck();
-
+
/**
* Returns the identity hash for this object. The current implemenation uses
* a hidden property on the object to store the identity hash.
*/
int GetIdentityHash();
-
+
/**
* Access hidden properties on JavaScript objects. These properties are
* hidden from the executing JavaScript and only accessible through the V8
@@ -2033,6 +2033,16 @@ class V8EXPORT V8 {
*/
static void ResumeProfiler();
+ /**
+ * Releases any resources used by v8 and stops any utility threads
+ * that may be running. Note that disposing v8 is permanent, it
+ * cannot be reinitialized.
+ *
+ * It should generally not be necessary to dispose v8 before exiting
+ * a process.
Søren Thygesen Gjesse 2009/03/26 10:50:09 Perhaps explain in which cases this is actually ne
Christian Plesner Hansen 2009/03/27 00:24:26 Done. I left it out originally because I had no i
+ */
+ static bool Dispose();
+
private:
V8();
« no previous file with comments | « no previous file | samples/shell.cc » ('j') | src/debug.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698