114 Commits

Author SHA1 Message Date
openharmony_ci 85ffbea88f !1740 heapprofiler support traceAllocation
Merge pull request !1740 from Riachel/master
2022-07-09 15:17:20 +00:00
Riachel 7ad57f2544 Descriptor: heapprofiler support traceAllocation
details:
heapprofiler support traceAllocation
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5FOAE

Signed-off-by: Riachel <caolili14@huawei.com>
2022-07-08 16:42:46 +08:00
wengchangcheng cd90e396a7 Descriptor: ark hilog refactor
details:
1. use hilog in ohos device
2. use panda logger in host
issue:  https://gitee.com/openharmony/ark_js_runtime/issues/I5FR5J

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I6f5de00751154bdb6aac3101515961a3a4432e80
2022-07-06 22:55:49 +08:00
openharmony_ci 446b5ac238 !1699 fix some bugs for heapstatsupdate event
Merge pull request !1699 from Riachel/master
2022-06-30 11:55:08 +00:00
Riachel 19638b87af Descriptor: fix some bugs for heapstatsupdate event
details:
change timestamp
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5ETMX

Signed-off-by: Riachel <caolili14@huawei.com>
2022-06-30 11:10:16 +08:00
openharmony_ci d55b5632ff !1693 heapprofiler add log
Merge pull request !1693 from 堂宇/master
2022-06-29 11:53:39 +00:00
Rtangyu 36db9bbe88 heapprofiler add log
issues:https://gitee.com/openharmony/ark_js_runtime/issues/I5ENV7

Signed-off-by: Rtangyu <rentangyu@huawei.com>
2022-06-29 14:11:04 +08:00
openharmony_ci 367211289e !1640 Memory leaked in window's Testing Application
Merge pull request !1640 from yingguofeng/master
2022-06-22 06:49:48 +00:00
openharmony_ci 951743c189 !1437 Add Container LightWeightMap And LightWeightSet
Merge pull request !1437 from shisan_forwork/push_lightweight
2022-06-22 02:25:19 +00:00
yingguofeng@huawei.com 86432994a8 It need to earse object from TaggedQueue when pop
Description:Memory leaked in window's Testing Application

Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5DF7W?from=project-issue
Change-Id: I8d24df9152688512e8d479cf7a91bab205c409c8
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2022-06-22 09:36:41 +08:00
openharmony_ci 5c10d2b811 !1610 cpuprofiler支持Native方法指针打印
Merge pull request !1610 from 堂宇/master
2022-06-21 10:51:32 +00:00
shisan_forwork 7fe5fd4847 Add Container LightWeightMap and LightWeightSet
Description
    To ensure the high performance of container classes, lightweight map
    and lightweightset are provided in ark.
Related issues
    #I566FV:Add Container LightWeightMap And LightWeightSet

Signed-off-by: shisan_forwork <chengjunxiong@huawei.com>
2022-06-21 10:02:29 +08:00
openharmony_ci b01688101e !1576 Upload finally, any and allsettled codes of promise module
Merge pull request !1576 from 史凯/master
2022-06-20 03:09:24 +00:00
shikai-123 aa6490370f Upload promise code
Upload finally/any/allSettled module of promise code

issues: https://gitee.com/openharmony/ark_js_runtime/issues/I5BFGU

Signed-off-by: shikai-123 <shikai25@huawei.com>
2022-06-20 09:24:17 +08:00
wengchangcheng 6468341c72 Descriptor: delete some internal unused code
details: delete unused code
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5COHE

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I5fe62c58353839d4aac1144fc99e2cf87f4374eb
2022-06-17 23:03:42 +08:00
Rtangyu 36dd6d33bd Cpupprofiler supports native method pointer printing
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5CPNX

