Commit Graph

196 Commits

Author SHA1 Message Date
hzzhouzebin
d946ae422e Support SendableArray
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I93TZC
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: Ia026a07e7457a67a47df120c91b85fa372a003a7
2024-03-22 22:50:31 +08:00
openharmony_ci
9b313ada59
!6565 defineProperty should modify an InternalAccessor to Value
Merge pull request !6565 from 贺存茂/0320defineProprety
2024-03-21 07:54:51 +00:00
hecunmao
01ca09bad1 [Bug]: defineProperty should modify an InternalAccessor to Value
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I99XLL

Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: I2c21ebc48cfc6ff38a5dc1a0044fb02ea5ad67c5
2024-03-20 15:54:18 +08:00
wengchangcheng
3332c54774 Merge remote-tracking branch 'openharmony/dev_shareheap' into dev_shareheap
Change-Id: I0f297a336b2bcd5d4065f99d3de6d02e58cbe036
2024-03-16 23:04:40 +08:00
Gymee
1a26c88329 Support BigInt in Sendable object
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I98ZHH
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: Ief90140eaf019ff85eb657964b0e8a0e37d5ee68
2024-03-16 11:31:05 +08:00
openharmony_ci
03a6609465
!6349 Bug in TryOptimizeAsFastElements that Convert an uint32 to int32
Merge pull request !6349 from 贺存茂/lengthChange0302
2024-03-05 07:39:56 +00:00
hecunmao
9c6058415f Bug in TryOptimizeAsFastElements that Convert an uint32 to int32
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I959FJ

Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: Iaa61411d853c6004ed0d169eef868d362ef10cf8
2024-03-02 18:37:19 +08:00
lichenshuai
6b71e0b044 [Bug]: CreateDataProperty快速路径导致static未走define语义
对于static的情况,走define语义。

Issue: #I8XNRO

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I271926b42288035e14c63763f207d52a3358dad6
2024-02-28 16:43:49 +08:00
hecunmao
0428a28323 BugFix:1.thisObjVal is not an obj in BuiltinsArray::Fill 2. SetPropertyForDataDescriptor do not update isInternalAccessor while has receiver
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I92MY5

Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: I8339987633c18875135c61496f083be55375659c
2024-02-21 15:08:17 +08:00
linxiang8
bc13482f4a fix createObjectWithBuffer IR
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I90ZVR
Signed-off-by: linxiang8 <linxiang8@huawei.com>
Change-Id: I67f2d9a4db85565d9b189d38fd1d4fb785307197
2024-02-04 16:45:21 +08:00
openharmony_ci
ed94a2df73
!6037 异常未及时返回part5
Merge pull request !6037 from 杨云飞/master
2024-01-30 06:44:34 +00:00
openharmony_ci
7cc39c19cd
!5880 新增多实例dump功能
Merge pull request !5880 from zhanheng/master
2024-01-30 03:32:42 +00:00
杨云飞
6d336ee64f 异常未及时抛出part5
Signed-off-by: 杨云飞 <yangyunfei19@h-partners.com>
2024-01-30 10:58:15 +08:00
zhanheng
0d41296d99 add dumpallvms
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8W4LI?from=project-issue
Signed-off-by: z00522183 <zhanheng2@huawei.com>
Change-Id: I3300b8f4aa803d621c6e7ddbda1f9a002fc22627
2024-01-30 09:50:29 +08:00
chenhantao
c2dcf34308 slice add fast path
Signed-off-by: chenhantao <chenhantao3@huawei.com>
Change-Id: I448be0425602de0d00d2ab588cb357b7963f69fc
2024-01-29 19:22:11 +08:00
杨云飞
bc467ba51c 处理异常未及时返回
Signed-off-by: 杨云飞 <yangyunfei19@h-partners.com>
2024-01-23 10:50:13 +08:00
openharmony_ci
59bc545211
!5860 Forbidden calling GetJSThread by Region
Merge pull request !5860 from lukai/sHeap
2024-01-20 10:17:27 +00:00
lukai
783fa0a6d2 Forbidden Calling GetJSThread by Region
Forbidden calling getJSThread by region
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8VGW7?from=project-issue

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: Ieb42714f4ed7c44194134f4f0b4845217ef44d5e
2024-01-19 17:38:00 +08:00
chenjx-huawei
e2ebf12530 Fix some bugs for security and regress
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8XIPG?from=project-issue

Signed-off-by: chenjx-huawei <chenjingxiang1@huawei.com>
Change-Id: Ie00bf5e14e701066a7cf74c049d0270e00bf9ee3
2024-01-19 17:26:16 +08:00
liushitong
e3ab474203 Modify code warning
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8UTG3

Signed-off-by: liushitong <liushitong@huawei.com>
2024-01-10 15:44:54 +08:00
liushitong
8b5794bc50 Modify code warning
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8UTG3

