OLD | NEW |
---|---|
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /** \mainpage V8 API Reference Guide | 5 /** \mainpage V8 API Reference Guide |
6 * | 6 * |
7 * V8 is Google's open source JavaScript engine. | 7 * V8 is Google's open source JavaScript engine. |
8 * | 8 * |
9 * This set of documents provides reference material generated from the | 9 * This set of documents provides reference material generated from the |
10 * V8 header file, include/v8.h. | 10 * V8 header file, include/v8.h. |
(...skipping 5773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5784 * these notifications to guide the GC heuristic. Returns the number | 5784 * these notifications to guide the GC heuristic. Returns the number |
5785 * of context disposals - including this one - since the last time | 5785 * of context disposals - including this one - since the last time |
5786 * V8 had a chance to clean up. | 5786 * V8 had a chance to clean up. |
5787 * | 5787 * |
5788 * The optional parameter |dependant_context| specifies whether the disposed | 5788 * The optional parameter |dependant_context| specifies whether the disposed |
5789 * context was depending on state from other contexts or not. | 5789 * context was depending on state from other contexts or not. |
5790 */ | 5790 */ |
5791 int ContextDisposedNotification(bool dependant_context = true); | 5791 int ContextDisposedNotification(bool dependant_context = true); |
5792 | 5792 |
5793 /** | 5793 /** |
5794 * Optional notification that the isolate switched to the foreground. | |
5795 * 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.
| |
5796 */ | |
5797 void IsolateInForegroundNotification(); | |
5798 | |
5799 /** | |
5800 * Optional notification that the isolate switched to the background. | |
5801 * V8 uses these notifications to guide the GC heuristic. | |
5802 */ | |
5803 void IsolateInBackgroundNotification(); | |
5804 | |
5805 /** | |
5794 * Allows the host application to provide the address of a function that is | 5806 * Allows the host application to provide the address of a function that is |
5795 * notified each time code is added, moved or removed. | 5807 * notified each time code is added, moved or removed. |
5796 * | 5808 * |
5797 * \param options options for the JIT code event handler. | 5809 * \param options options for the JIT code event handler. |
5798 * \param event_handler the JIT code event handler, which will be invoked | 5810 * \param event_handler the JIT code event handler, which will be invoked |
5799 * each time code is added, moved or removed. | 5811 * each time code is added, moved or removed. |
5800 * \note \p event_handler won't get notified of existent code. | 5812 * \note \p event_handler won't get notified of existent code. |
5801 * \note since code removal notifications are not currently issued, the | 5813 * \note since code removal notifications are not currently issued, the |
5802 * \p event_handler may get notifications of code that overlaps earlier | 5814 * \p event_handler may get notifications of code that overlaps earlier |
5803 * code notifications. This happens when code areas are reused, and the | 5815 * code notifications. This happens when code areas are reused, and the |
(...skipping 2564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
8368 */ | 8380 */ |
8369 | 8381 |
8370 | 8382 |
8371 } // namespace v8 | 8383 } // namespace v8 |
8372 | 8384 |
8373 | 8385 |
8374 #undef TYPE_CHECK | 8386 #undef TYPE_CHECK |
8375 | 8387 |
8376 | 8388 |
8377 #endif // V8_H_ | 8389 #endif // V8_H_ |
OLD | NEW |