Commit Graph

192 Commits

Author SHA1 Message Date
zhaoziming
1878401060 Enable PGO when an/ai exists for non-app case
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAS0KY

Signed-off-by: zhaoziming <zhaoziming9@huawei.com>
Change-Id: I92138a4cce4cb4a2f3a67cb7010c7f7c1435f606
2024-09-21 16:35:57 +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
openharmony_ci
1b74e333ee
!9203 [JIT] Sync code
Merge pull request !9203 from xiaoweidong/code_co
2024-09-11 21:07:53 +00:00
xiaoweidong
396b2b385e [JIT] sync code
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAQ53G
Change-Id: I305727bd72f2948f17f588c032e4395817857d7e
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2024-09-10 19:14:30 +08:00
yaochaonan
fb6699a170 Fix pandafile can't get from pandafileManagerList
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IANT8Z?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: I1dce7361cc544971e2bed4c77d4e2ac569a39692
2024-09-06 16:09:37 +08:00
openharmony_ci
3614686182
!8695 优化frame iteration
Merge pull request !8695 from xing-yunhao/stackmap_opt_v1
2024-08-26 22:42:13 +00:00
xing-yunhao
3eaf375b72 Optimize frame iteration
1. In ArkStackMapParser::IteratorStackMap, it will traverse stackmap twice, once for storing info and another for handling info
   Now, it traverse only one time.
2. Storing fp delta in 'method.extraLiteralInfo' and skip finding FuncEntryDes in AOTFileInfo::CalCallSiteInfo which will accelerate FrameIterator::Advance
3. Skip storing callee register info if CalCallSiteInfo is not called when handling deopt
4. Add an aottest case to test branches of Advance with different GCVisitedFlag and frame type

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

Signed-off-by: xing-yunhao <xingyunhao1@huawei.com>
Change-Id: I3f2c8e8f49fb46218496d131ca253cc845d11746
2024-08-26 10:54:15 +08:00
wangyuxin
cf76ec2fa5 Revert PR 8715
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAM99H
Signed-off-by: wangyuxin <wangyuxin53@huawei.com>
Change-Id: Ida626004f20488c0f4abecf5929c094ecea4705b
2024-08-24 21:36:18 +08:00
openharmony_ci
a223da954d
!8751 Delete log at AOT entry
Merge pull request !8751 from yycc/testfor
2024-08-21 02:11:50 +00:00
yycc
38a1daba47 Delete log at AOT entry
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAKY5W
Description: Delete log at AOT entry which execute too many times and
may slow down AOT's performance.

Signed-off-by: yycc <yuyicen1@huawei.com>
Change-Id: I97c2b2a14840ac7aaf7069a2c1ba80ee022b047e
2024-08-19 20:30:36 +08:00
wangyuxin
58d2221cd0 Fix bug of exception thrown when dynamic importing in ARM
Not process uncaught exception when executing from job in ARM

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

Signed-off-by: wangyuxin <wangyuxin53@huawei.com>
Change-Id: I73f0af92c1edb17ca51ac3182792dfd2b3b9c74a
2024-08-15 16:41:58 +08:00
fangting
902e4ff2c0 optimize compiler
optimize compiler

Issue:#IAJ541
Signed-off-by: fangting <fangting12@huawei.com>
2024-08-13 10:17:04 +08:00
openharmony_ci
5452dffc01
!8598 unshraed constpool not created bugfix
Merge pull request !8598 from transparent123123/tzr_ai_loading2
2024-08-10 06:20:47 +00:00
transparent123123
3169711332 unshared constpool not set
should create unshared constpool for aot.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAIX6E?from=project-issue
Signed-off-by: transparent123123 <tanzirui@huawei.com>
Change-Id: If316d5aee2506a115a97cb82649541c0cef4adda
Signed-off-by: transparent123123 <tanzirui@huawei.com>

