v8.h   v8.h 
skipping to change at line 3802 skipping to change at line 3802
* device, in bytes. * device, in bytes.
* \param virtual_memory_limit The amount of virtual memory on the curren t * \param virtual_memory_limit The amount of virtual memory on the curren t
* device, in bytes, or zero, if there is no limit. * device, in bytes, or zero, if there is no limit.
* \param number_of_processors The number of CPUs available on the curren t * \param number_of_processors The number of CPUs available on the curren t
* device. * device.
*/ */
void ConfigureDefaults(uint64_t physical_memory, void ConfigureDefaults(uint64_t physical_memory,
uint64_t virtual_memory_limit, uint64_t virtual_memory_limit,
uint32_t number_of_processors); uint32_t number_of_processors);
int max_young_space_size() const { return max_young_space_size_; } int max_new_space_size() const { return max_new_space_size_; }
void set_max_young_space_size(int value) { max_young_space_size_ = value; void set_max_new_space_size(int value) { max_new_space_size_ = value; }
}
int max_old_space_size() const { return max_old_space_size_; } int max_old_space_size() const { return max_old_space_size_; }
void set_max_old_space_size(int value) { max_old_space_size_ = value; } void set_max_old_space_size(int value) { max_old_space_size_ = value; }
int max_executable_size() const { return max_executable_size_; } int max_executable_size() const { return max_executable_size_; }
void set_max_executable_size(int value) { max_executable_size_ = value; } void set_max_executable_size(int value) { max_executable_size_ = value; }
uint32_t* stack_limit() const { return stack_limit_; } uint32_t* stack_limit() const { return stack_limit_; }
// Sets an address beyond which the VM's stack may not grow. // Sets an address beyond which the VM's stack may not grow.
void set_stack_limit(uint32_t* value) { stack_limit_ = value; } void set_stack_limit(uint32_t* value) { stack_limit_ = value; }
int max_available_threads() const { return max_available_threads_; } int max_available_threads() const { return max_available_threads_; }
// Set the number of threads available to V8, assuming at least 1. // Set the number of threads available to V8, assuming at least 1.
void set_max_available_threads(int value) { void set_max_available_threads(int value) {
max_available_threads_ = value; max_available_threads_ = value;
} }
int code_range_size() const { return code_range_size_; } int code_range_size() const { return code_range_size_; }
void set_code_range_size(int value) { void set_code_range_size(int value) {
code_range_size_ = value; code_range_size_ = value;
} }
private: private:
int max_young_space_size_; int max_new_space_size_;
int max_old_space_size_; int max_old_space_size_;
int max_executable_size_; int max_executable_size_;
uint32_t* stack_limit_; uint32_t* stack_limit_;
int max_available_threads_; int max_available_threads_;
int code_range_size_; int code_range_size_;
}; };
/** /**
* Sets the given ResourceConstraints on the given Isolate. * Sets the given ResourceConstraints on the given Isolate.
*/ */
 End of changes. 2 change blocks. 
4 lines changed or deleted 3 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/