Signed-off-by: Rtangyu <rentangyu@huawei.com>
2022-06-17 11:05:45 +08:00
wengchangcheng 1cc4e3a60e Descriptor: debugger refactor of independent js_runtime [ part-4 ]
details:
1. Add PtBaseReturns::ToJson
2. Add PtBaseEvents::ToJson
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5C3FS

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Ic8028d79f62b91724f22c63e8062d57367b5f27e
2022-06-15 22:24:45 +08:00
yingguofeng@huawei.com 1dd62cf68f Description:Native Memory Leak or error
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5C883?from=project-issue
Change-Id: I3cdf41f9292fccb9a7e1164babc30cf77e6ac163
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2022-06-15 10:59:47 +08:00
hjzhangcm bd009036d8 fix codex warning issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5C3XK
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-06-14 10:38:06 +08:00
Yuqiang Xian ec35dbada7 Merge remote-tracking branch 'oh/master' 2022-06-13 11:49:01 +08:00
wangben f0c68e40cc Solve the problem of sample thread deadlock
Description:Avoid deadlocks by increasing the semaphore

issues:https://gitee.com/openharmony/ark_js_runtime/issues/I5BLJI

Signed-off-by: wangben <wangben15@huawei.com>
2022-06-10 15:01:33 +08:00
openharmony_ci a6f3b2b8a6 !1177 Require function realization
Merge pull request !1177 from DaiHN/require
2022-06-09 12:51:21 +00:00
hjzhangcm 7555cf4213 fix codex warning issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5BCD6?from=project-issue
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-06-08 16:29:33 +08:00
Yuqiang Xian 9a35d504b2 Merge remote-tracking branch 'oh/master' 2022-06-08 11:21:28 +08:00
DaiH eee606c334 Support CommonJS's module export function
------------------------------------------
    1. Support CommonJS's module export function
    2. Related test cases
    issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5590V

Signed-off-by: DaiH <daihuina1@huawei.com>
Change-Id: I18968f6a6b971fbe833d91ef98813964cc8292c9
2022-06-08 10:59:06 +08:00
wengchangcheng c2e20b03d5 Descriptor: debugger refactor of independent js_runtime [ part-1 ]
details: using stl instead of js_runtime container ans string
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5AYKS

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I32b4809a4bbd759a562326a59e0cfb0e8e728297
2022-06-07 17:47:53 +08:00
openharmony_ci 69f27f5326 !1476 Added method to set sampling interval
Merge pull request !1476 from buzhuyu/master
2022-06-07 06:38:16 +00:00
Riachel 557c07bb07 Descriptor: support heapprofiler domain
details:
1. add statsUpdate event
2. add lastObjectId event
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5AUJA

Signed-off-by: Riachel <caolili14@huawei.com>
2022-06-07 11:29:50 +08:00
xwx1135370 01c0660346 Added method to set sampling interval
add ProfileImpl.SetSamplingInterval
ISSUE:https://gitee.com/openharmony/ark_js_runtime/issues/I5A8ZK

Signed-off-by: buzhuyu <buzhuyu@huawei.com>
Change-Id: I39912ff70935d947222e9aef0340063ab82b6717
2022-06-06 20:40:41 +08:00
openharmony_ci 965fb6c308 !1497 debugger refactor [ part-2 ]
Merge pull request !1497 from changcheng/debugger_refactor
2022-06-05 05:19:23 +00:00
wengchangcheng a4c2a56a0d Descriptor: debugger refactor [ part-2 ]
details:
1. modify unique ptr to const reference
2. delete some unused method
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I59PAK

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I9432b021b2257932d943a832e7401e25d5a1c37d
2022-06-04 21:38:46 +08:00
chenqi 666eb6b8bd Add Containers List And LinkedList
Description
    1.To ensure the high performance of container classes, List and LinkedList is provided in ark.
    2.modify Copyright 2021->2022.
    3.fix containers.
Related issue
    #I58XA9:Add Containers List And LinkedList.

