Commit Graph

41 Commits

Author SHA1 Message Date
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
Gymee
51abd12a7c Fix multi-thread-check failed with FFRTaskpool
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAIGT6
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: Ia8a0997f3205b91ec62c34c660c545c11bbeeb1e
2024-08-23 14:30:38 +08: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
fangting
902e4ff2c0 optimize compiler
optimize compiler

Issue:#IAJ541
Signed-off-by: fangting <fangting12@huawei.com>
2024-08-13 10:17:04 +08:00
xiongluo
c936a131db Remove Daemonthread in check thread
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAH00U?from=project-issue

Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: I2909d0585563da49a73ae77257b93facebbbd939
2024-08-01 01:32:51 +08:00
caolili123
278100ae3c issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IA9PV1
Signed-off-by: caolili123 <caolili14@huawei.com>
2024-07-03 18:13:18 +08:00
xiongluo
f88552ff52 adjust qos priority for partial gc
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9V0YF

Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: I4285021ebc9ff8b38dfb8d5c07cd83fa2dc0e416
2024-06-04 22:02:13 +08:00
chentianyu
16ecef1a2d Enable SharedGC ConcurrentMark
Signed-off-by: chentianyu <chentianyu31@huawei.com>
Change-Id: Ib725c65a77130a6566d69d827654fc932cdbc36e
2024-05-21 16:25:44 +08:00
chentianyu
c0973fce63 Support SharedGC ConcurentMark
Signed-off-by: chentianyu <chentianyu31@huawei.com>
Change-Id: I476a1b4e349b53c960048890a776eaad7681bd03
2024-05-16 18:29:49 +08:00
xiaoweidong
2aed02e4e4 [JIT] jit concurrent compile 2
1. Add alloc check in new share obj hook
2. get callsite from frame directly for jit
3. fix comments

Change-Id: I5232a29e8c84385cfdb805237f587cb4d8e982c2
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2024-04-15 14:04:05 +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
hzzhouzebin
21b441b872 Post task to set moduleName
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I927RS
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I10524f871923fc776c4474ce8c34b834652cc4e7
2024-02-21 10:04:26 +08:00
yqhan
59d352a4bb Modify the thread name for GCThread.
issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I8O0SS

Signed-off-by: yqhan <hanyuqing2@huawei.com>
2023-12-13 14:22:49 +08:00
yqhan
69be933473 Modify the name of thread
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8JB9B

Signed-off-by: yqhan <hanyuqing2@huawei.com>
2023-11-24 18:22:01 +08:00
edwardcaoyue
34a00d5a77 qos migrate from frame_aware_sched to qos_manager
Signed-off-by: edwardcaoyue <caoyue24@huawei.com>
Change-Id: Ie18a16243cd32599f05d67bfaab75d745ef3cacf
2023-10-12 17:01:58 +08: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
openharmony_ci
9b34143788
!4594 Set qos priority for gc worker thread and add it to rtg group
Merge pull request !4594 from wuwanqi/master
2023-09-21 14:42:44 +00:00
wuwanqi
e5cf6298c1 Set qos priority for gc worker thread
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7R6TY

Signed-off-by: wuwanqi <wuwanqi2@huawei.com>
Change-Id: Ia7da7d8e2cea2a3a3e33037ead0123054e27445b
2023-09-21 21:15:34 +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
Zhenyu Pan
bab13f6430 Fix bugs on ArkUI-X project
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7HBTA

Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: Icad2baf64fb8f34a18ff70936635684688892142
2023-06-30 11:20:02 +08:00
lichenshuai
20bd45cf45 Reconstruct Lock for Runner
Move lock from TaskPool to Runner.

Issue: #I6L273

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: If457f75b1441b3768a81c9ed7aa0eee84988f744
2023-03-22 10:56:49 +08:00
yingguofeng@huawei.com
47134bfb20 feat(PGO): Add profdump tool
1、profiler translate from binary to text
    2、profiler translate from text to binary
    3、PGO profiler code refactoring

link #I6E38H

Change-Id: Id6988af126d32937ecc8aaa4c617a638ac4795b4
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-02-27 14:02:31 +08:00
lichenshuai
3a3c81ebad Add lock for IsInThreadPool
There is low probability that nullptr cppcrash happens in Taskpool::IsInThreadPool(). It needs to be fixed.

