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 7026 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7037 /** | 7037 /** |
7038 * Optional notification to tell V8 the current performance requirements | 7038 * Optional notification to tell V8 the current performance requirements |
7039 * of the embedder based on RAIL. | 7039 * of the embedder based on RAIL. |
7040 * V8 uses these notifications to guide heuristics. | 7040 * V8 uses these notifications to guide heuristics. |
7041 * This is an unfinished experimental feature. Semantics and implementation | 7041 * This is an unfinished experimental feature. Semantics and implementation |
7042 * may change frequently. | 7042 * may change frequently. |
7043 */ | 7043 */ |
7044 void SetRAILMode(RAILMode rail_mode); | 7044 void SetRAILMode(RAILMode rail_mode); |
7045 | 7045 |
7046 /** | 7046 /** |
| 7047 * Optional notification to tell V8 the current isolate is used for debugging |
| 7048 * and requires higher heap limit. |
| 7049 */ |
| 7050 void IncreaseHeapLimitForDebugging(); |
| 7051 |
| 7052 /** |
| 7053 * Restores the original heap limit after IncreaseHeapLimitForDebugging(). |
| 7054 */ |
| 7055 void RestoreOriginalHeapLimit(); |
| 7056 |
| 7057 /** |
7047 * Allows the host application to provide the address of a function that is | 7058 * Allows the host application to provide the address of a function that is |
7048 * notified each time code is added, moved or removed. | 7059 * notified each time code is added, moved or removed. |
7049 * | 7060 * |
7050 * \param options options for the JIT code event handler. | 7061 * \param options options for the JIT code event handler. |
7051 * \param event_handler the JIT code event handler, which will be invoked | 7062 * \param event_handler the JIT code event handler, which will be invoked |
7052 * each time code is added, moved or removed. | 7063 * each time code is added, moved or removed. |
7053 * \note \p event_handler won't get notified of existent code. | 7064 * \note \p event_handler won't get notified of existent code. |
7054 * \note since code removal notifications are not currently issued, the | 7065 * \note since code removal notifications are not currently issued, the |
7055 * \p event_handler may get notifications of code that overlaps earlier | 7066 * \p event_handler may get notifications of code that overlaps earlier |
7056 * code notifications. This happens when code areas are reused, and the | 7067 * code notifications. This happens when code areas are reused, and the |
(...skipping 2691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9748 */ | 9759 */ |
9749 | 9760 |
9750 | 9761 |
9751 } // namespace v8 | 9762 } // namespace v8 |
9752 | 9763 |
9753 | 9764 |
9754 #undef TYPE_CHECK | 9765 #undef TYPE_CHECK |
9755 | 9766 |
9756 | 9767 |
9757 #endif // INCLUDE_V8_H_ | 9768 #endif // INCLUDE_V8_H_ |
OLD | NEW |