Commit Graph

6698 Commits

Author SHA1 Message Date
Chongwei Su
be5a56052a GetJSPtExtractorAndExtract delete extra Extract
Delete extra Extract in GetJSPtExtractorAndExtract and delete extra GetJSPtExtractorAndExtract in LoadJSPandaFile

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

Signed-off-by: Chongwei Su <suchongwei@huawei.com>
2023-08-08 15:15:40 +08:00
yang-19970325
e3f2e59fa8 Fix sp assignment out of bounds
Issue:#I7RFVG

Signed-off-by: yang-19970325 <yangyang585@huawei.com>
Change-Id: I398921ca92369cfa7ec9920993e8a86d757785d2
2023-08-08 14:48:42 +08:00
openharmony_ci
41046525c7
!4580 Add aot call stack overflow check
Merge pull request !4580 from wpy111/master
2023-08-08 05:06:48 +00:00
quiet-thought
5263cd7ae8 Bugfix on NumberDictionary::Hash is not support double type key
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7RBL2

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I11fe07609a10285ff594425cfe32ea5737716b40
2023-08-08 12:04:17 +08:00
openharmony_ci
47027fef85
!4587 Save PGO with merge
Merge pull request !4587 from hzzhouzebin/SavePgoWithMerge
2023-08-07 14:27:54 +00:00
openharmony_ci
6559807206
!4575 Fix inline a function at 2 different places bug
Merge pull request !4575 from zhangyukun8/master
2023-08-07 13:27:27 +00:00
hzzhouzebin
ba1f8ce0e7 Save Pgo with merge
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7QTCI
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: If6ced2fc996af6c57d3b574bfa4c0b849b9593ab
2023-08-07 17:10:03 +08:00
zha.wei
f7d579031d description:fix magic number issue
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-07 16:43:34 +08:00
查维
655a259e2b
update ecmascript/builtins/builtins_array.cpp.
Signed-off-by: 查维 <zhawei@kaihong.com>
2023-08-07 08:37:22 +00:00
查维
038fe7a550
update ecmascript/js_stable_array.cpp.
Signed-off-by: 查维 <zhawei@kaihong.com>
2023-08-07 08:36:22 +00:00
查维
3fe02da63a
update ecmascript/js_stable_array.cpp.
Signed-off-by: 查维 <zhawei@kaihong.com>
2023-08-07 08:30:42 +00:00
查维
092754177e
update ecmascript/builtins/builtins_array.cpp.
Signed-off-by: 查维 <zhawei@kaihong.com>
2023-08-07 08:28:29 +00:00
wupengyong
b389b49691 Reason:add aot call stack overflow check
Description:add aot call stack overflow check
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7PMSM?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I1a31c928fc406364aa81cc2a5a5037d920f1ed04
2023-08-07 16:24:38 +08:00
zha.wei
01e217a9f3 Merge branch 'master' of https://gitee.com/zhawei11/arkcompiler_ets_runtime_1 2023-08-07 16:18:47 +08:00
zha.wei
e5e07e1a45 description:code review issue fixed
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-07 16:18:33 +08:00
zha.wei
745e8a0569 description:code review issue fixed
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-07 16:16:09 +08:00
zha.wei
288f0df7f6 Merge branch 'master' of https://gitee.com/zhawei11/arkcompiler_ets_runtime_4_typedarrary.toreversed 2023-08-07 15:53:56 +08:00
zha.wei
00aa89da1d Merge branch 'master' of https://gitee.com/zhawei11/arkcompiler_ets_runtime_4_typedarrary.toreversed 2023-08-07 15:53:47 +08:00
zha.wei
b5f1468f72 Merge branch 'master' of https://gitee.com/zhawei11/arkcompiler_ets_runtime_4_typedarrary.toreversed 2023-08-07 15:50:24 +08:00
zha.wei
709c37a35b description:code review issue fixed
Signed-off-by: zha.wei <zhawei@kaihong.com>

modify 2
2023-08-07 15:49:39 +08:00
zha.wei
feecab2e54 description:code review issue fixed
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-07 15:45:33 +08:00
zha.wei
023b6a56c9 description:code review issue fixed
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-07 15:02:03 +08:00
openharmony_ci
a9538dd60f
!4591 Concurrent marking may use inconsistent hclass due to transition in main thread
Merge pull request !4591 from lukai/memorder
2023-08-07 06:45:36 +00:00
zha.wei
0ebe37fb3a description:code review issue fixed
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-07 14:33:42 +08:00
openharmony_ci
027a66ad42
!4512 HeapDump工具搜索优化与ID不一致问题修复
Merge pull request !4512 from XinweiCai/master
2023-08-07 06:30:20 +00:00
lukai
d963324406 Fix: concurrent marking may use inconsistent hclass
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7QZU8?from=project-issue
When main-thread transitions an object to a new hclass, concurrent
marking could load an incosistent hclass.

Signed-off-by: lukai <lukai25@huawei.com>
2023-08-07 12:02:21 +08:00
zha.wei
c900648d7f description:code review issue fixed
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-07 11:17:20 +08:00
xwcai98
d7891cee9d Fix HeapDump BUG
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7NW3R

