OLD | NEW |
---|---|
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 3941 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3952 * \param physical_memory The total amount of physical memory on the current | 3952 * \param physical_memory The total amount of physical memory on the current |
3953 * device, in bytes. | 3953 * device, in bytes. |
3954 * \param virtual_memory_limit The amount of virtual memory on the current | 3954 * \param virtual_memory_limit The amount of virtual memory on the current |
3955 * device, in bytes, or zero, if there is no limit. | 3955 * device, in bytes, or zero, if there is no limit. |
3956 * \param number_of_processors The number of CPUs available on the current | 3956 * \param number_of_processors The number of CPUs available on the current |
3957 * device. | 3957 * device. |
3958 */ | 3958 */ |
3959 void ConfigureDefaults(uint64_t physical_memory, | 3959 void ConfigureDefaults(uint64_t physical_memory, |
3960 uint64_t virtual_memory_limit, | 3960 uint64_t virtual_memory_limit, |
3961 uint32_t number_of_processors); | 3961 uint32_t number_of_processors); |
3962 // Deprecated. | |
Paweł Hajdan Jr.
2014/04/17 14:16:24
Wait, this did not get through V8_DEPRECATED proce
jochen (gone - plz use gerrit)
2014/04/17 14:20:31
There is no such process.
Paweł Hajdan Jr.
2014/04/28 12:21:11
I'm surprised by this, could you explain more?
I
| |
3963 void ConfigureDefaults(uint64_t physical_memory, | |
3964 uint32_t number_of_processors) { | |
3965 ConfigureDefaults(physical_memory, 0, number_of_processors); | |
3966 } | |
3967 | 3962 |
3968 int max_young_space_size() const { return max_young_space_size_; } | 3963 int max_young_space_size() const { return max_young_space_size_; } |
3969 void set_max_young_space_size(int value) { max_young_space_size_ = value; } | 3964 void set_max_young_space_size(int value) { max_young_space_size_ = value; } |
3970 int max_old_space_size() const { return max_old_space_size_; } | 3965 int max_old_space_size() const { return max_old_space_size_; } |
3971 void set_max_old_space_size(int value) { max_old_space_size_ = value; } | 3966 void set_max_old_space_size(int value) { max_old_space_size_ = value; } |
3972 int max_executable_size() const { return max_executable_size_; } | 3967 int max_executable_size() const { return max_executable_size_; } |
3973 void set_max_executable_size(int value) { max_executable_size_ = value; } | 3968 void set_max_executable_size(int value) { max_executable_size_ = value; } |
3974 uint32_t* stack_limit() const { return stack_limit_; } | 3969 uint32_t* stack_limit() const { return stack_limit_; } |
3975 // Sets an address beyond which the VM's stack may not grow. | 3970 // Sets an address beyond which the VM's stack may not grow. |
3976 void set_stack_limit(uint32_t* value) { stack_limit_ = value; } | 3971 void set_stack_limit(uint32_t* value) { stack_limit_ = value; } |
(...skipping 2725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6702 */ | 6697 */ |
6703 | 6698 |
6704 | 6699 |
6705 } // namespace v8 | 6700 } // namespace v8 |
6706 | 6701 |
6707 | 6702 |
6708 #undef TYPE_CHECK | 6703 #undef TYPE_CHECK |
6709 | 6704 |
6710 | 6705 |
6711 #endif // V8_H_ | 6706 #endif // V8_H_ |
OLD | NEW |