Commit Graph

22 Commits

Author SHA1 Message Date
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