Home
last modified time | relevance | path

Searched refs:GC (Results 1 – 25 of 126) sorted by relevance

123456

/ohos5.0/docs/zh-cn/application-dev/arkts-utils/
H A Dgc-introduction.md1 # GC垃圾回收
3 GC(全称 Garbage Collection),即垃圾回收。在计算机领域,GC就是找到内存中的垃圾,释放和回收内存空间。当前主流编程语言实现的GC算法主要分为两大类:引用计数和对象追踪(即Tra…
101 ## GC流程
106 ### HPP GC
117 #### Old GC
131 此后的Smart GC或者 IDLE GC 都是在上述三种GC中做选择。
167 - 典型日志:无直接日志,可以通过GC统计日志看出,GC前 young space 的阈值有动态调整。
208 …tGC对worker线程和taskpool线程不生效)GC触发水线临时调整到js堆最大值(js线程默认448MB),尽量避免触发GC导致应用掉帧。如果敏感场景持续时间过久,对象分配已经达到了堆最大…
231 默认情况下详细的GC日志仅在GC耗时超过40ms的情况下才会打印,如果需要开启所有GC执行的日志需要使用命令在设备中开启。
236 # 设置开启GC全量日志参数,开启参数为0x905d,关闭GC全量日志,设置为默认值为0x105c
[all …]
H A Darkts-runtime-overview.md15 - 内存管理:对象分配器与[垃圾回收器](gc-introduction.md)(并发标记和部分内存压缩的CMS-GC和Partial-Compressing-GC)。
/ohos5.0/docs/en/application-dev/arkts-utils/
H A Dgc-introduction.md1 # GC chapter
100 ## GC Process
105 ### HPP GC
109 #### Young GC
116 #### Old GC
123 #### Full GC
130 Smart GC or idle GC is based on these three GC modes.
134 #### GC Triggered by Space Thread
180 #### CSet for Partial GC
203 ### Smart GC
[all …]
H A Darkts-runtime-overview.md15 …ct allocator and [garbage collector](gc-introduction.md) (CMS-GC and Partial-Compressing-GC for co…
/ohos5.0/docs/en/application-dev/napi/
H A Duse-jsvm-memory-management.md5 …l the memory used by JS code and optimize memory management and garbage collection (GC) mechanisms.
9GC are performed automatically. The JSVM is responsible for tracking the allocation and release of…
16 …Notifies the underlying JSVM that the VM system memory is insufficient and selectively trigger GC.|
73 …to notify the underlying JSVM that the VM system memory is insufficient and selectively trigger GC.
H A Duse-napi-life-cycle.md15 …to and lifecycle of the ArkTS objects, and registering garbage collection (GC) callbacks in C/C++.…
20 - GC callback: You can register GC callbacks to perform specific cleanup operations when ArkTS obje…
192 > The release of a weak reference (**napi_ref** whose reference count is 0) and GC of a JS object d…
/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-small-bundles-fs-support.md72 3. GC(garbage collection)机制:在JFFS2里发生删除动作,实际的物理空间并不会立即释放,而是由独立的GC线程来做空间整理和搬移等GC动作,和所有的GC机制一样,在JFFS2…
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/
H A Dinterface_manager.cpp47 if (info.GetRole() == LinkInfo::LinkMode::GC) { in IsInterfaceAvailable()
82 …ity = static_cast<int32_t>(LinkInfo::LinkMode::GO) | static_cast<uint32_t>(LinkInfo::LinkMode::GC); in InitInterface()
H A Dlink_info.h63 GC = 8, enumerator
/ohos5.0/docs/zh-cn/readme/
H A DARK-Runtime-Subsystem-zh.md43 - 内存管理:对象分配器与垃圾回收器\(并发标记和部分内存压缩的CMS-GC和Partial-Compressing-GC\)
/ohos5.0/docs/zh-cn/application-dev/reference/apis-performance-analysis-kit/
H A Djs-apis-hidebug.md737 | [GcStats](#gcstats12) | 系统GC统计信息。 |
764 | item | string | 是 | 需要获取GC信息的类型。 |
768 | ark.gc.gc-count | 当前线程的GC次数。 |
769 | ark.gc.gc-time | 当前线程触发的GC总耗时,以ms为单位。 |
771 | ark.gc.gc-bytes-freed | 当前线程GC成功回收的内存,以B为单位。 |
912 用于存储GC统计信息的键值对。该类型不是多线程安全的,如果应用中存在多线程同时操作该类派生出的实例,注意加锁保护。
924 | ark.gc.gc-count | number | 当前线程的GC次数。|
925 | ark.gc.gc-time | number | 当前线程触发的GC总耗时,以ms为单位。 |
927 | ark.gc.gc-bytes-freed | number | 当前线程GC成功回收的内存,以B为单位。|
H A Djs-apis-jsleakwatcher.md64 获取已通过jsLeakWatcher.watch注册且可能发生泄露的对象列表,触发GC后未被回收的对象会被标记为泄露
/ohos5.0/docs/zh-cn/application-dev/napi/
H A Duse-jsvm-life-cycle.md31 | OH_JSVM_OpenHandleScope | 打开一个Handle scope,确保scope范围内的JSVM_Value不被GC回收 |
271 // 关闭 handlescope,触发 GCGC 时 Finalizer 会被调用
H A Djsvm-introduction.md42 - Memory Adjustment:调整外部内存大小、虚拟机内存压力,以加快触发GC
/ohos5.0/docs/zh-cn/application-dev/connectivity/wlan/
H A Dwlan-overview.md16 …需要AP的参与;其中一台STA会起到传统意义上的AP的作用,称为Group Owner(GO),另外一台station则称为Group Client(GC),像连接AP一样连接到GO。详情请参考[…
/ohos5.0/docs/en/application-dev/reference/apis-performance-analysis-kit/
H A Djs-apis-hidebug.md729 Obtains all system GC statistics.
737 | [GcStats](#gcstats12) | System GC statistics.|
756 Obtains the specified system GC statistics based on parameters.
764 | item | string | Yes | Item of the GC statistics to be obtained.|
768 | ark.gc.gc-count | Count of GC of the calling thread. |
769 | ark.gc.gc-time | GC time triggered by the calling thread, in milliseconds.|
771 | ark.gc.gc-bytes-freed | Memory freed by the GC of the calling thread, in bytes.|
912 Key-value pair format used to store GC statistics. This type is not multi-thread safe. If a **GcSta…
924 | ark.gc.gc-count | number | Count of GC of the calling thread.|
925 | ark.gc.gc-time | number | GC time triggered by the calling thread, in milliseconds.|
[all …]
/ohos5.0/docs/en/application-dev/dfx/
H A Dhidebug-guidelines-arkts.md29 | hidebug.getVMRuntimeStats | Obtains all system GC statistics. …
30 | hidebug.getVMRuntimeStat | Obtains the specified system GC statistics based on paramete…
H A Dhidumper.md33GC) and exports the snapshot of all threads. **pid** is mandatory. If **tid** is specified, trigge…
707GC and export snapshot of all threads. **pid** is mandatory. Specify **tid** to trigger GC and exp…
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/entity/
H A Dp2p_entity_test.cpp251 info.SetRole(LinkInfo::LinkMode::GC); in __anonbb7b86e20502()
286 info.SetRole(LinkInfo::LinkMode::GC); in __anonbb7b86e20702()
437 info.SetRole(LinkInfo::LinkMode::GC); in __anonbb7b86e20c02()
/ohos5.0/docs/zh-cn/application-dev/reference/common/
H A Djsvm__types_8h.md51 …cope是使用 OH_JSVM_OpenHandleScope创建的,并使用OH_JSVM_CloseHandleScope销毁的。 关闭作用域代表向GC指示在JSVM_HandleScope作用…
56 …void \*finalizeHint) | 函数指针类型,当native类型对象或数据与JS对象被关联时,传入该指针。该函数将会 在关联的JS对象被GC回收时被调用,用以执行native的清理动…
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.36/
H A Dchangelogs-arkcompiler.md40 export default NonSendableClass; // 引发 GC 时崩溃
/ohos5.0/docs/zh-cn/application-dev/performance/
H A Dapplication-performance-analysis.md141 当前支持8类函数名标签,分别是(NAPI)、(ARKUI_ENGINE)、(BUILTIN)、(GC)、(AINT)、(CINT)、(AOT)、(RUNTIME)。可为应用开发者及系统开发者对各部分…
149 - **(GC)**:垃圾回收阶段。
/ohos5.0/base/hiviewdfx/hidumper/
H A DREADME.md173 …f -T is specified, only the thread's GC and snapshot export will be triggered; If --gc is specifie…
/ohos5.0/docs/en/readme/
H A DARK-Runtime-Subsystem.md37 …- Memory management: object allocator and garbage collector (CMS-GC and Partial-Compressing-GC for…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-telephony-kit/
H A Dndk-apis-telephony-radio.md140 | TEL_NSA_STATE_SA_ATTACHED | 设备在5GC附着时在NG-RAN小区下空闲或连接到NG-RAN小区。 |

123456