v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 3801 | skipping to change at line 3801 | |||
* \param physical_memory The total amount of physical memory on the curr ent | * \param physical_memory The total amount of physical memory on the curr ent | |||
* 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); | |||
// Deprecated. | ||||
void ConfigureDefaults(uint64_t physical_memory, | ||||
uint32_t number_of_processors) { | ||||
ConfigureDefaults(physical_memory, 0, number_of_processors); | ||||
} | ||||
int max_young_space_size() const { return max_young_space_size_; } | int max_young_space_size() const { return max_young_space_size_; } | |||
void set_max_young_space_size(int value) { max_young_space_size_ = value; } | void set_max_young_space_size(int value) { max_young_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; } | |||
End of changes. 1 change blocks. | ||||
5 lines changed or deleted | 0 lines changed or added | |||