harmony 鸿蒙JSVM_CreateVMOptions

  • 2025-06-12
  • 浏览 (4)

JSVM_CreateVMOptions

Overview

Options for creating a JavaScript VM.

Since: 11

Related module: JSVM

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.

Member Variable Description

initialOldGenerationSize

size_t JSVM_CreateVMOptions::initialOldGenerationSize

Description Initial size of the old-generation memory.

initialYoungGenerationSize

size_t JSVM_CreateVMOptions::initialYoungGenerationSize

Description Initial size of the young-generation memory.

isForSnapshotting

bool JSVM_CreateVMOptions::isForSnapshotting

Description Whether the VM is used for snapshotting.

maxOldGenerationSize

size_t JSVM_CreateVMOptions::maxOldGenerationSize

Description Maximum size of the old-generation memory.

maxYoungGenerationSize

size_t JSVM_CreateVMOptions::maxYoungGenerationSize

Description Maximum size of the young-generation memory.

snapshotBlobData

const char* JSVM_CreateVMOptions::snapshotBlobData

Description Startup snapshot data.

snapshotBlobSize

size_t JSVM_CreateVMOptions::snapshotBlobSize

Description Size of the startup snapshot data.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Common Capabilities

harmony 鸿蒙_j_s_v_m

harmony 鸿蒙JSVM_CallbackStruct

harmony 鸿蒙JSVM_ExtendedErrorInfo

harmony 鸿蒙JSVM_HeapStatistics

harmony 鸿蒙JSVM_InitOptions

harmony 鸿蒙JSVM_PropertyDescriptor

harmony 鸿蒙JSVM_PropertyHandlerConfigurationStruct

harmony 鸿蒙JSVM_ScriptOrigin

harmony 鸿蒙JSVM_TypeTag

0  赞