Commit Graph

5750 Commits

Author SHA1 Message Date
DaiHN
7e605984a9 Refactor module, modify unreasonable hierarchical[Part 2]
issue : #I6K6UK

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I860181b413258c2d3c2abd761173d3cf233e5fe3
2023-08-29 21:15:01 +08:00
openharmony_ci
a3c8b5caab
!4662 Optimizes clear/Values/Entries/Keys of JSMap/JSSet with CIR
Merge pull request !4662 from xiaoweidong/map_set_clear
2023-08-25 03:26:37 +00:00
openharmony_ci
c2c8ffeea3
!4655 Optimize Array.sort for aot
Merge pull request !4655 from zhangyukun8/master
2023-08-25 02:40:52 +00:00
openharmony_ci
b5c13a39d4
!4660 fix some app bugger
Merge pull request !4660 from linxiang8/master
2023-08-25 01:40:02 +00:00
xiaoweidong@huawei.com
ec9d732c5d Optimizes clear/Values/Entries/Keys of JSMap/JSSet with CIR
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7U8SD?from=project-issue

Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2023-08-25 09:25:32 +08:00
openharmony_ci
4663c266a8
!4679 Modifying Code Alarms
Merge pull request !4679 from 韩靖/master
2023-08-25 01:10:59 +00:00
openharmony_ci
3ff5b9aa9e
!4672 Json parse utf16 bugfix
Merge pull request !4672 from lukai/jsonparse
2023-08-24 14:02:25 +00:00
openharmony_ci
4c54a7e95f
!4668 CpuProfiler give up get function info when function hclass is nullptr
Merge pull request !4668 from suchongwei/master
2023-08-24 13:58:20 +00:00
linxiang8
0abec3d265 Fix some app bugger
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7V5XA
Signed-off-by: linxiang8 <linxiang8@huawei.com>
Change-Id: I4b3d82d4a20e1a6d7366191c6656ec24d4c1bc85
2023-08-24 21:10:48 +08:00
hwx1163501
ba488524b3 Modifying Code Alarms
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VR8O
2023-08-24 20:25:18 +08:00
zhangyukun8
c812ecda91 Optimize Array.sort for aot
Add cache for number toString
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7UYXS?from=project-issue

Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: Ic6008335777e9844ecc59ec005b876363b3792da
2023-08-24 20:17:09 +08:00
openharmony_ci
5ef32ab5ba
!4652 [Bug]: 修复回栈无法SuspendVM的情况下导致栈不对挂在StepArkManagedNativeFrame的问题
Merge pull request !4652 from 李晨帅/newTargetNotHeapIR
2023-08-24 08:41:02 +00:00
openharmony_ci
2a0e28eb92
!4665 Bugfix on TryToElementsIndex when key is String and key is larger than int32 maximum
Merge pull request !4665 from chenjingxiang/try_to_elements_index
2023-08-24 07:47:38 +00:00
openharmony_ci
77ddf876fe
!4648 Bugfix on StoreICByName when set arr.length property and transform to dictionary mode
Merge pull request !4648 from chenjingxiang/storeicbyname_dictionary_mode_br
2023-08-24 07:39:29 +00:00
lukai
153010d449 Bugfix:utf16 json parse
In some special scenes, json parse will lead to crash
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VMR0?from=project-issue

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I2e6dfdf7813fb663faa72e57a0a302c77000444e
2023-08-24 14:47:52 +08:00
quiet-thought
3bf2319356 Bugfix on TryToElementsIndex when key is String and key is larger than int32 maximum
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VDGH

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I62100d9b5d7461e3b757071ad064d92b3d6ddacd
2023-08-24 14:46:00 +08:00
openharmony_ci
fae6d86a41
!4658 Change the full mark trigger time and adjust the overshoot size for full mark
Merge pull request !4658 from xiongluo/mark_opt
2023-08-24 03:50:31 +00:00
openharmony_ci
8683b8c25f
!4621 支持typedArray类型profile
Merge pull request !4621 from lukai/typedArrayProfile
2023-08-23 12:36:05 +00:00
scw
fe3a1a5eed CpuProfiler give up get function info when function hclass is nullptr
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VFVQ

Signed-off-by: scw <suchongwei@huawei.com>
2023-08-23 18:09:33 +08:00
xwcai98
bc6dfeff11 EcmaString::Concat bug fix
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VF5X

Signed-off-by: xwcai98 <xwcai98@gmail.com>
Change-Id: I401abcd5a477c61911b9af04c3da80679f2f692b
2023-08-23 17:52:43 +08:00
openharmony_ci
709dcbfb2f
!4663 optimize string-related function
Merge pull request !4663 from XinweiCai/opt_string
2023-08-23 09:00:05 +00:00
lichenshuai
3e76bdd405 [Bug]: 修复回栈无法SuspendVM的情况下导致栈不对挂在StepArkManagedNativeFrame的问题
对于取地址不合法的情况,提前判断并返回false。

Issue: #I7UQGV

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: Iadf7d1fa84c7e6f3b6766f5fc8acf706f116a9c3
2023-08-23 15:12:18 +08:00
openharmony_ci
1a2e7ecfbe
!4645 支持Builtins escape & unescape 函数
Merge pull request !4645 from 查维/master
2023-08-23 06:40:38 +00:00
hwx1163501
47d704f25f Optimize string-related function
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7V3ZK

