harmony 鸿蒙JSVM_HeapStatistics
JSVM_HeapStatistics
Overview
Heap statistics struct, which is used to store statistics about JavaScript heap memory usage.
Since: 12
Related module: JSVM
Summary
Member Variables
Name | Description |
---|---|
size_t totalHeapSize | Total heap size, in KB. |
size_t totalHeapSizeExecutable | Total size of the executable heap, in KB. |
size_t totalPhysicalSize | Total physical memory size, in KB. |
size_t totalAvailableSize | Total available memory size, in KB. |
size_t usedHeapSize | Used heap size, in KB. |
size_t heapSizeLimit | Heap size limit, in KB. |
size_t mallocedMemory | Allocated memory size, in KB. |
size_t externalMemory | External memory size, in KB. |
size_t peakMallocedMemory | Maximum size of the memory that can be allocated, in KB. |
size_t numberOfNativeContexts | Number of active native contexts. If the value keeps increasing, memory leaks may occur. |
size_t numberOfDetachedContexts | Number of detached contexts. |
size_t totalGlobalHandlesSize | Total size of global handles, in KB. |
size_t usedGlobalHandlesSize | Size of the used global handles, in KB. |
Member Variable Description
externalMemory
size_t JSVM_HeapStatistics::externalMemory
Description External memory size, in KB.
heapSizeLimit
size_t JSVM_HeapStatistics::heapSizeLimit
Description Heap size limit, in KB.
mallocedMemory
size_t JSVM_HeapStatistics::mallocedMemory
Description Allocated memory size, in KB.
numberOfDetachedContexts
size_t JSVM_HeapStatistics::numberOfDetachedContexts
Description Number of detached contexts.
numberOfNativeContexts
size_t JSVM_HeapStatistics::numberOfNativeContexts
Description Number of active native contexts. If the value keeps increasing, memory leaks may occur.
peakMallocedMemory
size_t JSVM_HeapStatistics::peakMallocedMemory
Description Maximum size of the memory that can be allocated, in KB.
totalAvailableSize
size_t JSVM_HeapStatistics::totalAvailableSize
Description Total available memory size, in KB.
totalGlobalHandlesSize
size_t JSVM_HeapStatistics::totalGlobalHandlesSize
Description Total size of global handles, in KB.
totalHeapSize
size_t JSVM_HeapStatistics::totalHeapSize
Description Total heap size, in KB.
totalHeapSizeExecutable
size_t JSVM_HeapStatistics::totalHeapSizeExecutable
Description Total size of the executable heap, in KB.
totalPhysicalSize
size_t JSVM_HeapStatistics::totalPhysicalSize
Description Total physical memory size, in KB.
usedGlobalHandlesSize
size_t JSVM_HeapStatistics::usedGlobalHandlesSize
Description Size of the used global handles, in KB.
usedHeapSize
size_t JSVM_HeapStatistics::usedHeapSize
Description Used heap size, in KB.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙JSVM_CreateVMOptions
harmony 鸿蒙JSVM_ExtendedErrorInfo
harmony 鸿蒙JSVM_PropertyDescriptor
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