Chromium Code Reviews| 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(); |