Commit Graph

5727 Commits

Author SHA1 Message Date
hwx1163501
1ed7842600 修改告警
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I94AZL
2024-02-28 10:34:51 +08:00
hwx1163501
24bd9a6063 修改告警
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I90OTL
2024-02-27 10:53:21 +08:00
lichenshuai
4db24669f8 fixed 29bdce4 from https://gitee.com/lichenshuai/ark_js_runtime/pulls/4726
修复无法SuspendVM的情况下导致回栈过程中可能出现获取Heap问题

先置空JsStackInfo::loader,再析构heap。

Issue: #I7XPTI

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: Ia0fb13d0abf40ef051144d76a71b5fff6debf026
2024-02-20 08:21:01 +00:00
lichenshuai
8976a053e3 fixed 3e76bdd from https://gitee.com/lichenshuai/ark_js_runtime/pulls/4652
[Bug]: 修复回栈无法SuspendVM的情况下导致栈不对挂在StepArkManagedNativeFrame的问题

对于取地址不合法的情况,提前判断并返回false。

Issue: #I7UQGV

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: Iadf7d1fa84c7e6f3b6766f5fc8acf706f116a9c3
2024-02-20 03:25:23 +00:00
hwx1163501
04908309b1 5187挑单到OpenHarmony-4.0-Release
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8ZJFO
2024-01-29 10:42:57 +08:00
tangchao-OH
2e251918bb
close down idleGC
Signed-off-by: tangchao-OH <tangchao1008@126.com>
2024-01-17 06:49:00 +00:00
xiongluo
28c9ab420c Complete native size check mechanism (cherry pick 5249, 5275, 5292 to release)
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: I7fa54e1d80394af5deceb74494e45ad7e4f5dc2b
2024-01-04 11:24:08 +08:00
openharmony_ci
470df51f30
!5156 【Release挑单】跨平台统一宏整改
Merge pull request !5156 from qugr/Release
2023-11-07 13:00:57 +00:00
quguiren
b57658aa4a Compile macro rectification
Signed-off-by: quguiren <quguiren@huawei.com>
2023-11-04 18:18:25 +08:00
DaiHN
d25aa4bca5 Output error message when loading hsp failed in the previewer
issue : https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8DI25?from=project-issue

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I26dfb8198f8c9c2065c802d8769942d8d802d538
2023-11-03 11:36:40 +08:00
openharmony_ci
68d366e81f
!5085 CherryPik PR 5016 5017 5031 5040 5046 To 4.0Release
Merge pull request !5085 from 贺存茂/4.0Release1028
2023-10-31 08:02:07 +00:00
hecunmao
d1e91c81ff CherryPik PR 5016 5017 5031 5040 5046 To 4.0Release
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8BOMD

Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: I8d9b1c3c278711d9bced4ebc51823a87ea778faf
2023-10-28 18:45:02 +08:00
openharmony_ci
ee4d41a981
!5068 invalid capacity_ on devices with small RAM
Merge pull request !5068 from diartyz/ios-4
2023-10-28 06:55:02 +00:00
liu-zelin
5ac7f29def fix: incorrect capacity_ on devices with small RAM
capacity_ is 6G on device with 2G RAW

Signed-off-by: liu-zelin <liuzelin8@huawei.com>
Change-Id: I1aa7de65706f88dc466c93395461de6f5cb0563c
2023-10-27 17:54:54 +08:00
openharmony_ci
f221b45830
!5005 cherry pick PR4718 to OH4.0
Merge pull request !5005 from yaochaonan/cherry-pick-1697704987
2023-10-27 08:48:37 +00:00
xinking129
46a4b9bef6 Resolve the issue of loading hsp crashes
Signed-off-by: xinking129 <xinxin13@huawei.com>
2023-10-21 16:35:26 +08:00
yaochaonan
946974b6c4
update ecmascript/module/module_path_helper.cpp.
Signed-off-by: yaochaonan <yaochaonan@huawei.com>
2023-10-20 06:13:02 +00:00
openharmony_ci
ee179b4d11
!5003 Cherry-pick !5001 to 4.0-Release
Merge pull request !5003 from 贺存茂/cherry-pick-1697682064
2023-10-19 14:09:44 +00:00
DaiHN
0eb7be8b40 fixed d46adc8 from https://gitee.com/yao_dashuai/arkcompiler_ets_runtime/pulls/4718
Support loading HSP at Previewer
issue : https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7X78H

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I0405477038648b122c9f5140b6cf2ed78f46e6fe
2023-10-19 08:43:11 +00:00
g00416891
e39702167b fixed 29ff0a1 from https://gitee.com/dwhuawei/ark_js_runtime/pulls/4952
Modify get hash use RandomGenerator instead of address

Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I56f1690513b36ee182060fc7a91dd25e50251356
2023-10-19 02:33:34 +00:00
hecunmao
368fa0f66b fixed b80d723 from https://gitee.com/he-cunmao/arkcompiler_ets_runtime/pulls/5001
Bug Fix in JsonStringifier::SerializeKeys , Modified jshclass but did not convert to dictionary mode

