Chromium Code Reviews| Index: include/v8.h |
| diff --git a/include/v8.h b/include/v8.h |
| index d39dca96bba8d5b60f46d0ec2e05f616cf71cd0e..fb64fad1dcde0e0be94badee7c81dd1928248554 100644 |
| --- a/include/v8.h |
| +++ b/include/v8.h |
| @@ -3865,8 +3865,8 @@ class V8_EXPORT ResourceConstraints { |
| uint64_t virtual_memory_limit, |
| uint32_t number_of_processors); |
| - int max_new_space_size() const { return max_new_space_size_; } |
| - void set_max_new_space_size(int value) { max_new_space_size_ = value; } |
| + int max_semispace_size() const { return max_semispace_size_; } |
|
Michael Starzinger
2014/05/08 13:22:02
nit: What do you think about "semi_space" instead
Hannes Payer (out of office)
2014/05/08 13:53:44
Yes, better. We are inconsistent in our code base.
|
| + void set_max_semispace_size(int value) { max_semispace_size_ = value; } |
| int max_old_space_size() const { return max_old_space_size_; } |
| void set_max_old_space_size(int value) { max_old_space_size_ = value; } |
| int max_executable_size() const { return max_executable_size_; } |
| @@ -3885,7 +3885,7 @@ class V8_EXPORT ResourceConstraints { |
| } |
| private: |
| - int max_new_space_size_; |
| + int max_semispace_size_; |
| int max_old_space_size_; |
| int max_executable_size_; |
| uint32_t* stack_limit_; |