Chromium Code Reviews| Index: include/v8.h |
| diff --git a/include/v8.h b/include/v8.h |
| index 25a1d58fb9e0ed1f46c389dfee0bdab7e459a10f..20ccf98f9596c832ca85cc3d711023e19a6dc1c4 100644 |
| --- a/include/v8.h |
| +++ b/include/v8.h |
| @@ -5791,6 +5791,18 @@ class V8_EXPORT Isolate { |
| int ContextDisposedNotification(bool dependant_context = true); |
| /** |
| + * Optional notification that the isolate switched to the foreground. |
| + * V8 uses these notifications to guide the GC heuristic. |
|
Hannes Payer (out of office)
2015/10/22 10:40:55
I don't think we should talk about GC on that leve
ulan
2015/10/22 10:44:37
Removed GC.
|
| + */ |
| + void IsolateInForegroundNotification(); |
| + |
| + /** |
| + * Optional notification that the isolate switched to the background. |
| + * V8 uses these notifications to guide the GC heuristic. |
| + */ |
| + void IsolateInBackgroundNotification(); |
| + |
| + /** |
| * Allows the host application to provide the address of a function that is |
| * notified each time code is added, moved or removed. |
| * |