Commit Graph

148 Commits

Author SHA1 Message Date
zhouguangyuan
4df9a1100c avoid string construct when get method name
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IATZ4H
Signed-off-by: ZhouGuangyuan <zhouguangyuan1@huawei.com>
Change-Id: Ia03b70210aba3c17f6c008439bd2ef400f43ac51
2024-09-30 11:49:32 +08:00
shaoyijiang
95bc903e0f Intercept GenerateProgram exceptions in advance
Issue: IAOIMR
Signed-off-by: shaoyijiang <shaoyijiang@huawei.com>
Change-Id: I3ec0086efa07a1a207402764af45085054f14d12
2024-09-04 10:12:24 +08: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
openharmony_ci
339ac736f7
!8286 fix UpdateMainMethodIndex multi thread bug
Merge pull request !8286 from wpy111/master
2024-07-24 11:57:55 +00:00
wupengyong
98ec7c0bf0 Fix UpdateMainMethodIndex multi thread bug
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAESLF?from=project-issue
Test: Build & Boot devices

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Id73b169008d0f8a5a3ed177c8bb338fd54eee3b1
2024-07-23 15:29:08 +08:00
xwcai98
282d51f11e Remove hasTSType
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAECZ6

Signed-off-by: xwcai98 <caixinwei5@huawei.com>
Change-Id: I178a354861b1086bda32412275d3dd8a6bfa000d
2024-07-20 14:13:48 +08:00
liuzongze
eb90f10480 Fix some parameter type errors
Description: Fix type error

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

Signed-off-by: liuzongze <liuzongze@huawei.com>
Change-Id: I90a0260ec37abcf7ff833a71cb7ee2c374d8a244
2024-07-10 16:42:58 +08:00
openharmony_ci
b4220d044c
!8054 Fix compilation issues
Merge pull request !8054 from lijiamin/master
2024-07-09 20:11:53 +00:00
yaochaonan
28325725ac Support Lazy Import
Issue: https://e.gitee.com/open_harmony/dashboard?issue=IAARFN

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: I8ccd39ba22d71827eb93699d560165beb9d12ba9
2024-07-10 00:41:17 +08:00
liuzongze
fc6d4707a3 Apply cold start performance optimization
Description: Modify the object type to pointer type

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

Signed-off-by: liuzongze <liuzongze@huawei.com>
Change-Id: I301a919f8b1313c93ec6b1c74d6bac495822041b
2024-07-09 15:46:36 +08:00
openharmony_ci
29967ac988
!7890 Execute TranslateClasses in other thread
Merge pull request !7890 from wpy111/master
2024-07-09 06:39:49 +00:00
lijiamin2019
af436f4e7d Fix compilation issues
1.fix compilation issue
2.Modify function name

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

Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: Ib31c272558ffa9aa94bd67080f224cd1287b0c9f
2024-07-08 21:22:13 +08:00
wupengyong
f032571cb7 Execute TranslateClasses in other thread
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IA7GHA?from=project-issue
Test: Build & Boot devices

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I463165678ac1b3079e7e22fc19088deae70563a6
2024-07-08 15:38:51 +08:00
lijiamin2019
4c8bf4d7bf Support sendable function
1.get functionKind and set method IsSharedBit
2.define sendable function.

Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IA947R

Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: Ia970e06569c37a98bccab696fbb9b2f9c1de51de
2024-07-07 16:50:46 +08:00
wu_zhang_da
5e3c043907 Fix Aot Binding and Array.prototype.indexOf
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IA9NNH

Signed-off-by: wu_zhang_da <wuzhangda@huawei.com>
Change-Id: I9e871497ead7efa70061b04782c882623d11881d
2024-07-01 16:34:58 +08:00
hzzhouzebin
adcae46b0c Revert "fix Aot Binding"
This reverts commit b3b9198e0a.

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IA8I51
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I68c07d6f165cf30cf168d4dd11243a1c3129ead3
2024-06-26 16:45:38 +08:00
openharmony_ci
211b968251
!7739 Fix Aot Binding
Merge pull request !7739 from hzzhouzebin/fixAotBinding
2024-06-19 15:57:24 +00:00
hzzhouzebin
b3b9198e0a fix Aot Binding
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IA3Z8B
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I4f4143b25692c5c192b3ebea24ba75908abd0d6c
2024-06-18 22:37:35 +08:00
zhouguangyuan
15287d030b fix file path normalize when get callee pandaFile
Signed-off-by: ZhouGuangyuan <zhouguangyuan1@huawei.com>

