openharmony 鸿蒙 capi-jsvm-jsvm-heapstatistics

2026-08-25 浏览 (1)

JSVM_HeapStatistics

typedef struct {...} JSVM_HeapStatistics

Overview

Stores statistics about JavaScript heap memory usage.

Since: 12

Related module: JSVM

Header file: jsvm_types.h

Summary

Member Variables

NameDescription
size_t totalHeapSizeTotal heap size, in KB.
size_t totalHeapSizeExecutableTotal size of the executable heap, in KB.
size_t totalPhysicalSizeTotal physical memory size, in KB.
size_t totalAvailableSizeTotal available memory size, in KB.
size_t usedHeapSizeUsed heap size, in KB.
size_t heapSizeLimitHeap size limit, in KB.
size_t mallocedMemoryAllocated memory size, in KB.
size_t externalMemoryExternal memory size, in KB.
size_t peakMallocedMemoryMaximum size of the memory that can be allocated, in KB.
size_t numberOfNativeContextsNumber of active native contexts. If the value keeps increasing, memory leaks may occur.
size_t numberOfDetachedContextsNumber of detached contexts.
size_t totalGlobalHandlesSizeTotal size of global handles, in KB.
size_t usedGlobalHandlesSizeSize of the used global handles, in KB.

你可能感兴趣的鸿蒙文章

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/Dbh0lVpL