49 Commits

Author SHA1 Message Date
18157154025
18a2224ccf Optimized sendable array Api
Optimized sendable array Api

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

Signed-off-by: 18157154025 <liuhongchen5@huawei.com>
Change-Id: Ie5f2d6358cdc38a31fca41351bf83c08875447bb
2025-01-10 10:38:23 +08:00
18157154025
b43ffe3667 Repair the pop interface cannot shrink the sendableArray
Repair the pop interface cannot shrink the sendableArray

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

Signed-off-by: 18157154025 <liuhongchen5@huawei.com>
Change-Id: I060bc0f7d5dec2f5d8d32798fbd9c785aaa018ae
2025-01-04 15:46:29 +08:00
18157154025
ca04f2d399 Optimized sendable array Api which call ArraySpeciesCreate
Optimized sendable array Api which call ArraySpeciesCreate

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

Signed-off-by: 18157154025 <liuhongchen5@huawei.com>
Change-Id: I02b015ab8bd741eeffa4effc27c7a6ff9d68b285
2024-12-31 19:36:23 +08:00
openharmony_ci
4777136484
!10760 Optimized sendable array code
Merge pull request !10760 from 留红尘/ets_runtime/lhc/1227
2024-12-29 08:27:36 +00:00
openharmony_ci
3bbe983fbd
!10674 处理ets_runtime仓冗余头文件
Merge pull request !10674 from 杨云飞/master
2024-12-27 10:55:37 +00:00
18157154025
12cedb3f51 Optimized sendable array code
Optimized sendable array code

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

Signed-off-by: 18157154025 <liuhongchen5@huawei.com>
Change-Id: I120cb6b25df56981a5e9f2de6c940e36fdc543f8
2024-12-27 17:06:50 +08:00
杨云飞
86d1eb7a71 处理ets_runtime冗余头文件
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IBC2RM?from=project-issue

Signed-off-by: 杨云飞 <yangyunfei19@h-partners.com>
2024-12-25 10:07:18 +08:00
dov1s
ff3be9e7ac Opt Get/SetTaggedValueWithElementsKind
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IBA2R4

Signed-off-by: dov1s <maojunwei1@huawei.com>
Change-Id: I909f835e1977c25af7688c11dc4bb4f0f044ea72
2024-12-24 09:54:02 +08:00
maojunwei
f72c3b38eb Opt Array.fill
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB78E6

Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: I149bfb0c51334a0fc3a6a54e755d1dcde5d546b5
2024-12-24 09:53:51 +08:00
zhuzhihui7
ab1bc26df5 SendableArray add Reverse, ReduceRight, findLast, findLastIndex, toLocaleString APIs, Sendable TypedArray add LastIndexOf, ReduceRight API
Signed-off-by: zhuzhihui7 <zhuzhihui7@huawei.com>
2024-12-23 09:36:57 +08:00
openharmony_ci
0dac37351a
!10249 SendableArray add Of and CopyWithin API
Merge pull request !10249 from 留红尘/ets_runtime/lhc/1114
2024-11-18 03:57:40 +00:00
lhc
2f0f76bf59 Fixed compilation alarms
Fixed compilation alarms

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

Signed-off-by: lhc <liuhongchen5@huawei.com>
Change-Id: Ic44b88facaf258a60601ec4946539d4f1789d99c
2024-11-14 16:13:24 +08:00
lhc
1530f05a99 SendableArray add Of and CopyWithin API
SendableArray add Of and CopyWithin API

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

Signed-off-by: lhc <liuhongchen5@huawei.com>
Change-Id: I0563b5610abc39cbd7464919f3ea7ddc444a8f0b
2024-11-14 14:16:16 +08:00
openharmony_ci
fcc45c1db1
!10179 Optimized the method of obtaining SendableArray elements
Merge pull request !10179 from 留红尘/ets_runtime/lhc/1108_1
2024-11-14 04:48:12 +00:00
openharmony_ci
f755a4c2aa
!10175 SendableArray API filter process based on StableArray
Merge pull request !10175 from 留红尘/ets_runtime/lhc/1108
2024-11-14 04:44:18 +00:00
刘智杰
c420bd1fe9 Optimize Array.sort
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB106H?from=project-issue
Signed-off-by: 刘智杰 <liuzhijie9@huawei.com>

