Searched refs:jsLeakWatcher (Results 1 – 7 of 7) sorted by relevance
1 # @ohos.hiviewdfx.jsLeakWatcher (js泄露检测)12 import { jsLeakWatcher } from '@kit.PerformanceAnalysisKit';16 ## jsLeakWatcher.enable28 | isEnable | boolean | 是 | 是否使能jsLeakWatcher |33 jsLeakWatcher.enable(true);37 ## jsLeakWatcher.watch56 jsLeakWatcher.watch(obj, "Trace Object");60 ## jsLeakWatcher.check64 获取已通过jsLeakWatcher.watch注册且可能发生泄露的对象列表,触发GC后未被回收的对象会被标记为泄露76 let leakObjlist:string = jsLeakWatcher.check();[all …]
11 - [@ohos.hiviewdfx.jsLeakWatcher (js泄露检测)](js-apis-jsleakwatcher.md)
1 # @ohos.hiviewdfx.jsLeakWatcher (JSLeakWatcher)12 import { jsLeakWatcher } from '@kit.PerformanceAnalysisKit';16 ## jsLeakWatcher.enable28 | isEnable | boolean | Yes| Indicates whether to enable **jsLeakWatcher**.|33 jsLeakWatcher.enable(true);37 ## jsLeakWatcher.watch56 jsLeakWatcher.watch(obj, "Trace Object");60 ## jsLeakWatcher.check76 let leakObjlist:string = jsLeakWatcher.check();80 ## jsLeakWatcher.dump[all …]
11 - [@ohos.hiviewdfx.jsLeakWatcher (JS Leak Watcher)](js-apis-jsleakwatcher.md)
118 let jsLeakWatcher = { class193 export default jsLeakWatcher;
3635 …- [@ohos.hiviewdfx.jsLeakWatcher (js泄露检测)](reference/apis-performance-analysis-kit/js-apis-jsleakw…
3494 …- [@ohos.hiviewdfx.jsLeakWatcher (JS Leak Detection)](reference/apis-performance-analysis-kit/js-a…