262 Commits

Author SHA1 Message Date
fangting
cdbfa4340e optimize compiler
Issue:#IALVU8
Signed-off-by: fangting <fangting12@huawei.com>
2024-08-27 11:02:23 +08:00
ZitongLi
9448408128 Fix the cpu profiler data abnormal
Issue:  https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAHF1M
Signed-off-by: zitongli <lizitong1@huawei.com>
2024-08-19 17:03:30 +08:00
lichenshuai
fffbf1e4d6 [Bug]: 跨线程执行时,不应该进行栈溢出检测
当前,在PC上,在跨线程执行时,会进行栈溢出检测,存在功能问题。

Issue: #IAHMVD

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I4118a624fedc40651d0912653f1ef3b90e82ce1b
2024-08-03 20:05:49 +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
a8333c6500
ElementsKind Support JSArray as Proto
Merge pull request  from yaoyuan/arrayProto
2024-07-24 12:17:50 +00:00
yaoyuan
72a3e62801 ElementsKind Support JSArray as Proto
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAE3RU

Signed-off-by: yaoyuan <yuanyao14@huawei.com>
Change-Id: I4501de04972faa211d6f5822c951da8592b909d0
2024-07-24 10:32:41 +08:00
wu_zhang_da
efa26cb103 Revert "Disable worker aot optimization"
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAE7O5

This reverts commit ef2532024a1fd9435287a125ce53705ea2823200.

Change-Id: I5401b5c973bb83568dc568e0dfe4d9e9784a2412
Signed-off-by: wu_zhang_da <wuzhangda@huawei.com>
2024-07-22 16:36:37 +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
wangyue
4c0720fad0 fixbug in gc
Signed-off-by: wangyue <guowanlong@huawei.com>
Change-Id: Id380b24249ea8ce48f9cf0fdc29f1eb848bd8551
2024-06-18 15:24:49 +04:00
wangyue
b22809479a fix code check
Signed-off-by: wangyue <guowanlong@huawei.com>
Change-Id: I70fce8349f9d0e558068050f3edbd67f498e2b1d
2024-06-17 17:01:43 +04:00
wupengyong
8e309bcddf Revert "Revert " opt callruntime IsElementsKindSwitchOn""
This reverts commit 092dee000e5b14e439570400ce6858722e6d52c5.

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Id6b80dc82ee7bd640c6827e1a383a46ef8bb0b78
2024-06-11 20:12:34 +08: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
Disable worker pgo profiler and aot optimization
Merge pull request  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
wupengyong
092dee000e Revert " opt callruntime IsElementsKindSwitchOn"
This reverts commit 7b8fbc7cd135828fb4109ccdbd9c447adc289a8e, reversing
changes made to a3703671fc73c8d4253bedcf17437e6936da67e5.

Signed-off-by: wupengyong <wupengyong@huawei.com>
2024-06-06 22:08:39 +08:00
openharmony_ci
c5868251ef
优化SharedGC::Remark
Merge pull request  from chentianyu/master
2024-06-06 02:53:28 +00:00
chentianyu
6e01d884ae Optimize iterate local-to-share in SharedGC::Remark
Signed-off-by: chentianyu <chentianyu31@huawei.com>
Change-Id: I153e6f4161b794bbf7e649e5241bd1c41bafe963
2024-06-05 15:11:55 +08:00
openharmony_ci
7b8fbc7cd1
opt callruntime IsElementsKindSwitchOn
Merge pull request  from wpy111/master
2024-06-05 06:53:41 +00:00
wupengyong
eec73be2f7 Reason:opt callruntime IsElementsKindSwitchOn
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9UV05?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I34ee3ac1867cfe567c7e573787afb75afc15b1a5
2024-06-05 10:43:27 +08:00
openharmony_ci
7364f933d8
An exception was generated when throwing an exception. Procedure
Merge pull request  from 贺存茂/ExceptionGenerationWhereThrow
2024-06-05 01:26:58 +00:00
hecunmao
ddc110bff7 codeCheck2
Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: Ife510e130fe587a277fcca8d7f0b3bd604bade2e
2024-06-04 11:36:10 +08:00
openharmony_ci
7c36338bd1
【ark】optimize napi_call_function
Merge pull request  from huangzhenghua/master20240516
2024-06-04 02:11:43 +00:00
hecunmao
9bfb684070 codeCheck
Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: Ifeabbd3eb9b9484ed9ff939c323c6bfe8923db96
2024-06-04 09:45:47 +08:00
hecunmao
61b5c2f5fb An exception was generated when throwing an exception. Procedure
issue:https://gitee.com/open_harmony/dashboard?issue_id=I9RPS3
Signed-off-by: hecunmao <hecunmao@huawei.com>