Change-Id: Ia2bc4bffc9ffb759f526fa0d3e209731a128ed3c
Signed-off-by: transparent123123 <tanzirui@huawei.com>
2024-08-08 23:42:50 -07:00
hlm2001
820b0116f0 Clear code security alarms
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAHX6K

Signed-off-by: hlm2001 <huanglimin10@huawei.com>
Change-Id: I29c8c3a367872efc41a5b3c7e3c902d1a2ecdc96
2024-08-07 12:27:40 +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
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
openharmony_ci
88e4f5ae42
!7742 冗余ets文件打印
Merge pull request !7742 from yaochaonan/logtools
2024-07-24 11:55:29 +00:00
yaochaonan
adc10430fb Support used file print
Issue: https://e.gitee.com/open_harmony/dashboard?issue=I9VUMK

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: I2d9ed0705c3acb57d1dcb7ca7cc4ad5ba8e2cc38
2024-07-24 01:40:21 +08:00
openharmony_ci
9ae3bad8b0
!8291 文件路径整改
Merge pull request !8291 from YuliCheng/temp
2024-07-23 11:36:23 +00:00
YuliCheng
4820e96212 Direction fix
Direction fix

Issue:  https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAESV5
Signed-off-by: yulicheng <chengyuli1@huawei.com>
2024-07-22 22:20:04 +08:00
wu_zhang_da
efa26cb103 Revert "Disable worker aot optimization"
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAE7O5

This reverts commit ef2532024a.

Change-Id: I5401b5c973bb83568dc568e0dfe4d9e9784a2412
Signed-off-by: wu_zhang_da <wuzhangda@huawei.com>
2024-07-22 16:36:37 +08:00
openharmony_ci
9dab5b4969
!8069 Fix crashes when the phone signal does not allow the use of malloc related functions
Merge pull request !8069 from herongpeng/fix_signal
2024-07-18 17:49:12 +00:00
harryhrp
5ba737abfa Fix crashes when the phone signal does not allow the use of malloc related functions
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IABHLM?from=project-issue
Signed-off-by: harryhrp <herongpeng@huawei.com>
Change-Id: Ibfffc984049a97f5a295915b5cd7935c73f33704

Change-Id: Iee9c74ea23bf2983e3c238e5974d3026ffba5e5b
2024-07-18 11:04:11 +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
openharmony_ci
87b2068df6
!8084 ConstPool GC Bugfix
Merge pull request !8084 from 吴璋达/gcbug
2024-07-15 10:06:52 +00:00
openharmony_ci
a1747dae62
!8003 Fix Cross-Platform AOT Macro
Merge pull request !8003 from liujia178/Fix-Cross-Platform-AOT-Macro
2024-07-11 13:51:45 +00:00
wu_zhang_da
17352456c1 ConstPool GC Bugfix
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IABRZ5

Signed-off-by: wu_zhang_da <wuzhangda@huawei.com>
Change-Id: I732c8cb6daf41ebd9a6a7f4d8f1039a501c7b121
2024-07-11 09:15:05 +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
liujia178
e6a8f39b14 Fix Cross-Platform AOT Macro
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAA0J3

Signed-off-by: liujia178 <liujia178@huawei.com>
Change-Id: 02f42f42ab
2024-07-08 19:40:08 +08:00
zhangyukun8
2666efaaf5 Support dump setting function prototype info for pgo
1. Dump setting function prototype info and optimized with it
2. Filter newtarget for fast-call

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

Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: Ie42304bfbdcb79aabd64812441ed2cce9dacccdb
2024-07-08 17:25:12 +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
04ac775abc
!7827 Framework abc hclass and object aotliteral update
Merge pull request !7827 from 吴璋达/ihc
2024-06-21 06:09:23 +00:00
wu_zhang_da
aea97656af Framework abc hclass and object aotliteral update
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IA62QL

