Commit Graph

373 Commits

Author SHA1 Message Date
zhouguangyuan
813a0106d6 use vector to manage the native pointer
When calling PushToNativePointerList, it spends too much time to allocate the native memory to add the pointer to list. Using vector instead of list can reduce the allocation.

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAQN94
Signed-off-by: ZhouGuangyuan <zhouguangyuan1@huawei.com>
Change-Id: Ic6ca716a3d6aad00b5a6c8e299c25c8bb31fe3c0
2024-09-21 19:54:30 +08:00
zhuangkudecha
68de2d91d0 Add Option Enable Force IC
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAPV03

Decription: Add Option for enable force ic
Test: All stable and performance teset suite

Change-Id: I7f4f6a99f1e4198a2f5426ad221e4d1bb5ce7d7c
Signed-off-by: zhuangkudecha <fuhao71@huawei.com>
2024-09-18 15:07:19 +08:00
openharmony_ci
bc5ed273ce
!9282 Disable PGO profile when an/ai file exists
Merge pull request !9282 from zhaoziming_hw/zzm-dev-close_pgo_with_an
2024-09-14 20:38:22 +00:00
zhaoziming
183bd39dda Disable PGO profile when an/ai file exists
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAQODS

Signed-off-by: zhaoziming <zhaoziming9@huawei.com>
Change-Id: I934e0954dfc325084c0088b8ce48a2578a885a48
2024-09-14 17:50:24 +08:00
Gymee
c50c4cac25 revert ffrt-based taskpool
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAPOOO
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: I0be3997f06b44a22a74e16185e0a0fd1320a6847
2024-09-14 09:21:24 +08:00
openharmony_ci
6505137227
!8714 Export GetThreadId for napi
Merge pull request !8714 from milkpotatoes/ext-get-tid
2024-08-27 07:05:25 +00:00
Gymee
ab96c934b0 Support ffrt-based taskpool
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAIGT6
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: I3f8e4042fa185bdc74ea252e71072228256faa67
2024-08-23 14:30:26 +08:00
milkpotatoes
ca8935a5e0 Export GetThreadId for napi
Issue: https://gitee.com/openharmony/arkui_napi/issues/IA4BL6

Signed-off-by: milkpotatoes <chenshulin5@huawei.com>
Change-Id: I9ed5d17f05693f1b62abf830197779f31a8d6922
2024-08-22 15:22:18 +08:00
dingwen
637c1afd2e Default enable multi-thread check in asan
Description:Default enable multi-thread check in asan
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAI245?from=project-issue

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: Ia3f2ecd5912ce335cc26fdf6d412a56f33f8d940
2024-08-16 10:04:13 +08:00
Andrey Efremov
2001176380 Fix ark_aot_compiler build after build time PR
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAHK2U

Change-Id: I1372eb2d5dab84d229daa7b0ced5badee2bc2fe8
Signed-off-by: Andrey Efremov <efremov.andrey@huawei-partners.com>
2024-08-02 20:42:35 +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
4684399766
!8310 Modify snapshot env update root type
Merge pull request !8310 from dingwen/snapshotenv_br
2024-07-24 21:28:27 +00:00
dingwen
efcbbe061e Modify snapshot env update root type
Description:Modify snapshot env update root type
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAF2VX?from=project-issue

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: Ieca0c3345c237f75b7ed6dc903e192bee46fa027
2024-07-24 10:18:58 +08:00
openharmony_ci
ef86a4598f
回退 'Pull Request !7653 : DataProtect IsRestrictedWorker ' 2024-07-23 09:31:15 +00:00
openharmony_ci
1c608d6b13
!7653 DataProtect IsRestrictedWorker
Merge pull request !7653 from YuliCheng/RestrictedWorker_Data_Protect
2024-07-23 01:01:32 +00:00
openharmony_ci
3e774b2735
!8210 Open multi thread translateclass and set sharedbit in translateclass
Merge pull request !8210 from wpy111/master
2024-07-19 08:27:32 +00:00
wupengyong
ebe357f884 Revert "Close multi thread TranslateClass"
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IADJGG?from=project-issue
Test: Build & Boot devices

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I0c6dd73ecce2d06be4ed14d738daede47177d361
2024-07-18 15:30:37 +08:00
chenlincl3
e40928bb07 Op resolvedmodules
Issue:   https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IACNUX
Signed-off-by: chenlincl3 <chenlin201@huawei.com>
Change-id: icbb0da7263a7c92eda28944cea2c45fc62e2e9ab
2024-07-16 16:21:22 +08:00
YuliCheng
e041dba29b Protect isrestrictedworker_
Protect isrestrictedworker_