Change-Id: I34067353d54e2a670bf96fa0f4897b100505dbbf
2024-06-03 22:19:49 +08:00
dingwen
67e3f97bc4 Fix Nonmovable space allocate fail under sensitive status
Description:Fix Nonmovable space allocate fail under sensitive status
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9TFB3?from=project-issue

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: Iacbabed496b6c52488b6f28217a206954bc436ca
2024-06-01 22:12:49 +08:00
xiaoweidong
61c6eb9b80 [JIT] Fix jit pgo default enable
Change-Id: I83f9b6e884d59f71a13f1d830421b3baaa617e17
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2024-05-30 15:58:25 +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
chentianyu
16ecef1a2d Enable SharedGC ConcurrentMark
Signed-off-by: chentianyu <chentianyu31@huawei.com>
Change-Id: Ib725c65a77130a6566d69d827654fc932cdbc36e
2024-05-21 16:25:44 +08:00
openharmony_ci
84686d8df8
bugfix: Async Function has Error where The OOM is generated during checksafepoint
Merge pull request  from 贺存茂/OOMPromise0513
2024-05-17 09:59:27 +00:00
chentianyu
c0973fce63 Support SharedGC ConcurentMark
Signed-off-by: chentianyu <chentianyu31@huawei.com>
Change-Id: I476a1b4e349b53c960048890a776eaad7681bd03
2024-05-16 18:29:49 +08:00
hecunmao
7de0877247 [Bug]: Async Function has Error where The OOM is generated during checksafepoint
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9OSJ6

Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: Id6cb3ede5b3b78929a27be722230937619ffbd54
2024-05-13 14:10:03 +08:00
lijiamin2019
25076981de Support sendable env
Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: I12c98e977e9338cbe811cdd65b8e6b80bc8f4872
2024-05-12 17:41:27 +08:00
openharmony_ci
d9a90f3ce2
修复一些可能有问题的jsthread state transition
Merge pull request  from chentianyu/master
2024-05-08 14:52:32 +00:00
openharmony_ci
e527d4869f
Fix some bugs for jit
Merge pull request  from xiaoweidong/bug_fix
2024-05-08 12:10:22 +00:00
chentianyu
7f3b7aac04 Fix some jsthread state transition
Signed-off-by: chentianyu <chentianyu31@huawei.com>
Change-Id: I9b4d64dab84b3c727aa442beb4f428f1a747a8b0
2024-05-07 16:19:29 +08:00
wangzhaoyong
8514a995a6 support ffrt update id
Signed-off-by: wangzhaoyong <wangzhaoyong@huawei.com>
Change-Id: I710649ad5df527bd086d40a25ba7d0b333aa0033
2024-05-06 19:42:19 +08:00
xiaoweidong
5cd76e7df6 [JIT] fix some bug for jit compile
1. TYPED_ARRAY_CHECK deleted error
2. CreateArguments should set has frame state to avoid delete
3. jit need disable LoweringBuiltin opt in work thread as builtin obj not
   init
4. jit thread should not use tlab allocate and GCIterating

Change-Id: Ib51733fbefe46444fc192c6499e6f41a0814eb61
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2024-05-05 11:24:01 +08:00
wuzhefeng
a6c0d7989b Introducing barrier to improve suspend-all performance
To improve the performance of suspend-all framework, the logic of suspend-all should be refactored.
Introduce barrier mechanism to synchronize the mutator threads when suspending-gc instead of via read-write-lock.

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

Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: I09d374c1276a8d39888739179ebd908c984812d0
2024-04-27 18:50:53 +08:00
openharmony_ci
89f1da696b
fix cpuprofiler Sampling error
Merge pull request  from 杨阳/fix_cpuprofiler
2024-04-23 06:29:53 +00:00
yang-19970325
b417c1b87e Fix cpuprofiler Sampling error
Issue:#I9IRLD

Signed-off-by: yang-19970325 <yangyang585@huawei.com>
Change-Id: I34602b62fe91fe1bd73977a967b23cfcced744d2
2024-04-23 09:57:21 +08:00
openharmony_ci
3ccef9e2e3
remove lock in jsThread
Merge pull request  from huangfeijie/remove_lock
2024-04-23 01:15:05 +00:00
huangfeijie
9e438a119c issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9ICWS
remove lock in jsThread
remove lock in jsThread

Signed-off-by: huangfeijie <huangfeijie@huawei.com>
2024-04-21 15:44:22 +08:00
wengchangcheng
38db6db8ad modify napi performance
1. add env in JSNativePointer deleter
2. delete new NativeObjectInfo
3. delete NapiNativeCallbackInfo, use ark stackinfo instead

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I1acf0e9f26096319ef74ef20e108ac63c9c2c21c
2024-04-21 14:47:41 +08:00
xiaoweidong
5eeab88974 [JIT] support pgo
* fix dump issue
* add option to decide pgo dump
* support jit compile class constructor
* fix codecheck
* support jit options with pgo
* rebase
* rebase & update jit profiler
* resolve conflicts
* [JIT] support pgo

Change-Id: Ia71a0dc85926d81b5613e7a9c7a3d24f6f1ca7ca
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2024-04-16 09:42:59 +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
openharmony_ci
8fd2a8cf9f
Add concurrent FinalizeCall back machanism
Merge pull request  from xiongluo/concurrent_post
2024-04-09 13:01:16 +00:00
openharmony_ci
41c83a53ce
解决抛异常问题
Merge pull request  from 韩靖/master
2024-04-09 08:28:03 +00:00
hwx1163501
118d81b21e 解决抛异常问题
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9DUSB
2024-04-09 10:57:51 +08:00
xiongluo
e0aa63ca45 Add concurrent FinalizeCallback machanism
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: I82114951fa719f71c03bac723896ae7496bb2f86
2024-04-09 09:58:14 +08:00