openharmony_ci
701e96e826
!1585 fix codex warning
...
Merge pull request !1585 from hjzhangcm/master
2022-06-14 04:25:11 +00:00
openharmony_ci
3fd49e5e61
!1567 modify interface
...
Merge pull request !1567 from Riachel/master
2022-06-14 03:49:49 +00: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
Riachel
3b89611dd1
Descriptor: modify interface
...
details:
1.modify Create interface
2.add Tojson
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5C2KW
Signed-off-by: Riachel <caolili14@huawei.com >
2022-06-14 09:34:55 +08:00
luochuhao
d8e482f756
Modify enable logic of certain runtime options.
...
Change condtion for File execution branch to whether file is AOT compiled or not.
Fix bug of setting bc debug handler entry while loading stub file.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5BBFH
Signed-off-by: luochuhao <luochuhao@huawei.com >
Change-Id: I5b6d47a1587631849f6c1e746473cb14b1d727a8
2022-06-13 12:15:03 +08:00
wengchangcheng
4b64683dcf
Descriptor: support update value of old eval function
...
details:
update framehandler before setvalue
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5BSY5
Change-Id: Ib6c576e695f3ddcd4387d01e5f6368641bb0d526
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
2022-06-11 12:00:19 +08:00
openharmony_ci
8bfcc6c08e
!1553 modify get child item from json
...
Merge pull request !1553 from changcheng/modify_json
2022-06-09 14:22:10 +00:00
wengchangcheng
f4db7283b6
Descriptor: modify get child item from json
...
details:
add Result to judge type error or not exist
delete unused interface
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5BL2A
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I2beb7c730121900286ce0485902aa3ca620e3cd8
2022-06-09 21:40:58 +08:00
openharmony_ci
31e7e2ecf3
!1532 fix codex warning
...
Merge pull request !1532 from hjzhangcm/master
2022-06-09 07:50:01 +00:00
wengchangcheng
1ee5638cf9
Descriptor: modify unique_ptr and add ASSERT
...
details:
1. modify unique_ptr t oconst &
2. modify unit32_t to int32_t
3. add ASSERT before get optional value
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5BHDS
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: Ie1938acfd0f30389892933adf224af1940143805
2022-06-09 12:23:48 +08:00
openharmony_ci
e013c8247a
!1533 modify for some bugs
...
Merge pull request !1533 from Riachel/master
2022-06-09 02:06:23 +00:00
wengchangcheng
a9d67a0b2a
Descriptor: debugger refactor of independent js_runtime [ part-2 ]
...
details: add ToJson sample by PtJson
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5BBPM
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: Icb84d3c163a662230730f4e27362f3ea23b80e1c
2022-06-08 21:42:06 +08:00
wengchangcheng
bb50d4aefe
Descriptor: debugger refactor of independent js_runtime [ part-2 ]
...
details: add Create function by PtJson
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5BBPM
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I2870f1d377bd6b4adc0d12d33cba84d53af7f076
2022-06-08 21:41:50 +08:00
wengchangcheng
25405f84a3
Descriptor: debugger refactor of independent js_runtime [ part-2 ]
...
details: use pt json to parse message
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5BBPM
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I3bdc5475f8d500754d0b58af28a17775fbcf2e7c
2022-06-08 21:41:34 +08:00
Riachel
3545d16472
Descriptor: modify for some bugs
...
details:
1. delete trackAllocations_
2. modify size_t to int64
3. modify IntegerRef to NumberRef
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5BCAD
Signed-off-by: Riachel <caolili14@huawei.com >
2022-06-08 17:48:49 +08: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
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
openharmony_ci
225df7058a
!1506 add statsUpdate and lastObjectId event
...
Merge pull request !1506 from Riachel/master
2022-06-07 04:26:00 +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
23e596755b
!1505 deal with invalid exception
...
Merge pull request !1505 from changcheng/add_empty_check
2022-06-06 04:19:43 +00:00
openharmony_ci
d94412392b
!1493 fix codex warning
...
Merge pull request !1493 from hjzhangcm/master
2022-06-06 04:15:17 +00:00
wengchangcheng
28619202a3
Descriptor: deal with invalid exception
...
details: add empty check
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5AT96
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I114a557d7b431f65b1a6145c2f0a0e674789e771
2022-06-06 11:40:01 +08:00
hjzhangcm
6741c67039
describe:fix codex warning
...
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5AM6L
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com >
2022-06-06 11:27:19 +08:00
wengchangcheng
07fb541ef4
add json utils for debugger
...
add json util of cJSON
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5AQMM
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: Ie582ceb8ee3c5b9bd8024c25063a9b4a645792ac
2022-06-06 09:37:35 +08: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
yqhan
25e1273bb9
Added debugger module tests.
...
Issues:https://gitee.com/openharmony/ark_js_runtime/issues/I5ACV8
Describe: Breakpoints are set inside async functions and arrow
functions. Breakpoints can be hit and call stacks can be retrieved.
Signed-off-by: yqhan <hanyuqing2@huawei.com >
2022-06-02 10:50:26 +08:00
wengchangcheng
9ea13c48f9
Descriptor: debugger refactor [ part-1 ]
...
details:
1. delete unused method
2. modify file dir
3. add event channel for every domain
4. implement domain function in agent and delete js_backend
5. modify dispatchTable to static
6. modify debugger_api
7. modify js_debugger and add debugger_executor
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I58LOO
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I7747bf3ad66e9a180d6179e45be5bcaf4161b29b
2022-06-01 23:00:13 +08:00
yaoyuan
cfdfd3e1b9
Description:
...
Reduce redundant code by using predefined global constants instead of creating new constant strings
Move all global constant strings into nonmovable space to improve code efficiency.
Issues: https://gitee.com/openharmony/ark_js_runtime/issues/I588TY
Signed-off-by: yaoyuan <yuanyao14@huawei.com >
Change-Id: I1f92188175c3129c5d8cec72a0396f11ce17c1c7
2022-05-31 17:38:54 +08:00
openharmony_ci
36f7ae1897
!1447 support memory params configuration
...
Merge pull request !1447 from lukai/master
2022-05-31 03:30:30 +00:00
lukai
1a5e085031
support memory parameters configuration
...
1. heap configuration including heapSize and space capaticity
2. other parameters such as gcThreadNum, longPauseTime.
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I59HYO?from=project-issue
Signed-off-by: lukai <lukai25@huawei.com >
Change-Id: If3bfe7338ae0712809d9750fef3bbbb14017223f
2022-05-30 17:22:08 +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
wengchangcheng
568ec4cbf9
Descriptor: support disable debugger and runtime domain
...
details: add disable method for debugger and runtime
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I59QMX
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: Iace48b02a2c5fc9b15c1fed94a67e95a4e857933
2022-05-28 18:43:32 +08:00
openharmony_ci
c41ca7a394
!1448 Modify the time type and isStart
...
Merge pull request !1448 from buzhuyu/master
2022-05-28 10:19:33 +00: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
wengchangcheng
c880e296ef
Descriptor: fix profiler dependent debugger
...
details: add ProfilerNotify without check debug mode
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I59OYR
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I9bd2a88ff032e3d8f113a436e86fd397fac73770
2022-05-28 10:55: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
5aefa13171
!1419 make the debugger pause at the begin of PendingJob::ExecutePendingJob function
...
Merge pull request !1419 from Gongyuhang/master
2022-05-26 00:51:04 +00:00
openharmony_ci
06d5ae3c45
!1427 Implementation of ProfilerImpl.Start and ProfilerImpl.Stop
...
Merge pull request !1427 from buzhuyu/master
2022-05-25 10:26:42 +00:00
buzhuyu
2fdb093ad0
Implementation of ProfilerImpl.Start and Stop
...
ISSUE:https://gitee.com/openharmony/ark_js_runtime/issues/I56YVM
Signed-off-by: buzhuyu <buzhuyu@huawei.com >
2022-05-25 16:33:30 +08:00
Gongyuhang
77411b7e75
Descriptor:
...
The debugger behaves unexpectedly after step operations
act on the commands after a command modified by "await"
Details:
Make the debugger pause at the begin of
PendingJob::ExecutePendingJob function
Issue:
https://gitee.com/openharmony/ark_js_runtime/issues/I5936Z
Signed-off-by: Gongyuhang <gongyuhang5@huawei.com >
2022-05-25 14:55:05 +08:00
Gymee
01da4a53b9
fix this value when get scope chain
...
Signed-off-by: Gymee <yumeijie@huawei.com >
Change-Id: I88aace2929e4cd995588d1cffcb2ab2102b045df
2022-05-25 12:38:10 +08:00
openharmony_ci
d5d57b6650
!1403 adjust local variables shown to IDE
...
Merge pull request !1403 from Gymee/tweaks_master
2022-05-24 10:52:39 +00:00
Gymee
b97678db38
adjust local variables shown to IDE
...
Signed-off-by: Gymee <yumeijie@huawei.com >
Change-Id: If0dc61b52f8362a263f6f1aec09e20a3f51bd70a
2022-05-24 15:46:25 +08:00
openharmony_ci
aca7a57b0a
!1376 Fix 262 of rsp on x64
...
Merge pull request !1376 from zhangyukun8/master
2022-05-23 11:24:51 +00:00
zhangyukun
9f15b59632
Fix 262 of rsp on x64
...
1. skip builtin frame and asm interpreter entry frame when upframe
2. skip push args when argc is 0
3. check thread exception, rather not ret value
4. deal with fp when entry Execute
5. deal with call class Constructor
Issue:https://gitee.com/openharmony/ark_js_runtime/issues/I58I4H?from=project-issue
Signed-off-by: zhangyukun <zhangyukun8@huawei.com >
Change-Id: I874f1437d5d21a8cf50a8d9ca73d7a92007f1bab
2022-05-23 18:42:48 +08:00
hjzhangcm
08f5895212
fix codex warning
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com >
2022-05-23 16:05:15 +08:00
openharmony_ci
75a72d0ac3
!1370 fix codex warning file
...
Merge pull request !1370 from hjzhangcm/master
2022-05-22 01:12:24 +00: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