Home
last modified time | relevance | path

Searched refs:jsLeakWatcher (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/reference/apis-performance-analysis-kit/
H A Djs-apis-jsleakwatcher.md1 # @ohos.hiviewdfx.jsLeakWatcher (js泄露检测)
12 import { jsLeakWatcher } from '@kit.PerformanceAnalysisKit';
16 ## jsLeakWatcher.enable
28 | isEnable | boolean | 是 | 是否使能jsLeakWatcher |
33 jsLeakWatcher.enable(true);
37 ## jsLeakWatcher.watch
56 jsLeakWatcher.watch(obj, "Trace Object");
60 ## jsLeakWatcher.check
64 获取已通过jsLeakWatcher.watch注册且可能发生泄露的对象列表,触发GC后未被回收的对象会被标记为泄露
76 let leakObjlist:string = jsLeakWatcher.check();
[all …]
H A DReadme-CN.md11 - [@ohos.hiviewdfx.jsLeakWatcher (js泄露检测)](js-apis-jsleakwatcher.md)
/ohos5.0/docs/en/application-dev/reference/apis-performance-analysis-kit/
H A Djs-apis-jsleakwatcher.md1 # @ohos.hiviewdfx.jsLeakWatcher (JSLeakWatcher)
12 import { jsLeakWatcher } from '@kit.PerformanceAnalysisKit';
16 ## jsLeakWatcher.enable
28 | isEnable | boolean | Yes| Indicates whether to enable **jsLeakWatcher**.|
33 jsLeakWatcher.enable(true);
37 ## jsLeakWatcher.watch
56 jsLeakWatcher.watch(obj, "Trace Object");
60 ## jsLeakWatcher.check
76 let leakObjlist:string = jsLeakWatcher.check();
80 ## jsLeakWatcher.dump
[all …]
H A DReadme-EN.md11 - [@ohos.hiviewdfx.jsLeakWatcher (JS Leak Watcher)](js-apis-jsleakwatcher.md)
/ohos5.0/base/hiviewdfx/hichecker/interfaces/js/kits/napi/js_leak_watcher/
H A Djs_leak_watcher.js118 let jsLeakWatcher = { class
193 export default jsLeakWatcher;
/ohos5.0/docs/zh-cn/application-dev/
H A Dwebsite.md3635 …- [@ohos.hiviewdfx.jsLeakWatcher (js泄露检测)](reference/apis-performance-analysis-kit/js-apis-jsleakw…
/ohos5.0/docs/en/application-dev/
H A Dwebsite.md3494 …- [@ohos.hiviewdfx.jsLeakWatcher (JS Leak Detection)](reference/apis-performance-analysis-kit/js-a…