Commit Graph

146 Commits

Author SHA1 Message Date
chenlincl3
b1407960c2 Fix failure to load hsp in multi-threading
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAQ98P
Signed-off-by: chenlincl3 <chenlin201@huawei.com>
Change-Id: I54918cb0e894a595f81cb412ff8ccd0c5bf316bb
2024-09-13 12:21:28 +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
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
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
openharmony_ci
68845b1e9e
!7986 LoadJSPandaFile维测日志
Merge pull request !7986 from jiangmengyang/loadfilelog
2024-07-17 02:22:03 +00:00
jiangmengyang
98c0e385ec LoadJSPandaFile接口添加load文件名维测日志
print jspandaFile header addr

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

Signed-off-by: jiangmengyang <jiangmengyang3@huawei.com>
Change-Id: I796a7e8bad0ec953d2218ff99ca02d2276e59057
2024-07-15 17:09:36 +08:00
wupengyong
af70c83ac7 Close multi thread TranslateClass
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IACMKG?from=project-issue
Test: Build & Boot devices

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I980a1dedf3ab1fd61df7902131c63645ee19e63c
2024-07-12 17:24:52 +08:00
openharmony_ci
c40f00d60f
!7971 Get the frame information containing returnaddr for dfx
Merge pull request !7971 from 邵益江/nativeframe
2024-07-11 13:57:05 +00:00
shaoyijiang
b202288afe Get more frame info for dfx
1.Remove the jit frame from the crash main thread scene
2.Get more native frames info for dfx
3.Fix prctl failure caused by tag.length() > PR_SET_VMA_ANON_NAME_MAX_LEN

Issue: IA6Z36
Signed-off-by: shaoyijiang <shaoyijiang@huawei.com>
Change-Id: I8dad456668519c80a0a45f22343f7304fb4c0cc5
2024-07-10 13:58:53 +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
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
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
chenjx-huawei
e8ca8bb697 Throw JSERROR when load invalid input hsp path
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IA4N1O?from=project-issue

Signed-off-by: chenjx-huawei <chenjingxiang1@huawei.com>
Change-Id: I1c93dbaed6393e7f821885c1eabab31e094c2038
2024-06-12 12:08:09 +08:00
openharmony_ci
73e736c4af
!7729 Add module log
Merge pull request !7729 from yaochaonan/log
2024-06-11 16:24:11 +00:00
yaochaonan
9a6440a112 Fix Trace bug
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IA47XL?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: I0bbd654572229000e6d44c72243d42ba592b0c62
2024-06-11 21:59:47 +08:00
yaochaonan
cfcb06ffaa Add module Log
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9W59W?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: I7ff54398cd498475ead90fed8e55302bc178a4e0
2024-06-10 20:20:26 +08:00
openharmony_ci
f85634779d
!7501 增加模块化打点
Merge pull request !7501 from yaochaonan/esmtrace
2024-05-31 22:14:28 +00:00
yaochaonan
48213e5303 Add esm Trace
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9RTYD?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: Ie696e83790b2375425a4f134f30e7192ccf48eb4
2024-05-29 14:50:53 +08: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
yaochaonan
70790ad7a6 Add more log information
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9Q5F9?from=project-issue
Signed-off-by: yaochaonan <yaochaonan@huawei.com>

Change-Id: I2ad1e3f8abfeb8abf0919c167b5690ecb075b7e5
2024-05-17 22:01:55 +08:00
linxin
aa6fba5d96 New option compiler-jit-call-threshold: Trigger jit when the execution count of the js function reaches the specified number of times.
Signed-off-by: linxin <linxinyq@foxmail.com>
Change-Id: Iac8091b6fb9994d932fa008e41e83168c3d3b389
2024-05-10 14:05:35 +08:00
@han_177
9901da08d6 修改告警
Signed-off-by: @han_177 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9KXZL
2024-05-07 19:08:57 +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
shaoyijiang
41ce47a4b4 Feature adaptive sampling stack local backtrace
Signed-off-by: shaoyijiang <shaoyijiang@huawei.com>
Change-Id: I12be937154fc677af8aba10af5f1d3827ab207be
2024-04-30 10:00:19 +08:00
chenlincl3
4fa40ad2de Add an innerApi to check whether the module is in the abc file
Signed-off-by: chenlincl3 <chenlin201@huawei.com>
Change-Id: I4bf796186cdfe8da06df6fa2e2a798c00f09ac0e
2024-04-20 15:39:06 +08:00
wengchangcheng
b8b1775b12 share constpool between vm
1. move shared constpool to Runtime
2. delete vm in JsPandaFileManager

