Commit Graph

28 Commits

Author SHA1 Message Date
c00451847
7ff11e1a87 fast create array with (...items)
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAJSUM

Signed-off-by: c00451847 <chenkai71@huawei.com>
Change-Id: Ie613e31ad72e6079af419b6d519c04664f82f126
2024-08-17 10:15:11 +08:00
openharmony_ci
a1db110f37
!8419 黄蓝区不一致:“回退五大项整改遗漏”
Merge pull request !8419 from 杨云飞/master
2024-08-02 05:33:27 +00:00
Andrey Efremov
d8cf9a50f7 Optimize ArkJS VM build time
Issue: https://gitee.com/open_harmony/dashboard?issue_id=IACDZP

Change-Id: I729c3a2741cb2571d6f7184b2726e5f06eca802a
Signed-off-by: Andrey Efremov <efremov.andrey@huawei-partners.com>
2024-07-30 16:26:35 +08:00
杨云飞
d5291f4a8d 黄蓝区不一致:“回退五大项整改遗漏接口"
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAFERE

Signed-off-by: 杨云飞 <yangyunfei19@h-partners.com>
2024-07-30 14:49:10 +08:00
Gymee
8a4d41f8d7 Revert PR 7378
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAFAQE
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: Ib72f377ce7e14be09a6de23da60469538a816a59
2024-07-24 16:49:20 +08:00
杨云飞
7912d55c91 五大项整改:JSArray::SetCapacity();
Signed-off-by: 杨云飞 <yangyunfei19@h-partners.com>
2024-05-28 16:32:03 +08:00
Gymee
67d7fe0243 Fix code style
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9P72Q
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: Ie6943ffc145142d53273821db893be3f6eb5547c
2024-05-17 10:57:26 +08:00
liujia178
4a929ced39 Optimizing the performance of array.prototype.sort.
Signed-off-by: liujia178 <liujia178@huawei.com>
2024-04-09 20:41:02 +08:00
xiaoweidong
0f4dd9fa1b [JIT] export libark_jsruntime.so symbols for libark_jsoptimizer.so
ISSUE:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8UZN0

Change-Id: If5e76b9da12114f6b8717824427af4a6ceedea5c
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2024-01-25 12:24:36 +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
lukai
66bf26a731 Use hintSize to calaculate growing capacity
HintSize collected by pgo is used to calaculate growing capacity.
TrackInfo filed of jsarray will be used as hintSize(taggedInt) in aot compiling.
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8J6TX?from=project-issue

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I706fb19ff5d00e8db324b0c55986fedf18538c10
2023-11-26 11:02:22 +08:00
wupengyong
975352ba95 Reason:optmize HandleCopyrestargsImm8
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8D7HK?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I93920ec8618f134c2d57c6d0301da4ad7a31f599
2023-11-03 20:24:19 +08:00
lukai
5e3dfec9e0 Support profiling elements size and allocating space
Profile elements size and allocating space for jsArray
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8A23P?from=project-issue

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I63ffa87cfb9564ede5f9fe5f3902f7cd781da27b
2023-10-26 19:25:27 +08:00
xliu
d59ac93aeb Fix Array.prototype.sort
1.Modifying the method of obtaining attributes during the sort process
2.Refactoring and integrating redundant array sort related code
3.Add test cases

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

Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: Ie1b301f3c54e4573d7179dbeaa599425622d6d58
2023-09-26 10:52:55 +08:00
yingguofeng@huawei.com
7b633520b5 Refactor>(PGO): PGO refactor
Adjust the PGO collection model. Complete type data collection by traversing the ProfileTypeInfo of Method through asynchronous threads

Issue: #I7UVD6
Change-Id: Ieb94892698d7a15d948b762ba057e4c0cf6ca1d2
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-09-17 16:00:55 +08:00
zhangyukun8
c8dbdf9e9a Deal with the situation that .rodata section and
.rodata.cst8 section are at different sides of text secton
1.Dont expand array size when create array
2.Calcute rodata sections at both sides of text section

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7XLUD?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: I8fe91f11c61c917aa336e6c7ac4fd64745b2189e
2023-08-31 20:20:06 +08: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
wu_zhang_da
3ad520f3ba Array Lazy Loading Bugfix
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7ES41

Signed-off-by: wu_zhang_da <wuzhangda@huawei.com>
Change-Id: I049055fa8ae7df475f27291af9d990356abd47d4
2023-06-20 09:19:06 +08:00
maojunwei
ef45c79258 Bugfix:fixed setelements to dictionary mode array
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7DJJ2

Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: I6ae673f1c5ab2f769f653bd8207969c35d981121
2023-06-19 11:52:15 +08:00
wengchangcheng
7a171ba5de Descriptor: Fix daily build error
Details: Add limits header to common.h

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I04e6a22ebe5fbd3ef48884692557a86e52c5bcb8
2023-01-06 09:40:10 +08:00
xiongluo
1291aa23a9 cow array optimize
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5V3ET?from=project-issue

Signed-off-by: xiongluo <xiongluo@huawei.com>
2022-10-26 11:37:49 +08:00
huangzhenghua
269bdc5d5e Modify unreasonable double type
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5QF0H
Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>

Modify the function of array, arrayHelper, typeArray, typeArrarHelper

Change-Id: Ib0c1c77de232b2d18b983ef0377e550bf513e067
2022-09-09 22:43:01 +08:00
openharmony_ci
c29332c1d9 !1833 fix fuzztest errro and add new fuzztest
Merge pull request !1833 from zhaozhibo/master

Change-Id: I1e83c46e25d0a7c342e5c8e7ca5ff61c745b7582
2022-07-25 08:49:51 +08:00
hjzhangcm
d0b3e4d607 fix codex waring
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-05-05 17:03:02 +08:00
y00576111
6dc6688270 EcmaScript Standard Module Implementation
Delete the existing module implementation and
re implement the module function according to the ECMA 2018 specification

issue: #I4NZQT [https://gitee.com/openharmony/ark_ts2abc/issues/I4NZQT]

Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: I8d381db7f8bf2f3d6b2a5c21cbc3cbab1aef0b9b
2022-03-10 19:10:42 +08:00
zhangyukun
a97747fe18 Description:sync from code from wgr_master to ohos
Signed-off-by: zhangyukun <zhangyukun8@huawei.com>
Change-Id: Ic66a9e649de8c0ce530483296fe323b8f50621fb
2021-12-21 09:36:03 +08:00
zhangyukun
7ffcc4b20f Sync js_runtime to openharmony
Signed-off-by: zhangyukun <zhangyukun8@huawei.com>
2021-09-08 09:20:53 +08:00
wanyanglan
86cfe52253 add ark js_runtime
Signed-off-by: wanyanglan <wanyanglan1@huawei.com>
Change-Id: Iac7851492f10c0ef1303c621febb65e5fdd22e41
2021-09-05 16:05:06 +08:00