Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Side by Side Diff: include/v8.h

Issue 2624973003: [heap] Add API function for checking if the heap limit was increased (Closed)
Patch Set: fix comment Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 7057 matching lines...) Expand 10 before | Expand all | Expand 10 after
7068 * and requires higher heap limit. 7068 * and requires higher heap limit.
7069 */ 7069 */
7070 void IncreaseHeapLimitForDebugging(); 7070 void IncreaseHeapLimitForDebugging();
7071 7071
7072 /** 7072 /**
7073 * Restores the original heap limit after IncreaseHeapLimitForDebugging(). 7073 * Restores the original heap limit after IncreaseHeapLimitForDebugging().
7074 */ 7074 */
7075 void RestoreOriginalHeapLimit(); 7075 void RestoreOriginalHeapLimit();
7076 7076
7077 /** 7077 /**
7078 * Returns true if the heap limit was increased for debugging and the
7079 * original heap limit was not restored yet.
7080 */
7081 bool IsHeapLimitIncreasedForDebugging();
7082
7083 /**
7078 * Allows the host application to provide the address of a function that is 7084 * Allows the host application to provide the address of a function that is
7079 * notified each time code is added, moved or removed. 7085 * notified each time code is added, moved or removed.
7080 * 7086 *
7081 * \param options options for the JIT code event handler. 7087 * \param options options for the JIT code event handler.
7082 * \param event_handler the JIT code event handler, which will be invoked 7088 * \param event_handler the JIT code event handler, which will be invoked
7083 * each time code is added, moved or removed. 7089 * each time code is added, moved or removed.
7084 * \note \p event_handler won't get notified of existent code. 7090 * \note \p event_handler won't get notified of existent code.
7085 * \note since code removal notifications are not currently issued, the 7091 * \note since code removal notifications are not currently issued, the
7086 * \p event_handler may get notifications of code that overlaps earlier 7092 * \p event_handler may get notifications of code that overlaps earlier
7087 * code notifications. This happens when code areas are reused, and the 7093 * code notifications. This happens when code areas are reused, and the
(...skipping 2712 matching lines...) Expand 10 before | Expand all | Expand 10 after
9800 */ 9806 */
9801 9807
9802 9808
9803 } // namespace v8 9809 } // namespace v8
9804 9810
9805 9811
9806 #undef TYPE_CHECK 9812 #undef TYPE_CHECK
9807 9813
9808 9814
9809 #endif // INCLUDE_V8_H_ 9815 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698