Change-Id: If301c6e3bfdff3381475f5728cb072b6bc65b1a6
2024-11-12 16:03:44 +08:00
lhc
f1adab739b Optimized the method of obtaining SendableArray elements
Optimized the method of obtaining SendableArray elements

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

Signed-off-by: lhc <liuhongchen5@huawei.com>
Change-Id: Ic040572b5c0e3a9ebf65e0622be549ede155629f
2024-11-08 20:37:04 +08:00
lhc
6c7cdb9063 SendableArray API filter process based on StableArray
SendableArray API filter process based on StableArray

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

Signed-off-by: lhc <liuhongchen5@huawei.com>
Change-Id: Ib6020101f409263526d0f4d42c62461f8fbb2711
2024-11-08 16:39:08 +08:00
openharmony_ci
a0b77dde21
!10156 SendableArray API every and some process based on StableArray
Merge pull request !10156 from 留红尘/ets_runtime/lhc/1107_1
2024-11-08 02:38:24 +00:00
lhc
19004088bb SendableArray API every process based on StableArray
SendableArray API every process based on StableArray

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

Signed-off-by: lhc <liuhongchen5@huawei.com>
Change-Id: I9c84db1debc1af80c4014632d1d6b8b6d31f70a8
2024-11-07 15:03:17 +08:00
lhc
1de335c9e7 SendableArray API concat process based on StableArray
SendableArray API concat process based on StableArray

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

Signed-off-by: lhc <liuhongchen5@huawei.com>
Change-Id: I5641a5cc89317dc5b5e28660cec865d87f1b7724
2024-11-06 19:12:11 +08:00
lhc
2a9bcfb608 SendableArray API findIndex process based on StableArray
SendableArray API findIndex process based on StableArray

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

Signed-off-by: lhc <liuhongchen5@huawei.com>
Change-Id: I713387bcc93380642c0f12bfa70ad4a0d7468191
2024-11-05 16:28:26 +08:00
lhc
4972b78232 Optimized sendable array fill api
Optimized sendable array fill api

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

Signed-off-by: lhc <liuhongchen5@huawei.com>
Change-Id: I90a45bc0ecd7b7941d58e5b48c5fe97c08df2b8a
Signed-off-by: lhc <liuhongchen5@huawei.com>
2024-11-04 10:31:08 +08:00
lhc
818185fb2e Reduce sendable duplicate code
Reduce sendable duplicate code

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

Signed-off-by: lhc <liuhongchen5@huawei.com>
Change-Id: I31fb2a41577a88b1be18f563deaf5be531bb0278
2024-11-03 10:24:21 +08:00
zhouwenxuan
563704118f builtins_shared_array.cpp alarm modification.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB0RKF

Signed-off-by: zhouwenxuan <zhouwenxuan1@huawei.com>
Change-Id: I9920be6ffc35bd2920bc7931e710827600bf3de6
2024-10-30 12:00:50 +08:00
wengchangcheng
cfa142fd59 Fix wrong kind of method when different thread define sendable class
1. Only set kind when set inherit relationship
2. Support create sendable array with double-type length

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I18b971cb5327ac8555e288c0129497f7c8d72dfd
2024-09-16 21:11:20 +08:00
openharmony_ci
d9678ccf4d
!9323 修复SendableArray.create频繁扩容问题
Merge pull request !9323 from lukai/cherry-pick-1726288143
2024-09-14 20:40:39 +00:00
lukai
4cc6629747 SendableArray.create extends multi-times which wastes memory
Allocate target memory directly avoiding extending array multi-times.
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IARCZJ

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: Iae91068e5805973c797fdfbddadb9cf6772706e6
2024-09-14 15:23:21 +08:00
lhc
f1f68d7c1b Add shared type check to shared array splice api
Add shared type check to shared array splice api

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

