Chromium Code Reviews| Index: include/v8-defaults.h |
| diff --git a/include/v8-defaults.h b/include/v8-defaults.h |
| index 381a48210d1b9895fbda4e4c89eb0e51fa61b6d0..4edba558a186a7e572cfe58058631be5b886dd52 100644 |
| --- a/include/v8-defaults.h |
| +++ b/include/v8-defaults.h |
| @@ -35,6 +35,16 @@ |
| */ |
| namespace v8 { |
| + |
| +/** |
| + * Initializes the v8-defaults subsystem. Should be called before |
| + * ConfigureResourceConstraintsForCurrentPlatform or |
| + * SetDefaultResourceConstraintsForCurrentPlatform. |
| + */ |
| +void V8_EXPORT InitializeDefaultsForCurrentPlatform( |
| + uint64_t total_physical_memory); |
|
Benedikt Meurer
2013/10/24 18:09:02
There was probably some misunderstanding on our si
rmcilroy
2013/10/24 21:06:56
No, this is what I discussed with Daniel over VC a
danno
2013/10/25 07:26:15
I apologize, this misunderstanding appears to be m
|
| + |
| + |
| /** |
| * Configures the constraints with reasonable default values based on the |
| * capabilities of the current device the VM is running on. |