Commit Graph

6670 Commits

Author SHA1 Message Date
liujiahua
c8b2a2a6c3 fixed e00b517 from https://gitee.com/liujh1997/arkcompiler_ets_runtime/pulls/4896
CreateObjectWithExcludedKeys类型混淆,无法处理Proxy类型
CreateObjectWithExcludedKeys类型混淆,增加对于proxy的处理
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I83T14
Signed-off-by: liujiahua <liujiahua1997812@163.com>

Change-Id: I4e66e6dd5c27727fc7ba6518a29f9c4ff869c4b4
2023-09-25 00:59:51 +00:00
openharmony_ci
c10ca4f197
!4833 [Bug]: UT HProfTest用例失败问题修复
Merge pull request !4833 from wanghuan2022/cherry-pick-1695030613
2023-09-18 12:36:51 +00:00
wanghuan2022
4effa86380 fixed 468cc25 from https://gitee.com/wanghuan2022/arkcompiler_ets_runtime/pulls/4644
[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-09-18 09:50:15 +00:00
openharmony_ci
9bbd871e0c
!4714 Judge js method by IsNativeWithCallField in cpuprofiler when get method info
Merge pull request !4714 from suchongwei/cherry-pick-1693315300
2023-08-30 02:19:20 +00:00
Chongwei Su
768d760ea7 fixed 0fc9dc4 from https://gitee.com/su-chongwei/ark_js_runtime/pulls/4700
Judge js method by IsNativeWithCallField in cpuprofiler when get method info

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

Signed-off-by: Chongwei Su <suchongwei@huawei.com>
2023-08-29 13:21:40 +00:00
openharmony_ci
e99d9939f5
!4705 cherry-pick pr4672 into monthly
Merge pull request !4705 from lukai/cherry-pick-1693225967
2023-08-29 07:12:27 +00:00
openharmony_ci
eeb940936a
!4689 CpuProfiler give up get function info when function hclass is nullptr
Merge pull request !4689 from suchongwei/cherry-pick-1693034227
2023-08-29 01:58:22 +00:00
lukai
fc85c46cbc fixed 153010d from https://gitee.com/lukai25/ark_js_runtime/pulls/4672
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-28 12:32:48 +00:00
scw
6c378a00a1 fixed fe3a1a5 from https://gitee.com/su-chongwei/ark_js_runtime/pulls/4668
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-26 07:17:09 +00:00
openharmony_ci
d066507f8e
!4622 Eliminate HeapObject Check on the Elements of JSArray based on ElementsKind
Merge pull request !4622 from dingding/heapobject_check
2023-08-15 02:08:52 +00:00
openharmony_ci
71b6977d86
!4627 Bugfix on JsonParser::ParseNumber when strNum is less than double minimum
Merge pull request !4627 from chenjingxiang/json_parser_number_br
2023-08-14 13:26:28 +00:00
quiet-thought
bb87bddcdb Bugfix on JsonParser::ParseNumber when strNum is less than double minimum
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/pulls/4626

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I78969fd5a774f7cabf532f08b7ba9ad4378fd9d3
2023-08-14 19:34:05 +08:00
openharmony_ci
6d04866bfe
!4427 ECMA Script 2023规范-支持Array/TaggedArray prototype.toReversed
Merge pull request !4427 from 查维/master
2023-08-14 07:24:41 +00:00
zha.wei
22ea93f87f description:合并冲突
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-14 11:59:07 +08:00
openharmony_ci
4106c914da
!4608 Bugfix on JsonParser::ParseNumber when strNum is larger than double maximum
Merge pull request !4608 from chenjingxiang/json_parser_number
2023-08-12 10:17:39 +00:00
openharmony_ci
7b5de2906f
!4464 ECMA Script 2023-支持TypedArray.prototype.toReversed方法
Merge pull request !4464 from 查维/master
2023-08-12 09:54:59 +00:00
openharmony_ci
9ad2b493d2
!4603 opt array.concat
Merge pull request !4603 from maojunwei/tmp2
2023-08-12 09:27:02 +00:00
openharmony_ci
a9112d8e61
!4619 Bugfix on BuiltinsAtomics::HandleWithBigInt64 not timely return exception
Merge pull request !4619 from chenjingxiang/bigint_return_exception_br
2023-08-12 09:06:18 +00:00
openharmony_ci
e42be753ef
!4623 Fix typo
Merge pull request !4623 from 杨阳/fix_typo11
2023-08-12 08:47:42 +00:00
openharmony_ci
1b8c04a161
!4617 Bugfix on RuntimeStubs::RuntimeInstanceofByHandler return exception
Merge pull request !4617 from chenjingxiang/c_instanceof_ic_return_exception_br
2023-08-12 08:20:13 +00:00
openharmony_ci
dfec8997ab
!4570 TakeHeapSnapShot数组相关性能优化
Merge pull request !4570 from wanghuan2022/master
2023-08-12 08:16:22 +00:00
wanghuan2022
8b0934b43a TakeHeapSnapShot数组相关性能优化
desc: TakeHeapSnapShot数组相关性能优化

solu:
1.增加captureNumbericValue开关,对于数组内部elements遍历访问时用此开关控制是否生成number相关的node和edge;

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

Signed-off-by: wanghuan2022 <wanghuan80@huawei.com>
Change-Id: I1cc334268ddbf386e86c06c8569d9e6744b3dcc1
2023-08-12 14:25:41 +08:00
yang-19970325
15257669fd Fix typo
Issue:#I7SJH1

Signed-off-by: yang-19970325 <yangyang585@huawei.com>
Change-Id: I106dddf738b084d9133f008cb117f12a06c11d05
2023-08-11 17:27:36 +08:00
zha.wei
df21124854 description:typedarray toReversed解决冲突
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-11 16:48:18 +08:00
dov1s
cad018de79 Optimize Array.concat
issue:I7RUUF

Signed-off-by: dov1s <maojunwei1@huawei.com>
Change-Id: I5ce5510e58b20db776af4f6e059fc6ed514af887
2023-08-11 15:32:44 +08:00
openharmony_ci
319fb3ff9c
!4487 ECMA Script 2023-支持Array.prototype.with方法
Merge pull request !4487 from 查维/master
2023-08-11 06:32:06 +00:00
quiet-thought
b510ddced5 Bugfix on BuiltinsAtomics::HandleWithBigInt64 not timely return exception
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7SECX

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I87829cfa0c4c939e92e3048aee62b832da7f50f2
2023-08-11 11:14:47 +08:00
zha.wei
0d11cd9683 description:解决冲突
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-11 10:49:17 +08:00
quiet-thought
c73261dd84 Bugfix on RuntimeStubs::RuntimeInstanceofByHandler return exception
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7SDBG

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: Iaa5add56365d45b9249c775b6233110804ad902b
2023-08-11 10:25:04 +08:00
dingding
b37e3f5995 Eliminate HeapObject Check on the Elements of JSArray based on ElementsKind
1. If the PGO ElementsKind of a JSArray is OBJECT, and the named property of the JSArray element is loaded,
   the HeapObject check is not required.
2. The AOT stroing of OBJECT JSArray should be checked to prevent damage to the ElementsKind.

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7SHUY

Signed-off-by: dingding <dingding5@huawei.com>
Change-Id: Ia55a75cf9d8ebe269e114bc6666718940629eb07
2023-08-11 06:19:42 +08:00
openharmony_ci
208854f4fe
!4607 新增suspendvm接口并确保在获取js栈前suspend vm相关修改
Merge pull request !4607 from 任堂宇/master
2023-08-10 14:10:16 +00:00
openharmony_ci
f27f8bceae
!4493 ECMA Script 2023-支持Array.prototype.toSorted方法
Merge pull request !4493 from 查维/master
2023-08-10 13:21:29 +00:00
openharmony_ci
1b5915f8a2
!4613 Modifying Code Alarms
Merge pull request !4613 from 韩靖/master
2023-08-10 12:32:40 +00:00
quiet-thought
88746274f1 Bugfix on JsonParser::ParseNumber when strNum is larger than double maximum
Issue: Bugfix on JsonParser::ParseNumber when strNum is larger than double maximum

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: If525e00686f1e648fb3a72b0e4ddf901c5c922f5
2023-08-10 20:10:28 +08:00
hwx1163501
b59da810e0 Modifying Code Alarms
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7S5SX
2023-08-10 17:35:58 +08:00
zha.wei
86f854ef47 description:冲突解决
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-10 17:18:21 +08:00
openharmony_ci
905f840797
!4601 fix ut llvm error
Merge pull request !4601 from ChunyangWang/ut_llvm_error
2023-08-10 07:59:18 +00:00
openharmony_ci
644dffd1d8
!4443 支持ECMA2023规范Builtins Array.prototype和TypedArray.prototype新增findLast,findLastIndex方法
Merge pull request !4443 from 吴文璐/for_find_last
2023-08-10 07:17:28 +00:00
openharmony_ci
4a35824cd0
!4595 Eliminate JSArray Hole Check based on ElementsKind
Merge pull request !4595 from dingding/array_hole_check
2023-08-10 07:14:34 +00:00
Rtangyu
ebf21f6c40 新增suspendvm接口并确保在获取js栈前suspend vm相关修改
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7RSFX

Signed-off-by: Rtangyu <rentangyu@huawei.com>
2023-08-10 15:07:20 +08:00
dingding
2362ca18b5 Eliminate JSArray Hole Check based on ElementsKind
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7R98E

Signed-off-by: dingding <dingding5@huawei.com>
Change-Id: Id59c107f0209a9c73134194eb59da293ae2b6d67
2023-08-10 14:24:11 +08:00
openharmony_ci
026b6bc34f
!4565 ArrayLiteral ElementKind pgo
Merge pull request !4565 from yingguofeng/master
2023-08-10 06:20:43 +00:00
openharmony_ci
6b0cd6d174
!4609 Ignore empalce result when merge pgo
Merge pull request !4609 from hzzhouzebin/IgnoreEmplaceResultWhenMerge
2023-08-10 06:18:50 +00:00
openharmony_ci
1985943260
!4596 Bugfix on EcmaString::CreateTreeString create long ecmaString
Merge pull request !4596 from chenjingxiang/ecma_string_create_error_br
2023-08-10 02:45:51 +00:00
openharmony_ci
0ddf6b34fd
!4604 HeapProfiler内存泄漏 -- runtime
Merge pull request !4604 from XinweiCai/master
2023-08-10 01:50:25 +00:00
yingguofeng@huawei.com
169977e926 Feat(Aot): PGO ArrayLiteral elemnetKind for array aot opt
Issue: #I7NYFW
Change-Id: I59ed5b9c377f2ce6bad2723795309099e015f8df
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-08-09 23:09:42 +08:00
hzzhouzebin
adb4d759c1 Ignore empalce result when merge pgo
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7S053
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I6f5ff4370e063e88bbf3fefaa156f15122a44e82
2023-08-09 22:27:54 +08:00
openharmony_ci
bd56fe10ac
!4564 Support proxy variable diaplay while debugger
Merge pull request !4564 from 杨阳/support_proxy3
2023-08-09 11:30:30 +00:00
openharmony_ci
94e04ae34c
!4605 Support import native and cjs display while debugger
Merge pull request !4605 from 杨阳/support_display
2023-08-09 11:29:46 +00:00
wuwenlu
26784cd235 Add findLast and findLastIndex for Array.prototype and %TypedArray%.prototype
Signed-off-by: wuwenlu <wuwenlu@kaihong.com>
2023-08-09 01:16:04 -07:00