Signed-off-by: wu_zhang_da <wuzhangda@huawei.com>
Change-Id: Id362b57457a71445d3731343340703b2567de88e
2024-06-21 10:14:02 +08:00
Gymee
c7327e7658 Adapt WeakRef for shared object
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IA68FM
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: I4061cb62c4a404e1b2ca67261f31609f150d0632
2024-06-18 14:57:08 +08:00
chenlincl3
ce2e2f1618 [bug_fix] 修复动态加载引起的微任务时序问题
Signed-off-by: chenlincl3 <chenlin201@huawei.com>
Change-Id: Ieadb26b28bf68881152f486f361a4d4310746f91
2024-06-12 15:54:05 +08:00
openharmony_ci
8e542b7c9a
!7522 Optimize HostResolveImportedModule
Merge pull request !7522 from yaochaonan/convert
2024-06-09 10:49:51 +00:00
zhangyiwei
ebfcd49d08 keep MachineCode alive while exist relative jsError
Signed-off-by: zhangyiwei <zhangyiwei11@huawei.com>
Change-Id: I0781ca5f8c587afefc1d3225f1591531697c0d03
2024-06-09 16:34:48 +08:00
openharmony_ci
aad409e815
!7689 Disable worker pgo profiler and aot optimization
Merge pull request !7689 from yingguofeng/master
2024-06-07 09:52:39 +00:00
yingguofeng@huawei.com
ef2532024a <Fix>(Aot): Disable worker pgo profiler and aot optimization
Issue: #I9VIJF
Change-Id: I30046d6a4c1d53c616634bbf20c510172342b775
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2024-06-07 16:00:46 +08:00
yaochaonan
9cb9420f16 Optimize HostResolveImportedModule
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9S6IW?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: I14a6d3c825f5253b021550fab78dd01a4a8e7493
2024-06-07 14:25:04 +08:00
xwcai98
172d8828bc Opt string.localeCompare
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9S5VE

Signed-off-by: xwcai98 <xwcai98@gmail.com>
Change-Id: Idc1aa1068e7918d3c218630aee1bfb333e8219a9
2024-06-06 09:52:10 +08:00
liujia178
4c6952930e AOT CrossPlatform Adaptation
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9RERS

Signed-off-by: liujia178 <liujia178@huawei.com>
2024-06-05 09:42:55 +08:00
openharmony_ci
7c36338bd1
!7436 【ark】optimize napi_call_function
Merge pull request !7436 from huangzhenghua/master20240516
2024-06-04 02:11:43 +00:00
zhaishimin
827e331db7 [JIT] reuse machine code and profile type info
Change-Id: Iee9ab6691c53b7beb3aaefe871b85a9a650f3911
2024-05-31 17:58:59 +08:00
huangzhenghua
93999305cb optimize napi-call-function part3
1. opti dm
2. opti ThreadStateTransitionScope
3. opti cas
4. opti CheckSwitchDebuggerBCStub
5. opti hasKeptObj

Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>
Change-Id: Ib016cd9774ea578245119828c7ad0277a2f0f3e9
2024-05-27 10:12:43 +08:00
openharmony_ci
f406f68d1c
!7247 【语言编译运行时】【ArkCompiler】: log日志打印执行的模块并可通过option控制
Merge pull request !7247 from jiachong/j30052427_addLog
2024-05-25 15:47:59 +00:00
zhangyukun8
1dd717aa18 Call deopt spread bugfix
1. use aot_to_asm_interp bridge to replace codeentry when deopt
2. add IsHotnessFunc filter for callthis
3. constpool in aotfilemanager gc bugix

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

Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: I71d9010b108dd541253757c774077cc16455a11e
2024-05-25 18:43:46 +08:00
jiachong
179cdc4bd0 Print Ark_Module Name
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9LJG6
Signed-off-by: jiachong <jiachong6@huawei.com>
Change-Id: I4b35ccbd28b2be408141f71c62644bb9d73309ef
2024-05-25 18:13:56 +08:00