Issue:     #IA66SG
Signed-off-by: yulicheng <chengyuli1@huawei.com>
2024-07-16 10:34:30 +08:00
rentangyu
5560a3ab9e The aa startup mode is added
If the .so file fails to be loaded, the detailed error information is displayed

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

Signed-off-by: rentangyu <rentangyu@huawei.com>
2024-07-11 16:27:31 +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
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
yaoyuan
8220d003ea fix security check & fix format
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAB2O5

Signed-off-by: yaoyuan <yuanyao14@huawei.com>
Change-Id: Ia3553873e82808962e26f2b1002e8c6fa6d82885
2024-07-08 14:01:36 +08:00
yaoyuan
a970c393cc DFX Enhancement - AOT Snapshot Stats Trace
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IA8N3O

Signed-off-by: yaoyuan <yuanyao14@huawei.com>
Change-Id: If2ba27b46e123162e358285d07a36c77ff033cb1
2024-07-02 16:01:27 +08:00
h30044958
3eae9b3b34 The loading AotRuntimeInfo class is changed to singleton mode
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9VQ3Z

Signed-off-by: h30044958 <herongpeng@huawei.com>
Change-Id: Id81d1dc43f030a80fb006aa8aee6a61166b0f236
2024-06-21 17:40:17 +08:00
openharmony_ci
be1681d7ee
!7823 Refactor AOT compiler pipeline (part 3)
Merge pull request !7823 from XinweiCai/refactor_aot_compiler_pipeline
2024-06-18 08:25:21 +00:00
linxiang8
c9c5e48c95 support jit log skip
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IA657T
Signed-off-by: linxiang8 <linxiang8@huawei.com>
Change-Id: Ia08766d8716a8858fb1d7aef5f5b4604306514c5
2024-06-18 09:11:18 +08:00
xwcai98
994c00028c Refactor AOT compiler pipeline (part 3)
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IA5WNB

Signed-off-by: xwcai98 <xwcai98@gmail.com>
Change-Id: Ib2b40727cad332f6321f286aaa79f9359f318670
2024-06-17 20:58:45 +08:00
Han
cfe47462a1 Modity the getStartRealTime of process module.
issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/IA5IA9

Signed-off-by: Han <yqhanj@isoftstone.com>
2024-06-14 16:15:05 +08:00
hecunmao
43ba624e3e Bugfix:OOM in MicroJobQueue: : EnqueueJob causes into the reject
issue:https://gitee.com/open_harmony/dashboard?issue_id=I9TJ1Y

Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: I08d065bc767c3612896356fafb24cfb7d3bbd12d
2024-06-03 15:06:14 +08:00
openharmony_ci
961cf1338f
!7452 [新需求]: Function.prototype.bind IR化
Merge pull request !7452 from 李晨帅/FunctionIR
2024-05-30 13:24:21 +00:00
openharmony_ci
7725292976
!7133 provide string cache to optimize get property
Merge pull request !7133 from shilei91/master
2024-05-29 02:58:36 +00:00
openharmony_ci
d4594c9301
!7416 [bug] 加载hap/har失败fatal,打印hap/har路径
Merge pull request !7416 from wanghuan2022/master
2024-05-29 01:57:35 +00:00
shilei
f56625350b support string cache for arkui
Signed-off-by: shilei <shilei91@huawei.com>
Change-Id: I8e01db23aa26ba62a100908ee87a9f06fe4a96f2
2024-05-28 07:21:48 +00:00
lichenshuai
cdb629a9b9 [新需求]: Function.prototype.bind IR化
对 Function.prototype.bind IR化,以提升性能