Get all keys to arrKeys,Iterate over the arrKeys, taking advantage of the key values in the arrKeys, and update the jshclass after executing the get function。

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

Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: Ib2d84f9485fc3cab17afdd438fe86f944f51b2c9
2023-10-19 02:21:05 +00:00
shaoyijiang
a238ca61b2 update object_xray.h
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I86YIX
Change-Id: Iaf3e870832b55fe78b70386a4a2906b118940e19
Signed-off-by: shaoyijiang <shaoyijiang@huawei.com>
2023-10-11 07:02:01 +00:00
yang-19970325
00218a718e fixed e48c6f9 from https://gitee.com/yang-19970325/arkcompiler_ets_runtime/pulls/4922
Fix module variable problem while debugger

Issue:#I84ALO

Signed-off-by: yang-19970325 <yangyang585@huawei.com>
Change-Id: Id80a6d24958320609f9b7ee7dbd8de35d17a9437
2023-09-28 02:00:26 +00:00
openharmony_ci
e85c3fbb75
!4913 Cherry-pick !4555, !4637, !4638, !4648, !4653, !4665, !4688, !4699, !4737, !4747, !4811 to 4.0-Release
Merge pull request !4913 from 李晨帅/OpenHarmony-4.0-Release
2023-09-25 11:26:28 +00:00
openharmony_ci
88cf1687e2
!4911 fix Symbol.prototype [ @@toPrimitive ] bug【4.0release】
Merge pull request !4911 from zhangyouyou/OpenHarmony-4.0-Release
2023-09-25 08:50:02 +00:00
lichenshuai
adc9cc669c Cherry-pick !4555, !4637, !4638, !4648, !4653, !4665, !4688, !4699, !4737, !4747, !4811 to 4.0-Release
Cherry-pick

Issue: #I8453T

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: Ib4639fe5a47adfc579d4439a9becd4b8b8ed619e
2023-09-25 16:27:42 +08:00
openharmony_ci
7e86ab8352
!4910 修改函数原型报错ASSERTION FAILED: superFunc->IsJSFunction()
Merge pull request !4910 from 韩靖/OpenHarmony-4.0-Release
2023-09-25 07:27:51 +00:00
openharmony_ci
0116683aac
!4908 Cherry-pick !4861 to 4.0-Release
Merge pull request !4908 from chenlincl3/cherry-pick-dts2
2023-09-25 07:27:14 +00:00
openharmony_ci
800b4e762f
!4907 Cherry-pick !4858 to 4.0-Release
Merge pull request !4907 from chenlincl3/cherry-pick-dts1
2023-09-25 07:26:30 +00:00
zhangyouyou
0fff9162bf fix Symbol.prototype [ @@toPrimitive ] bug
Signed-off-by: zhangyouyou <zhangyouyou2@huawei.com>
2023-09-25 14:12:22 +08:00
openharmony_ci
8a5e9aed0b
!4901 Cherry-pick !4857 to 4.0-Release
Merge pull request !4901 from chenlincl3/cherry-pick-1695608359
2023-09-25 06:10:53 +00:00
openharmony_ci
5fa6cde9dd
!4906 cherrypick !4890 to 4.0release
Merge pull request !4906 from 贺存茂/cherry-pick-1695612399
2023-09-25 06:08:36 +00:00
openharmony_ci
63a80124d0
!4902 Cherry-pick !4871 to 4.0-Release
Merge pull request !4902 from 贺存茂/cherry-pick-1695609179
2023-09-25 06:07:24 +00:00
hwx1163501
1c2360b934 修改函数原型报错ASSERTION FAILED: superFunc->IsJSFunction()
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I843RS
2023-09-25 13:23:11 +08:00
chenlincl3
5543583504 【修复】解决运行abc文件时,BigInt::ToInt64和BigInt::BigIntToUint64存在非法内存访问
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I83ZDR
Signed-off-by: chenlincl3 <chenlin201@huawei.com>
Change-Id: I07526ce153a4adccb398f57bb8a826e8da95e31a
2023-09-25 13:17:46 +08:00
hecunmao
4161cabcbd fixed c9db168 from https://gitee.com/he-cunmao/arkcompiler_ets_runtime/pulls/4890
solve the problem ecmascript/base/json_stringifier.cpp:SerializeKeys to an error while add an attribute causes an error
modify ecmascript/base/json_stringifier.cpp:SerializeKeys ,Add a variable 'hasChangedToDictionaryMode' to check whether it is converted to dictionary mode after executing the get function
if is true ,then use the dictionary mode method to read the value

issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I83TM7?from=project-issue

Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: I5631ef0ef3134299781d0d5cb3ac722150bdd8f6
2023-09-25 03:26:39 +00:00
chenlincl3
05e3ba42d7 【修复】解决运行abc文件时,函数 BigIntHelper::RightTruncate出现断言错误
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I82X60
Signed-off-by: chenlincl3 <chenlin201@huawei.com>
Change-Id: Iefec681254a1916fa68309f8ea33c132f3c6d95e
2023-09-25 11:22:16 +08:00
openharmony_ci
21838c889d
!4899 Cherrypick! 4896 to 4.0release
Merge pull request !4899 from 刘家华/cherry-pick-1695603590
2023-09-25 03:15:10 +00:00
openharmony_ci
641df47350
!4900 Cherrypick! 4869 to 4.0release
Merge pull request !4900 from 刘家华/cherry-pick-1695605015
2023-09-25 02:46:49 +00:00
hecunmao
d8ce28f519 fixed f98d685 from https://gitee.com/he-cunmao/arkcompiler_ets_runtime/pulls/4871
Fixbug src is undefined in runtime_stubs-inl.h:415: RuntimeStArraySpread

modify the assert function call  in runtime_stubs-inl.h:415: RuntimeStArraySpread
delete the judge 'src->IsUndefined() && src->IsNull()'  in calling  assert
add an if statement to handle the case of src is Undefine and src is Null

issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I82YU2?from=project-issue

Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: I49c4be25d62fa97e3c4d8a2ae0b3adf621d2aa64
2023-09-25 02:33:00 +00:00
chenlincl3
a669829566 fixed 86a8114 from https://gitee.com/f932565568/arkcompiler_ets_runtime/pulls/4857
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8302V

Signed-off-by: chenlincl3 <chenlin201@huawei.com>
Change-Id: Id9935eb4f331a417b86663bf17a6540c12fb42e4
2023-09-25 02:19:21 +00:00
刘家华
ccd5682810 Merge branch 'OpenHarmony-4.0-Release' of gitee.com:openharmony/arkcompiler_ets_runtime into cherry-pick-1695603590
Signed-off-by: 刘家华 <liujiahua12@huawei.com>
2023-09-25 02:07:46 +00:00
openharmony_ci
80b085b2b6
!4893 Cherry-pick !4876 to 4.0-Release
Merge pull request !4893 from 李晨帅/cherry-pick-1695476872
2023-09-25 02:00:09 +00:00
openharmony_ci
79f9bfb993
!4892 Cherry-pick !4886 to 4.0-Release
Merge pull request !4892 from 李晨帅/cherry-pick-1695476294
2023-09-25 01:57:52 +00:00
openharmony_ci
f36df2b6b2
!4894 Cherry-pick PR4877 to 4.0release
Merge pull request !4894 from chenjingxiang/OpenHarmony-4.0-Release
2023-09-25 01:50:53 +00:00
liujiahua
028255113c fixed 9c65aae from https://gitee.com/liujh1997/arkcompiler_ets_runtime/pulls/4869
BuiltsinMath的atanh函数传入BigInt参数,不能抛出准确的错误,进入到后续函数中
添加抛出错误函数,准确定位错误
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I839MQ
Signed-off-by: liujiahua <liujiahua1997812@163.com>

Change-Id: I6b949ec2aea11fa2efe725ef004168bb0886a8cd
2023-09-25 01:23:35 +00:00
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
hecunmao
08539eac3c fixed 059023f from https://gitee.com/he-cunmao/arkcompiler_ets_runtime/pulls/4849
DTS2023090811437 PR commit Fix ObjectFastOperator::SetPropertyByIndex,StubBuilder::SetPropertyByIndex

Modify ObjectFastOperator::SetPropertyByIndex,Jude if jsType equal to  JS_TYPED_ARRAY then return JSTaggedValue::Hole()
Modify StubBuilder::SetPropertyByIndex

issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I81P6X
Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: I55736fb183a2aa954f3df43350bde6027342f455
2023-09-24 06:40:27 +00:00
chenjx-huawei
32935e01f6 Cherry-pick PR4877 to 4.0release
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I83UFT

Signed-off-by: chenjx-huawei <chenjingxiang1@huawei.com>
Change-Id: I89be7c2d24b6884349aceb02f6635ad8bdf264b3
2023-09-23 22:22:37 +08:00
lichenshuai
775628db6c fixed 43e9ba1 from https://gitee.com/lichenshuai/ark_js_runtime/pulls/4876
[Bug]: ReplaceAllElements重定义漏洞

数组长度被更改后,进行越界判断。

Issue: #I83GH5

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I2c41c496a8b185172cf62d510518c6e516dbebaf
2023-09-23 13:47:52 +00:00