openharmony 鸿蒙 capi-jsvm-jsvm-createvmoptions

2026-08-25 浏览 (1)

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

NameDescription
size_t maxOldGenerationSizeMaximum size of the old-generation memory.
size_t maxYoungGenerationSizeMaximum size of the young-generation memory.
size_t initialOldGenerationSizeInitial size of the old-generation memory.
size_t initialYoungGenerationSizeInitial size of the young-generation memory.
const char* snapshotBlobDataStartup snapshot data.
size_t snapshotBlobSizeSize of the startup snapshot data.
bool isForSnapshottingWhether 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.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-jsvm-jsvm-vminfo

openharmony 鸿蒙 capi-memory

openharmony 鸿蒙 js-apis-syscap

openharmony 鸿蒙 capi-memory-purgmem

openharmony 鸿蒙 capi-jsvm-jsvm-callbackstruct8h

openharmony 鸿蒙 capi-jsvm-jsvm-propertydescriptor

openharmony 鸿蒙 js-apis-common-load-native-module

openharmony 鸿蒙 capi-jsvm-jsvm-cpuprofiler--8h

openharmony 鸿蒙 capi-jsvm-jsvm-codecache

openharmony 鸿蒙 capi-jsvm-jsvm-data--8h

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/NDw5H7Dd