Issue: #I6DK7J

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I221af1ea827b74b067a6b4db0b191b8b68d89cd0
2023-02-08 11:02:04 +08:00
openharmony_ci
14a8c96338
!3146 Encapsulate some interface in PandaFile
Merge pull request !3146 from weng-changcheng/refactor_file
2023-01-05 07:14:36 +00:00
wengchangcheng
2cdbecaeb9 Descriptor: Encapsulate some interface in PandaFile
Details: Encapsulate GetStringData and use JSPandafile instead of File

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Ied940326ea2913337db013e1ab1bf57b6f56162b
2023-01-03 15:16:51 +08:00
Gymee
c021124935 Tweaks code
Issue: #I682CT
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: Id4f55f67403e6256ca5a95505e8d0888c0544172
2022-12-29 18:09:35 +08:00
openharmony_ci
7c3a5d4394
!3083 Add basic platform for adapting crossing os
Merge pull request !3083 from yingguofeng/platform
2022-11-28 13:05:33 +00:00
yingguofeng@huawei.com
5e35bba222 refactor(platform): Add basic platform for adapting crossing os
Include interface of file、map、time、os.

link #I60UJM

Change-Id: I27e05f203a1c21799e055c33a25a0f82b68ab092
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2022-11-28 15:07:41 +08:00
zhaozhibo
5e4853b54b Merge branch 'master' of gitee.com:openharmony/arkcompiler_ets_runtime into master
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-11-28 02:01:20 +00:00
zhaozhibo
0837d2ab3e fix code warnings
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-11-28 10:00:41 +08:00
huangzhenghua
2b03d70271 clean alarm
Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>
Change-Id: Ibe52bcaec35aecbc9cdf56bd9d1734adb94b8b7b
2022-11-25 17:19:44 +08:00
yingguofeng@huawei.com
c9d4e14744 perf(PGO Profiler): optimizer PGO Profiler
1、Modify occasion of saveing profiler data
    2、Change allocation from new to chunk

Closes #I61UVO

Change-Id: I1aae4a5c3f8117dae78921f654140f20f1bbe9f5
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2022-11-21 14:11:42 +08:00
openharmony_ci
72411e7f32
!2417 Make ark-engine adapt to ios-platform
Merge pull request !2417 from Gongyuhang/master
2022-10-14 03:05:26 +00:00
gongyuhang
430038e30b Ark engine adapt to ios platform.
Issue: https://e.gitee.com/open_harmony/dashboard?issue=I5QYMN
Test: N/A
Signed-off-by: gongyuhang <gongyuhang7@huawei.com>
2022-10-13 23:07:50 +08:00
lukai
2adbf5d689 Decrease number of GC threads
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5VBKA?from=project-issue

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I17881319be4ac4b342d7a00d2d00a4fe59608d8f
2022-10-12 16:19:34 +08:00
Gymee
b2e3a44ebf fix duplicate taskpool instance
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5P2P8

Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: I38e12adc8929bb68f444cc906cf68746f4c0145f
2022-08-31 18:56:44 +08:00
linxiang
4a082f4f0b use full-path for all headers.
Signed-off-by: linxiang <linxiang8@huawei.com>
Change-Id: I20b5cf6245799839362b1999d3d9fb6955bf609a
2022-07-25 20:32:55 +08:00
ZhenyuPan
ba7849273d for ark_js_vm on mac
related issue: https://gitee.com/openharmony/ark_js_runtime/issues/I55GYU
Change-Id: I3faad1171ed2ef08660c62f0ff6c88b34c5cbcfa
Signed-off-by: panzhenyu1 <panzhenyu1@huawei.com>
2022-05-09 09:06:58 +08:00
zhaozhibo
cc222126ad fix codeDex warning.
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-04-14 10:56:51 +08:00
xliu
8cc9061625 Runner task multithreading problem
Description
  1. The runner task will crash probabilistically in the case of multithreading.
  2. Add locks in the runner task to solve the problem of multi-threaded
  concurrent access.
Issue:
  #I51UZB: Runner task multithreading problem

Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: I04afedd505b90d0ba8124b9a88d398234f71f3be
2022-04-09 17:04:57 +08:00
DaiH
6efbeeaba1 Change file folder "platform" to "tastpool"
Signed-off-by: DaiH <daihuina1@huawei.com>

1. Change file folder "platform" to "tastpool"
2. Change class "platform" to "tastpool"

https: //gitee.com/openharmony/ark_js_runtime/issues/I4Z7EU
Change-Id: Ife3f2a9e52a02e5046e3ccd936f1993aa225e908
2022-03-23 15:43:38 +08:00