https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9DFIY

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I11cbbeefa72981f07f5513e81ec054acdd4fc9a5
2024-04-03 19:08:44 +08:00
Emelenko Aleksandr 00537379
7f67d8e815 Description: Fixes for SuspendAll functionality
TicketNo: #I9A5SB

Change-Id: Iecb74e29ee131862acbaeac41d6a3514789d6bee
Signed-off-by: Emelenko Aleksandr 00537379 <emelenko.aleksandr@huawei.com>
2024-03-22 16:44:08 +08:00
DaiHN
cd342f8e6e Exception log Rectification
issue : https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I978SO

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: Ic957fb2771cf5843e13745707bcf6d4fe75c011a
2024-03-10 21:33:51 +08:00
shaoyijiang
ccb6135d14 mac_x86 preview crash
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I95R6Q
Signed-off-by: shaoyijiang <shaoyijiang@huawei.com>
Change-Id: I61d77ac1be71c91a17610e301d8bd9c543b8de46
2024-03-04 15:06:45 +00:00
shaoyijiang
8c2508e71c 完善执行ark buffer的时候的mmap标签
Signed-off-by: shaoyijiang <shaoyijiang@huawei.com>
Change-Id: I7c5c35af1f6c192a1a88a8dc816d54e4e06f8884
2024-03-01 02:53:57 +00:00
rentangyu
8a8fd4e8ee 混合栈js栈ets转换
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8QTOO

Signed-off-by: rentangyu <rentangyu@huawei.com>
2023-12-26 10:35:35 +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
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
DaiHN
3fb9681b48 Support loading different-project HSP
issue : https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8DHJ6?from=project-issue

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: If5def67f26cc9a318a3b11a92dc6784ca2fa4858
2023-11-04 15:25:17 +08:00
openharmony_ci
70593a6b42
!4931 GTModuleIdUseAbcName
Merge pull request !4931 from hzzhouzebin/GTModuleIdUseAbcName
2023-10-07 05:56:37 +00:00
xiongluo
c7ab7dddd8 change mutex based on pthread_mutex
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: I232c1378a20dcef26e61cee76b7b40cccc5b5e9f
2023-09-27 15:11:28 +08:00
hzzhouzebin
86421e28cf GTType Use abcId
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I847SZ
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I2400632a75949617c7f0c1ba1c8aa8de0da27a59
2023-09-27 14:46:12 +08:00
hzzhouzebin
3538963a3d Save abc Id in ProfileType
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7XYEP
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I241401eddf14c318a4728862a886174c6e2aaf00
2023-09-26 23:45:24 +08:00
openharmony_ci
d8ad7b6d1e
!4718 Support loading HSP at Previewer
Merge pull request !4718 from DaiHN/preview_hsp
2023-09-19 08:38:28 +00:00
DaiHN
d46adc83dd Support loading HSP at Previewer
issue : https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7X78H

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I0405477038648b122c9f5140b6cf2ed78f46e6fe
2023-09-19 14:09:58 +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
xinking129
c10ae45914 Resolve the issue of loading hsp crashes
Signed-off-by: xinking129 <xinxin13@huawei.com>
2023-09-14 19:41:07 +08:00
hzzhouzebin
fb81ab9a7f Widden classType for external file
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7WY7J
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I15b85c141635cdc17d03b914c9189233c3595bb4
2023-09-06 21:34:38 +08:00
openharmony_ci
0353859fe0
!4708 Add secure check for secure memory
Merge pull request !4708 from yaochaonan/hsp
2023-08-31 01:48:36 +00:00