Signed-off-by: xwcai98 <xwcai98@gmail.com>
Change-Id: Iab38c79b7cfc49a4d02e03226f2bf8634ff8b1a3
2023-08-23 11:14:22 +08:00
zha.wei
5cfca6aa70 description:修改全局变量命名不规范问题
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-23 09:59:05 +08:00
openharmony_ci
e7bb152f0c
!4654 Modifying Code Alarms
Merge pull request !4654 from 韩靖/master
2023-08-22 12:51:03 +00:00
xiongluo
0239e946ab change the full mark trigger time
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: I1eabdaaa2d4c487fa33bcf978fad17279c9dbdd2
2023-08-22 19:12:50 +08:00
openharmony_ci
3fcea7ef39
!4625 modify MAX_HUGE_OBJECT_CAPACITY
Merge pull request !4625 from maojunwei/tmp2
2023-08-22 08:29:28 +00:00
hwx1163501
4126850dc2 Modifying Code Alarms
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7V2H2
2023-08-22 15:27:03 +08:00
openharmony_ci
c2214d0e5f
!4612 Optimize aot stackoverflow
Merge pull request !4612 from wpy111/master
2023-08-22 06:38:41 +00:00
openharmony_ci
f367dcb23a
!4651 修复Mac环境下js_stable_array.cpp的编译问题
Merge pull request !4651 from Onlynagesha/dev-builtin-2
2023-08-22 02:54:35 +00:00
Onlynagesha
208d39f709 Bugfix: Compilation issue in js_stable_array.cpp
Fixes a compilation bug on Mac platform.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7UXUJ

Signed-off-by: Onlynagesha <orina_zju@163.com>
Change-Id: Ia5c1bd70a6e36b1e224b7524048c629510d95857
2023-08-22 09:57:37 +08:00
openharmony_ci
7d835a5b0c
!4647 抓混合栈前SuspendVMById接口增加维测日志
Merge pull request !4647 from 任堂宇/master
2023-08-22 00:38:33 +00:00
openharmony_ci
2f2e5289a6
!4614 Array.prototype.indexOf与Array.prototype.lastIndexOf实现stable array的性能优化
Merge pull request !4614 from Onlynagesha/dev-builtin-2
2023-08-21 13:04:33 +00:00
rentangyu
886681656a 抓混合栈前SuspendVMById接口增加维测日志
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7UT36

Signed-off-by: rentangyu <rentangyu@huawei.com>
2023-08-21 20:54:06 +08:00
quiet-thought
0de4981edc Bugfix on StoreICByName when set arr.length property and transform to dictionary mode
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7UTOA

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I3f30fb5d75a27175d158511a8b4552197697b643
2023-08-21 17:39:03 +08:00
Onlynagesha
721d6147fa Optimizes Array.prototype.indexOf and Array.prototype.lastIndexOf
Optimizes the stable array case where elements are stored contiguously
by eliminating redundant type checks during comparison.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7PE80

Signed-off-by: Onlynagesha <orina_zju@163.com>
Change-Id: I95e3a4d9270f48ce18aff41a252f71c699ef0ce4
2023-08-21 17:37:52 +08:00
wupengyong
7e05585a40 Reason:optimize aot stackoverflow
Description:optimize aot stackoverflow
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7S3NJ?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Iec31ae6ae21e29bed7bc75f1b7c8b240db1506fb
2023-08-21 16:11:01 +08:00
openharmony_ci
ae6079d190
!4640 opt array.reverse & bugfix
Merge pull request !4640 from maojunwei/array_opt
2023-08-21 07:39:05 +00:00
zha.wei
ceac610980 description:fix unescape builtins function error
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-21 15:03:45 +08:00
zha.wei
438d9be5e0 description:代码规范检查修改全局变量名称
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-21 14:30:08 +08:00
zha.wei
f14941c0ea description: code review error fix
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-21 11:59:43 +08:00
openharmony_ci
33ed8e637d
!4643 [Bug]: 汇编解释器Constructor相关代码未对newTarget进行判断,导致直接取HClass崩溃
Merge pull request !4643 from 李晨帅/newTargetNotHeapIR
2023-08-21 02:24:41 +00:00
dov1s
397d2a06fc opt array.reverse
issue:I7U339

Signed-off-by: dov1s <maojunwei1@huawei.com>
Change-Id: I8f35e19dfcc898039749f19ab9b4b722d6f74f7b
2023-08-21 09:42:49 +08:00
zha.wei
cb6cc5da79 description: BUILD.gn format error fix
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-20 11:02:06 +08:00
zha.wei
b0645d7d6d description:support global escape&unescape feature
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-19 23:42:34 +08:00
wanghuan2022
468cc25bc3 [Bug]: UT HProfTest用例失败问题修复
desc: UT HProfTest用例失败问题修复

solu:
在使用FileStream初始化文件流前需要保证传入的文件路径存在

issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7UH3Q

Signed-off-by: wanghuan2022 <wanghuan80@huawei.com>
Change-Id: Ibfd951f7f94774becc45ae077154c08c88f05941
2023-08-19 20:07:04 +08:00
openharmony_ci
1467f8f1fc
!4629 运行ABC文件过程中,函数panda::ecmascript::builtins::BuiltinsTypedArray::Set存在堆越界写漏洞
Merge pull request !4629 from 王笑佳/master
2023-08-19 10:04:13 +00:00
lukai
0ed5a14979 Support typedArray profile
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7SHLB?from=project-issue
Support typedArray profile

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I89c012c9f9923275c7f88ab28b14892c781d73b9
2023-08-19 17:47:56 +08:00
lichenshuai
76b6d2d947 [Bug]: 汇编解释器Constructor相关代码未对newTarget进行判断,导致直接取HClass崩溃
增加对newTarget的判断,避免直接取Hclass导致的崩溃。

Issue: #I7UFWQ

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: Ie23a9df7307f07222bfa238224ffa7982e2cbd46
2023-08-19 15:58:52 +08:00