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 5887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5898 uint64_t virtual_memory_limit); | 5898 uint64_t virtual_memory_limit); |
5899 | 5899 |
5900 int max_semi_space_size() const { return max_semi_space_size_; } | 5900 int max_semi_space_size() const { return max_semi_space_size_; } |
5901 void set_max_semi_space_size(int limit_in_mb) { | 5901 void set_max_semi_space_size(int limit_in_mb) { |
5902 max_semi_space_size_ = limit_in_mb; | 5902 max_semi_space_size_ = limit_in_mb; |
5903 } | 5903 } |
5904 int max_old_space_size() const { return max_old_space_size_; } | 5904 int max_old_space_size() const { return max_old_space_size_; } |
5905 void set_max_old_space_size(int limit_in_mb) { | 5905 void set_max_old_space_size(int limit_in_mb) { |
5906 max_old_space_size_ = limit_in_mb; | 5906 max_old_space_size_ = limit_in_mb; |
5907 } | 5907 } |
5908 int max_executable_size() const { return max_executable_size_; } | 5908 V8_DEPRECATE_SOON("max_executable_size_ is subsumed by max_old_space_size_", |
5909 void set_max_executable_size(int limit_in_mb) { | 5909 int max_executable_size() const) { |
| 5910 return max_executable_size_; |
| 5911 } |
| 5912 V8_DEPRECATE_SOON("max_executable_size_ is subsumed by max_old_space_size_", |
| 5913 void set_max_executable_size(int limit_in_mb)) { |
5910 max_executable_size_ = limit_in_mb; | 5914 max_executable_size_ = limit_in_mb; |
5911 } | 5915 } |
5912 uint32_t* stack_limit() const { return stack_limit_; } | 5916 uint32_t* stack_limit() const { return stack_limit_; } |
5913 // Sets an address beyond which the VM's stack may not grow. | 5917 // Sets an address beyond which the VM's stack may not grow. |
5914 void set_stack_limit(uint32_t* value) { stack_limit_ = value; } | 5918 void set_stack_limit(uint32_t* value) { stack_limit_ = value; } |
5915 size_t code_range_size() const { return code_range_size_; } | 5919 size_t code_range_size() const { return code_range_size_; } |
5916 void set_code_range_size(size_t limit_in_mb) { | 5920 void set_code_range_size(size_t limit_in_mb) { |
5917 code_range_size_ = limit_in_mb; | 5921 code_range_size_ = limit_in_mb; |
5918 } | 5922 } |
5919 size_t max_zone_pool_size() const { return max_zone_pool_size_; } | 5923 size_t max_zone_pool_size() const { return max_zone_pool_size_; } |
(...skipping 4181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10101 */ | 10105 */ |
10102 | 10106 |
10103 | 10107 |
10104 } // namespace v8 | 10108 } // namespace v8 |
10105 | 10109 |
10106 | 10110 |
10107 #undef TYPE_CHECK | 10111 #undef TYPE_CHECK |
10108 | 10112 |
10109 | 10113 |
10110 #endif // INCLUDE_V8_H_ | 10114 #endif // INCLUDE_V8_H_ |
OLD | NEW |