5 Commits

Author SHA1 Message Date
wengchangcheng fe09e292ef Descriptor: heapprofiler refactor
details:
1. store vm in heap profiler
2. make DumpHeapSnapshot not static
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I57OBY

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I436b17cb96198160437fbe70764181ab080d7c51
2022-05-16 20:28:42 +08:00
Riachel 25aa743438 modify StopHeapTracking Destroy
set heapProfile_ to nullptr after free
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I57OVY

Signed-off-by: Riachel <caolili14@huawei.com>
2022-05-16 19:15:18 +08:00
dingwen 61b6782b65 Snapshot code optimization
Description:Snapshot code optimization include modify class name SnapShotSerialize to SnapShotHandler, delete some magic number, add interface to acquire global env and global const object index.
Issue:https://gitee.com/openharmony/ark_js_runtime/issues/I55CQ3

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: I338028c5cfd4f992095f2bded2956e33f275bb1b
2022-05-07 09:23:06 +08:00
Riachel 3cbf8878ac add heapprofiler domain
Signed-off-by: Riachel <caolili14@huawei.com>
2022-04-28 16:15:49 +08:00
scw 326b0140c9 move dfx feature to dfx dir
ISSUE:https://gitee.com/openharmony/ark_js_runtime/issues/I4SXXS

Signed-off-by: scw <suchongwei@huawei.com>
Change-Id: Ie5ae6a70f5b561b7578702db591affb26a0057d9
2022-03-04 10:52:47 +08:00