Signed-off-by: chenqi <chenqi151@huawei.com>
2022-06-02 17:02:40 +08:00
Yuqiang Xian c492d6a7bc Merge remote-tracking branch 'oh/master' 2022-06-02 00:31:44 +08:00
Yuqiang Xian 03e1ff5f35 Redesign the region flag setting and fix potential bugs within it.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I590Z8

Signed-off-by: Yuqiang Xian <xianyuqiang@huawei.com>
2022-06-01 11:38:56 +08:00
buzhuyu 34751aae65 add cpuProfileNode.hitCount member
ISSUE:https://gitee.com/openharmony/ark_js_runtime/issues/I59YDA
Signed-off-by: buzhuyu <buzhuyu@huawei.com>
2022-05-30 16:59:12 +08:00
openharmony_ci 80f810fc8f !1432 Add multi-abc-file support in stub compiler and aot compiler and related adaptation.
Merge pull request !1432 from luochuhao/unifycomandbc
2022-05-29 15:40:52 +00:00
luochuhao 7522f51989 Add multi-abc-file support in stub compiler and aot compiler and related adaptation.
Use methodId of func in pandafile as index for each aot func in llvmModule.

Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I598P5
Signed-off-by: luochuhao <luochuhao@huawei.com>
Change-Id: I9646d6a80c8138744ebbd617837550b4661f27d3
2022-05-29 16:59:27 +08:00
buzhuyu f241c7f7e4 Modify the time type
ISSUE:https://gitee.com/openharmony/ark_js_runtime/issues/I59LQ9
Signed-off-by: buzhuyu <buzhuyu@huawei.com>
2022-05-28 17:26:53 +08:00
hjzhangcm 8bd410fede add test case for JSCollator and fix codex warning and js_locale_test bug
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-05-26 18:12:00 +08:00
openharmony_ci afdf5d0c2a !1256 CpuProfiler support return profileinfo
Merge pull request !1256 from 苏重威/master
2022-05-25 01:04:57 +00:00
scw 30b5aeb748 CpuProfiler support return profileinfo
Add start and stop API in cpuprofiler to return profileinfo

issue:https://gitee.com/openharmony/ark_js_runtime/issues/I56SFR

Signed-off-by: scw <suchongwei@huawei.com>
2022-05-24 19:20:26 +08:00
shisan_forwork 5adb25b225 Add Container Vector
Description
   To ensure the high performance of container classes, vector is
   provided in ark.
Related issue
   #I4XCD9:add container vector

Signed-off-by: shisan_forwork <chengjunxiong@huawei.com>
2022-05-23 20:40:25 +08:00
wengchangcheng a4f9603e75 Descriptor: modify stream and add switch of enable_dump_in_faultlog
details:
1. call EndOfStream after WriteChunk
2. add switch of enable_dump_in_faultlog
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I58KLM

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I1c9b26873eae47f8e9e5788cd7a477f32738efc9
2022-05-21 16:37:04 +08:00
openharmony_ci 31ec8e87dd !1313 Add regExp.matchAll interface and symbol.matchAll and regExp iterator related functions
Merge pull request !1313 from 王犇/master
2022-05-18 11:04:47 +00:00
wangben 0ae45e4df7 Add regExp.matchAll interface and symbol.matchAll and regExp iterator related functions
Signed-off-by: wangben <wangben15@huawei.com>
2022-05-18 18:02:39 +08:00
xiongluo 5122d18dca Add interface to dump in faultlog and private param to hide string and number
Signed-off-by: xiongluo <xiongluo@huawei.com>
2022-05-17 22:42:10 -10:00
Riachel df34983177 add reportprogress
reportprogress value before StopHeapTracking or DumpHeapSnapshot
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I57VAP

Signed-off-by: Riachel <caolili14@huawei.com>
2022-05-17 20:12:15 +08:00
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
openharmony_ci 0c34e47066 !1178 Snapshot code optimization
Merge pull request !1178 from dingwen/master
2022-05-07 12:55:32 +00:00