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