Signed-off-by: xwcai98 <xwcai98@gmail.com>
Change-Id: I36d8f453bf2a214e43e53ed7c68b25d8dd25dc89
2023-08-07 11:03:31 +08:00
查维
c4f797b374
update ecmascript/base/array_helper.cpp.
Signed-off-by: 查维 <zhawei@kaihong.com>
2023-08-07 01:41:07 +00:00
openharmony_ci
d8e84e9825
!4589 Save Pgo with signal
Merge pull request !4589 from hzzhouzebin/SignalTriggerPgoSaving
2023-08-06 09:46:14 +00:00
hzzhouzebin
3f70aca282 Pgo saving triggered by signal
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7QUCA
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I26d2367624c2b2c83f7e9fa20ccc1155ef0b2501
2023-08-06 08:47:11 +08:00
openharmony_ci
d5346f54f2
!4586 Fix the bug of SerializationData
Merge pull request !4586 from yuqing_han/master
2023-08-05 08:34:12 +00:00
yqhan
f55ec8efa5 Fix the bug of SerializationData
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7QSOS

Signed-off-by: yqhan <hanyuqing2@huawei.com>
2023-08-05 15:18:54 +08:00
openharmony_ci
1f71cced35
!4583 Revert "!4561 Range Analysis of MUL and MOD"
Merge pull request !4583 from void_f/master
2023-08-05 01:51:42 +00:00
openharmony_ci
16706f0224
!4566 Add optimization for StableJSArray in StArraySpread
Merge pull request !4566 from duzhiyuan/master
2023-08-04 09:31:32 +00:00
void_f
113743a579 Revert "!4561 Range Analysis of MUL and MOD"
Issus: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7QF6F
Signed-off-by: void_f <void_f@foxmail.com>

Change-Id: I4dff326372846b65b7b99a80fb6f47aaa4519afd
2023-08-04 17:31:17 +08:00
DDOSvoid
e32d91ac0f Add optimization for StableJSArray in StArraySpread
issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7Q14Z
Signed-off-by: DDOSvoid <DDOSvoid@163.com>

Change-Id: I2d4efa17d06f0673241d68d11ff1e64e6efccc2f
2023-08-04 15:56:24 +08:00
openharmony_ci
426798d7f5
!4521 [Bug]: 运行ABC文件过程中,函数panda::ecmascript::JSHClass::UnregisterOnProtoChain未有效判断protoDetailsValue不为HeapObject的场景导致非法内存访问漏洞
Merge pull request !4521 from 李晨帅/master
2023-08-04 07:32:05 +00:00
openharmony_ci
93da01da9b
!4581 Improving dumper
Merge pull request !4581 from Gargoyle.h/wzfmaster-dev
2023-08-04 07:27:36 +00:00
lichenshuai
fdfbc7d143 未有效判断protoDetailsValue不为HeapObject的场景导致非法内存访问漏洞
仅在为ProtoChangeDetails时才设置HClass的ProtoChangeDetails。

Issue: #I7K7HN

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I7339e378e1cd5e5dec81740c855180485bca4782
2023-08-04 14:28:01 +08:00
wuzhefeng
ff833adeee [Feature]: Improving Dumper
Current dumper dumps many details of objects, which should be simplified
and make the output contents more readable. Therefore, this pr cut some
redundant information when dumping.

Testings: unittest

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

Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: I72557e47955a9825b92039ce27fb70a5b78cd0f1
2023-08-04 10:26:11 +08:00
openharmony_ci
6d049d6448
!4576 Replace method exclude ExtraLiteralInfo(FunctionKind)
Merge pull request !4576 from lijiamin/master
2023-08-03 13:22:25 +00:00
openharmony_ci
ca92bba783
!4572 回退 Pull Request !4421 : CreateArrayWithBuffer Optimization
Merge pull request !4572 from 吴璋达/bufferbug
2023-08-03 11:50:41 +00:00
openharmony_ci
d17fd045df
!4577 Fix 262 test
Merge pull request !4577 from 王笑佳/master
2023-08-03 09:43:27 +00:00
zhangyukun8
04d80a6043 Fix inline a function at 2 different places bug
1. Type conflict could happen when inline a function at 2 places
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7QCJ6?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>

Change-Id: I426d5d68717173906a75ab2a5e4af742d77660e4
2023-08-03 17:15:40 +08:00
lijiamin2019
e60f1c9c04 Fix for super rebind this
Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: Ibfe3aa530ef1f324ec3c82cafe52df345a8aa170
2023-08-03 17:10:50 +08:00
王笑佳
acb5eef023 Fix 262 test
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7QCRW

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-08-03 16:59:57 +08:00
openharmony_ci
36752b9b4e
!4569 Modifying Code Alarms
Merge pull request !4569 from 韩靖/master
2023-08-03 07:22:38 +00:00
openharmony_ci
5446936442
!4562 Adapt abc files in hsp reflect to secureMem
Merge pull request !4562 from yaochaonan/callback
2023-08-03 07:09:49 +00:00
openharmony_ci
495e8c34a0
!4571 Add external gc check
Merge pull request !4571 from xiongluo/gc_check
2023-08-03 06:50:30 +00:00