Signed-off-by: lhc <liuhongchen5@huawei.com>
Change-Id: I606a92462bb69efa8b947516e0f6b7b3409ea267
2024-09-14 13:18:04 +08:00
openharmony_ci
5773d4235d
!8716 BugFix:TypedArray.some interface performance deteriorates
Merge pull request !8716 from 贺存茂/Some
2024-09-04 16:01:41 +00:00
hecunmao
de5cf910c5 Bugfix: TypedArray.some function degradation
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAK99B

Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: I14d619d639e9256b7f8d8ac344f244a52d716206
2024-08-27 10:53:09 +08:00
liu-zelin
5252a4b03f Add isArray and lastIndexOf to SendableArray
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IALF4D?from=project-issue
Signed-off-by: liu-zelin <liuzelin8@huawei.com>
Change-Id: I2c6d8fd918fecc68a3bb7e3f3244dd3db6b90221
2024-08-26 14:20:42 +08:00
zhangtianqi
d72a38d85e add sharedArray.some sharedArray.every API and ut
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IALBQ3
Signed-off-by: zhangtianqi <zhangtianqi3@huawei.com>
Change-Id: Icb8afd1d944a81a24171cbc6912644283c67522c
2024-08-21 11:46:39 +08:00
openharmony_ci
d6c2221e5b
!8620 Delete shared array unused function
Merge pull request !8620 from 留红尘/ets_runtime/lhc/0810
2024-08-11 17:22:33 +00:00
lhc
8bd15ad70f Delete shared array unused function
Delete shared array unused function

issue: https://gitee.com/leaving-behind-red-dust/arkcompiler_ets_runtime/issues/IAJ3ZP

Signed-off-by: lhc <liuhongchen5@huawei.com>
Change-Id: I886bd9b9fc714c3e044b4846b85d838fa1de4cc6
2024-08-10 15:44:32 +08:00
fangting
30d0fdadbb optimize libark_jsruntiem builtins
optimize libark_jsruntiem builtins

Issue:#IAFU21
Signed-off-by: fangting <fangting12@huawei.com>
2024-08-04 16:17:12 +08:00
xiongluo
c79e8e3283 shared full gc
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAAM12

Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: I5785021320e5dcc164671c79bdc26975abedc68b
2024-07-29 16:55:23 +08:00
hecunmao
34e54c02ba Bug in Array.from fastpath
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IACUD3

Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: Iff0cdd7a2463d4a916bcbea416b78520cf8bafa5
2024-07-14 20:30:57 +08:00
lijiamin2019
6cc7e121e4 Support the splice interface of sharedArray
Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: I08cc68bed53be76c96e6cb1441e37dba65125881
2024-06-18 11:51:23 +08:00
hwx1163501
0d2e13ca0d 修改告警
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9IYYO
2024-04-24 09:57:44 +08:00
Gymee
8451e52e23 Fix some typedarray bugs and Add UT
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9GBNL
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: If113fb56a5ebf1dfd4aadfb4414755596fe0ae88
2024-04-14 19:37:09 +08:00
lijiamin2019
0d8a96051b support sendable array buffer
Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: I6abfec5cc725e3ec8e2b44804acd9b5b6b43b08a
2024-04-08 19:24:33 +08:00
Gymee
912c934f3b Support sendable TypedArray
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9EBOZ
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: I1cb8587c116dce003722a6005da1926029fbb69c
2024-04-07 21:03:05 +08:00
hzzhouzebin
5c4a946bc6 Freez SharedArray
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9DFUB
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I6e3dcd39b1e2d5ecd8cff0c3f65fc3495496fbf5
2024-04-02 16:16:14 +08:00
hzzhouzebin
93b2fdb032 New API for SharedArray
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9D0L7
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I4625ed4531180b4a6db45d65c0ebaa7482a88a83
2024-04-02 07:56:43 +08:00
hzzhouzebin
71ce0382d5 fix scec warning
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9BTOM
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I6841be1d8daf93dd66801784d08f00de4a29bbeb
2024-03-27 14:01:49 +08:00
hzzhouzebin
e473be615e Support exceptions for shared collections
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9BTOM
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: Ib53efb8e5db7456856a06494afd648a2b01b997f
2024-03-27 11:19:49 +08:00
hzzhouzebin
904babd2ef Fix concurrency check
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9BTOM
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: Ie1cd3eaf321f3e499cb364d281e4fc2340d8c328
2024-03-27 11:19:49 +08:00
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