Change-Id: I1bf547ef2cf0d9018eca7a65d0a4ff581ebfe945
2024-06-18 10:19:34 +08:00
yaochaonan
6a98053d88 Optmize FindOhmUrlInPF
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9RSDI?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: Ie85350e7cffd240c7b993b67d511d8ab0615178e
2024-05-27 19:24:37 +08:00
xiaoweidong
b27afd924d [JIT] support concurrent compile
Change-Id: I3d1db40eb479434875a9952c0f5f9279ff67cdaa
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2024-04-15 14:04:05 +08:00
DaiHN
03892a9864 Support shared module
issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/I9BIE5

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I7cecbb668131d2279966749be68a02a6127f7ac9
2024-04-07 20:04:00 +08:00
wu_zhang_da
e1e19414f3 Support Framework AOT
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I99NQZ

Signed-off-by: wu_zhang_da <wuzhangda@huawei.com>
Change-Id: I3580ad9fa80ed7cb4cb9fd121ac0dcb160da0b3f
2024-03-30 16:07:43 +08:00
DaiHN
bbbbd13688 Fix of import function failed across thread under certain circumstances
issue : I997OU
1. Fix of import function failed across thread under certain circumstances
2. support cjs/json/native so in LazyExecuteModule

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: Id27da5b215582543a3f639d59365488dd33c2628
2024-03-23 20:37:01 +08:00
wengchangcheng
c1e94f2c5b Merge remote-tracking branch 'openharmony/master' into dev_shareheap
Change-Id: I453d3948421d4327a8d54b5689b1ec21f97f5dce
2024-03-11 22:42:20 +08:00
xiaoweidong
5e561c4c20 [JIT] refact jit code
1. support singleton jitcompiler, and submit compile task to jit compilertask
2. clear compiled code when deopt overflow
3. fix code align bug
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8Z9XW
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>

Change-Id: I07b43207d1be907267183f0c7b6c388dc6cdb6da
2024-02-27 09:31:28 +08:00
Gargoyle.h
97e7509f82
!6190 Support importing obj in Sendable Class
Merge pull request !6190 from DaiHN/sendable_module
2024-02-20 13:47:10 +00:00
DaiHN
f09abc4fa1 Support importing obj in Sendable Class
issure : https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/I91CQ6

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I16cda3c6d3fa2571d2be2f951c604297cac851aa
2024-02-20 19:47:50 +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
rentangyu
0182904166 打开AOT,采集应用冷启动过程,应用crash
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8Y5F8

Signed-off-by: rentangyu <rentangyu@huawei.com>
2024-01-23 10:35:45 +08:00
wanghuan2022
3dd3c8448d [Bug]: 修复开关机压测偶现崩溃在CUnorderedMap问题
desc: 修复开关机压测偶现崩溃在CUnorderedMap问题

solu: CUnorderedMap多线程访问导致崩溃,需要加锁

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

Signed-off-by: wanghuan2022 <wanghuan80@huawei.com>
Change-Id: Ia80dcfef798cdf4d4e41abc5c1135873bf5c891a
2024-01-11 20:38:29 +08:00
yaochaonan
a8354fecbd Support dynamicImport use variable string input, and concat OhmUrl in runtime
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8OMNO?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: I47fa9deadf34196c1cf9a59a1fd171ea0561e669
2023-12-27 18:46:50 +08:00
shaoyijiang
27250c67ab 系统预制应用cppcrash混合栈打印修复
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8Q0ZA