Signed-off-by: liushitong <liushitong@huawei.com>
2024-01-09 16:55:08 +08:00
linxiang8
e25aa65bfc fix hclass deopt
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8S6IW
Signed-off-by: linxiang8 <linxiang8@huawei.com>
Change-Id: Ie3cece5a70da688d61280a01380c43f7115b9424
2024-01-04 14:02:58 +08:00
openharmony_ci
0bb9b24a8a
!5723 Sendable Object with Object static function
Merge pull request !5723 from hzzhouzebin/ObjectApiForSendable
2023-12-30 09:31:36 +00:00
hzzhouzebin
9484c02ec6 Support Object proto function check
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8S6ZF
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I321dc81448dbdb188c896c149bf535676dca33b8
2023-12-29 12:28:21 +08:00
yingguofeng@huawei.com
f81cc0a51d Fix(Aot): Accessor Ininline adaptor TypeInfoAccessor and bugfix
Issue: #I8H2AY
Change-Id: I5e0a2c64768d7a30a0c17265fb2ec3ff7f83efb2
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-12-29 08:36:06 +08:00
weng-xi
47157ac405 Support loop hoist for TryLdGlobalByName
Issue: https://gitee.com/open_harmony/dashboard?issue_id=I8RSIT
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: If784f048754bf1d92e586de2fce035274ff4f646
2023-12-28 14:41:51 +08:00
openharmony_ci
f04bc6465a
!5617 AOT 开发分支代码整理合入
Merge pull request !5617 from weng-xi/tmp_branch_1205_merge_back
2023-12-25 14:32:26 +00:00
weng-xi
2b384bff97 AOT development branch code integration
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8PYAN
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: Iff4ddb646f7f9d6455ca2a3328ab3f94f9dd8757
2023-12-25 18:17:52 +08:00
hzzhouzebin
85f30d1a11 Add UT for shared checking
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8QUU0
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I8ac4ca085e95b066543ead9b52ff894395ce2902
2023-12-25 13:52:06 +08:00
hzzhouzebin
e322adfc46 fix codecheck for shared checking
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I38006a4209957d630f713cc8f4a60783f94845dc
2023-12-24 16:53:19 +08:00
Zhenyu Pan
1ae9f637f5 Fix SetHash GC bug that use raw pointer during GC
Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: Ibc143842aebe3e84678fbe0bcf914d82e34327c4
2023-12-24 16:47:07 +08:00
hzzhouzebin
444db026e8 Revert Immutable
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: Ic45423dee3c8d54b1e6eb82cfbd8312a95090382
2023-12-24 15:13:16 +08:00
hzzhouzebin
fa9ea682c8 fix code review for shared check
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I352becaec9fecb9cca5fa00d32274e77a03617b3
2023-12-24 15:12:42 +08:00
hzzhouzebin
72a7f02bc8 Get tracktype from ObjectOperator and bypass none type checking
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I74d19801bc3415478ee40f2b7c0fcfcab364ec91
2023-12-24 12:43:58 +08:00
Zhenyu Pan
d2ddf80032 Merge remote-tracking branch 'ets_runtime/master' into test2
Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: I93bd738d08e7821daa0d9673e88c6c7415b543e8
2023-12-21 21:30:05 +08:00
hzzhouzebin
6fad183425 Use bitfield for immutable and hash
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: Icb3da32ee7957705afc32f78fed88118490cc155
2023-12-21 20:11:20 +08:00
hzzhouzebin
de7ac06d42 Add Immutable check
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: Idbec4b97ad6374cc89a7f39372b9e95f238e4c88
2023-12-21 20:11:20 +08:00
hzzhouzebin
db88ac8312 Add type checking when update share-obj
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I5144757bc7fd75ba2bbbabe8f05e53ea11764db2
2023-12-21 20:11:20 +08:00
Zhenyu Pan
8d5f4a7a39 Add Immutable bit field into hash filed, Remove ownerID and extRef
Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: I53e6a17a61762db4fcd2bed211df9ba0727bacfa
2023-12-21 20:11:20 +08:00
hzzhouzebin
b2d2469dfc remove share-obj's read check and seal share-obj
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I3fe3d8a9de08dc2d82998679f97a831b9d8e40fa
2023-12-21 20:11:20 +08:00
lukai
14ba7fb177 Support private/static field of sendableClass
Support private/static field of sendableClass

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I715573a5bd5364c10df47ceee0790305adf7b863
2023-12-21 20:11:20 +08:00
hzzhouzebin
5b838d0963 Add shared checking for non-ic secnario
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I44afc653c23bc8ffef224c7e82d501820ba871a6
2023-12-21 20:11:20 +08:00
openharmony_ci
0db709e18e
!5580 Fix inline obj trim bug
Merge pull request !5580 from dingwen/master
2023-12-21 04:36:33 +00:00
dingwen
c3185d2e5b Fix inline obj trim bug
Description:Trim inline obj filed when jsobject transition to dictionary mode
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8P5WS

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: I5d88a94f7d4d4617ef1e395d88f2a348962dbea0
2023-12-20 11:03:59 +08:00
yaoyuan
61afc6feb7 ElementsKind-Part2
Enable Interpreter ElementsKind but with option as false
ISSUE: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8M1RU

Signed-off-by: yaoyuan <yuanyao14@huawei.com>
Change-Id: Ic2d0d4ecc1a0e08220aa2a2be4ad293ded725f07
2023-12-18 15:57:47 +08:00
xiongluo
63ce2ed253 add ArkTS tag with tid and opt heapdump
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: Icb14d88e6c5c4183e905a145ec9c97ecd4321b37
2023-12-16 21:37:49 +08:00
Zhenyu Pan
21d59b7e3a Add test case for serializer
Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: I804a74adf5b865d43ad411669443cbb711cfce56
Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
2023-12-14 21:58:25 +08:00
Zhenyu Pan
1b3f7fc2d3 Fix GC bug that use this(raw pointer) during GC
Change-Id: I388e87a86f0b53c92d8822dbfccc64f7d3be5111
Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
2023-12-14 21:58:12 +08:00
Zhenyu Pan
6f34a89346 fix crash bug during GC
Change-Id: I31d646a2db96e500a42ac65bb52e190feeda0211
Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
2023-12-14 21:57:58 +08:00
Zhenyu Pan
07b66f8f51 Small modifications
Change-Id: I439ba9e97fc228e62e479c62001d860a22e98e40
Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
2023-12-14 21:56:55 +08:00