JSVM_CreateVMOptions
typedef struct {...} JSVM_CreateVMOptions
Overview
Defines options for creating a JavaScript VM.
Since: 11
Related module: JSVM
Header file: jsvm_types.h
Summary
Member Variables
| Name | Description |
|---|---|
| size_t maxOldGenerationSize | Maximum size of the old-generation memory. |
| size_t maxYoungGenerationSize | Maximum size of the young-generation memory. |
| size_t initialOldGenerationSize | Initial size of the old-generation memory. |
| size_t initialYoungGenerationSize | Initial size of the young-generation memory. |
| const char* snapshotBlobData | Startup snapshot data. |
| size_t snapshotBlobSize | Size of the startup snapshot data. |
| bool isForSnapshotting | Whether the VM is used for snapshotting. If the value is true, VM is used for snapshotting. If the value is false, VM is not used for snapshotting. |