Signed-off-by: shaoyijiang <shaoyijiang@huawei.com>
Change-Id: I3cde95f1e1a7c7077e39c799b1f1ac61d06d44f1
2023-12-22 02:33:40 +00: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
lichenshuai
b21f1eae7c support top-level await for module
支持ECMA2022规范模块顶层await

Issue: #I8LMRX

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: Id09ac6f6bc6df9d4790d33f998b2b87586650658
2023-12-09 22:47:29 +08:00
hzzhouzebin
6e19efffbb Adapt hsp
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8LQ9P
Change-Id: I80c1dbf036fbb5e88eaa1f7413e8dca0af465b97
2023-12-08 14:19:38 +08:00
hzzhouzebin
8b21504dc1 ApRecordIdUseClassIdInsteadOfModduleIdx
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8FXXD
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: Icfcf7d40b4010fef72e0b160e87559b3a22691cc
2023-11-14 16:55:46 +08:00
xiongluo
2125620ffd Relocate constant string when panda file removed
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: If990bb377fc4cc1b23ec4b212e280f56c642503b
2023-10-31 19:20:14 +08:00
wengchangcheng
59fae0812a Fix compiler fail
Fix standalone build fail

Issue: https://gitee.com/openharmony/arkcompiler_toolchain/issues/I869QD

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Ie9349d8d22a7f0b6ccd40ce2ff36cf947580302e
2023-10-09 13:53:57 +08:00
hzzhouzebin
88d3467065 Extract ohos abcPath from panda description
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I84A9Q
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: Ia1efbf2665f0847ef35e6e20155bec77c3e2532e
2023-09-26 12:19:08 +08:00
yaochaonan
07dda02b9a Revert "Refactor module, modify unreasonable hierarchical[Part 2]"
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I829U7?from=project-issue
This reverts commit 7e605984a9.

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: Ie2d52b853e03feae706237dfceb48db1c5256147
2023-09-18 15:50:38 +08:00
DaiHN
7e605984a9 Refactor module, modify unreasonable hierarchical[Part 2]
issue : #I6K6UK

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I860181b413258c2d3c2abd761173d3cf233e5fe3
2023-08-29 21:15:01 +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
yaochaonan
f1efb77b4a Refactor module,modify exception [Part 1]
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7M4NK?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: Ie402c920323833b4e7df0d7bc19aa335efc230b0
2023-08-01 14:52:51 +08:00
wupengyong
c0fa165ab0 Reason:add fast call and change calling conversion to cc
Description:add fast call and change calling conversion to cc
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6TTCX?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I7c35619d73a4d961799232bc22b78b6513f65e71
2023-05-18 19:23:25 +08:00
changjiaxing
0344e301ec Fix issue with bundleName error when loading pages across applications
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I739U7?from=project-issue

Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: Ic9b709e6fc1e09459f50976ace5abdc3d2a17b59
2023-05-15 20:28:16 +08:00
xliu
9184d0d92c Execute abc in safe memory
Creating safe memory for abc code, execute abc in safe memory

Issue: https://gitee.com/openharmony/ability_ability_base/issues/I6MMBW

Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: I0d5797bcec911f3cd5b7dbad439d37357bc42d16
2023-05-14 15:49:27 +08:00
xiongluo
cf451e377d constant string optimization
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: Ieabea29874752fed615b0a911cf4118e791663eb
2023-05-08 17:07:03 +08:00
huoqingyi
34ddc47922 Support typeinfer for generic types [PART_1]
In order to support typeinfer for generic types, we first need to refactor
the process of extracting types and parsing types to handling negative numbers,
which represent formal parameters of generic types recorded in type literals in abc files.

Issus:
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6UYLQ

Tests:
test262, typeinfer test, aot test

Signed-off-by: huoqingyi <huoqingyi@huawei.com>
Change-Id: I8197a93c81cc2b2335a418b0307b23880a0799e4
2023-04-23 14:19:11 +08:00
changjiaxing
362a126652 完善模块化jscrash报错信息
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6TFPE?from=project-issue

Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: Ib85f95111c1667bba6256b1dc7c080261449047d
2023-04-07 10:09:55 +08:00