Issue: #I9QCI5

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I2bc7df27a3cdba7baf895dc9064ad0d4c873f4e4
2024-05-27 17:05:53 +08:00
Carmack
aa3f235aa8 JS leakage setting restrictions
Signed-off-by: Carmack <eurushomles@163.com>
2024-05-21 13:32:19 +00:00
wanghuan2022
acd116231e [bug] 加载hap/har失败fatal,打印hap/har路径
desc: 加载hap/har失败fatal,打印hap/har路径

solu: 加载hap/har失败fatal,打印hap/har路径

issue: https://gitee.com/openharmony/ability_ability_runtime/issues/I9PUCF

Signed-off-by: wanghuan2022 <wanghuan80@huawei.com>
Change-Id: I83cc793fd248d8824ec51a4f9a6ee12e27635e0f
2024-05-20 15:29:00 +08:00
yaoyuan
64b83221a0 Bugfix Defined misuse
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9QCFA

Signed-off-by: yaoyuan <yuanyao14@huawei.com>
Change-Id: Ic92a39f9d60a80fc4450c145949314ddce8382d2
2024-05-18 16:33:05 +08:00
openharmony_ci
75094262df
!7376 Move native pointer callback into task
Merge pull request !7376 from xiongluo/move_callback_to_task
2024-05-18 08:23:43 +00:00
xiongluo
468c865505 Move native pointer callback into task
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: I392e97184425c882fa59de3c8343b9f0075374b0
2024-05-18 12:30:58 +08:00
EurusHomles-zH
b9de3d84d0 Description:JS leakage settting restrictions
Signed-off-by: EurusHomles-zH <zhouhang65@huawei.com>
2024-05-16 21:05:04 +08:00
xiaoweidong
c19f983549 [JIT] bug fix when vm exit
1. terminate task when vm exit
2. get machinecode through machinecode space
3. Reset jitcnt when deopt

Change-Id: Ib5c2cb5c7dc2645ba9d346578704b4a4133136b1
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2024-05-16 14:17:54 +08:00
h30044958
1f8868e9dc Added an escape default switch
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9PE6L

Signed-off-by: h30044958 <herongpeng@huawei.com>
Change-Id: Id2f438fd09db96a4e59f5e60ae3aa02b3de12892
2024-05-15 17:13:21 +08:00
openharmony_ci
6df99129a9
!7328 ArkTools - Collecting Scope-Lock Stats
Merge pull request !7328 from yaoyuan/ArkToolsScopeStats
2024-05-14 07:27:22 +00:00
h30044958
b1bf50503c AOT Escape Adds an enabling switch.
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9O7H7

Signed-off-by: h30044958 <herongpeng@huawei.com>
Change-Id: I0f544d62c69b6900dfd81e252c9cc19c25032fd9
2024-05-13 17:03:35 +08:00
yaoyuan
6a55087701 ArkTools - Collect Scope-Lock Stats
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9OEBY

Signed-off-by: yaoyuan <yuanyao14@huawei.com>
Change-Id: Iafdcac5b289bcc4f0232bb1b7d04cb017a8a01b9
2024-05-13 10:40:19 +08:00
openharmony_ci
bc3600b387
!7230 Fixed worker creation failure under new ohmurl rules
Merge pull request !7230 from chenlincl3/work
2024-05-09 07:14:50 +00:00
chenlincl3
46b06ff474 Fixed worker creation failure under new ohmurl rules
Signed-off-by: chenlincl3 <chenlin201@huawei.com>
Change-Id: Ia2c8d54d4b24048553696c70e80c9787880972ed
2024-05-09 10:39:16 +08:00
openharmony_ci
e64c3ee985
!7166 Add securemem
Merge pull request !7166 from yaochaonan/securemem
2024-05-04 11:21:40 +00:00
yaochaonan
6484fd24e7 Add securemem
Issue:https://gitee.com/openharmony/arkui_napi/issues/I9E9M5?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: Idd6be87dd8a1ab7e0738028acb0eb7e1937815e9
2024-05-04 08:08:32 +08:00