Commit Graph

12300 Commits

Author SHA1 Message Date
xwcai98
0188e63649 Fix array join
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB2BF8

Signed-off-by: xwcai98 <caixinwei5@huawei.com>
Change-Id: Iaf7494f825abe52239cfd2aea2694ebac8c1633c
2024-11-05 23:03:17 +08:00
lukai
13bc406e7b Adjust fragmentation limit of sharedfullgc
Adjust fragmentation limit of sharedfullgc
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB2BFI

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: Icc64c2437de59fa882cd86d0c4425626d4d4605f
2024-11-05 22:04:39 +08:00
xiongluo
c4e0a55fdd Add overshoot size
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB1N10

Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: Ib9625f4c8098407a90e772708d7d57d7a0d2dace
2024-11-05 21:47:01 +08:00
zhouguangyuan
5937ec0379 use std::reverse/std::sort for typedArray
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB2AJU
Signed-off-by: ZhouGuangyuan <zhouguangyuan1@huawei.com>
Change-Id: I1916ed24af7a2aaab748f44e152389b26b1495b1
2024-11-05 21:07:37 +08:00
wupengyong
2ac7a1eb83 Reason: fix Date cache bug
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB1MTB?from=project-issue
Test: Build & Boot devices

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I2a4b21bae79ff8d97b624acce4410d48ac954259
2024-11-05 20:38:04 +08:00
xwcai98
3acd110404 Fix FlatStringInfo bug
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB28LM

Signed-off-by: xwcai98 <caixinwei5@huawei.com>
Change-Id: If60afa9c542c1aeed035985a0e8514390b0675d8
2024-11-05 19:47:33 +08:00
lhc
2a9bcfb608 SendableArray API findIndex process based on StableArray
SendableArray API findIndex process based on StableArray

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

Signed-off-by: lhc <liuhongchen5@huawei.com>
Change-Id: I713387bcc93380642c0f12bfa70ad4a0d7468191
2024-11-05 16:28:26 +08:00
Like
2250bd69ee fix: trackinfo before gc update reference
Issue: https: //gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB278C?from=project-issue
Signed-off-by: Like <zhenglike@huawei.com>
Change-Id: I62f356d0dde28b97e80de7950f3b53ceabfa31f8
2024-11-05 15:17:21 +08:00
xwcai98
e1147688e1 Fix assign bug
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB27BA

Signed-off-by: xwcai98 <caixinwei5@huawei.com>
Change-Id: Ibcf0b06d438c891739c3155ff390b025430ba21c
2024-11-05 15:13:50 +08:00
yy
d9a5265eb1 Modify code security specification alarm
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAWKKF?from=project-issue

Signed-off-by: yy <yejunwen2@h-partners.com>
2024-11-05 14:29:51 +08:00
xusen
de74851504 Ason stringify support map & set
Ason stringify support map & set

Issue:     https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAN344
Signed-off-by: xusen <xusen15@huawei.com>
2024-11-05 11:50:02 +08:00
hecunmao
a77eed01fb Map can not delete because of hash bug
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB1NM4

Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: I128b0baf79a68d879956962ee9d7418ca78c98f9
2024-11-04 22:49:32 +08:00
hecunmao
dcb9e55ec8 1**"test" Get Error Result
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB212T

Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: I6b5d5a39e48cbdf6ce9b34bbdc45bf9d00f7309c
2024-11-04 22:20:03 +08:00
jiachong
da6343428c Concat方法异常未抛出
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB18AA
Signed-off-by: jiachong <jiachong6@huawei.com>
Change-Id: I78f79883ca4eef0e1e2b24257f98745295e64eac
2024-11-04 18:53:17 +08:00
xusen
d93c369ec9 Remove unused jsnapi property
Remove unused jsnapi property

Issue:  https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB1Z3O
Signed-off-by: xusen <xusen15@huawei.com>
2024-11-04 17:29:55 +08:00
sandee
8920c9961f Add UT for GC
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB1NH8
Signed-off-by: sandee <xieyunfei8@huawei.com>
Change-Id: Idf9ceb819a8cf6f4041ab0000d16c14c8d1f77e1
2024-11-04 11:40:12 +08:00
chentianyu
891c8cc625 Fix data race in GC sweeper task
Signed-off-by: chentianyu <chentianyu31@huawei.com>
Change-Id: Ic6cf0e6acea685b8f89606fcf17d6efe65d74652
2024-11-04 11:36:33 +08:00
langerange
2e5f791636 zlib组件的依赖方式整改:外部依赖由deps改为external_deps
Signed-off-by: langerange <zhengwei97@huawei.com>
2024-11-04 11:03:51 +08:00
lhc
4972b78232 Optimized sendable array fill api
Optimized sendable array fill api

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

Signed-off-by: lhc <liuhongchen5@huawei.com>
Change-Id: I90a45bc0ecd7b7941d58e5b48c5fe97c08df2b8a
Signed-off-by: lhc <liuhongchen5@huawei.com>
2024-11-04 10:31:08 +08:00
openharmony_ci
d469c5d3e4
!10090 Reduce sendable duplicate code
Merge pull request !10090 from 留红尘/ets_runtime/lhc/1103
2024-11-03 14:37:03 +00:00
lhc
818185fb2e Reduce sendable duplicate code
Reduce sendable duplicate code

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

Signed-off-by: lhc <liuhongchen5@huawei.com>
Change-Id: I31fb2a41577a88b1be18f563deaf5be531bb0278
2024-11-03 10:24:21 +08:00
openharmony_ci
26d41c69b2
!10073 SetProcessingRset 踩内存问题修改
Merge pull request !10073 from jinjiawei/waitsharedgc
2024-11-02 21:27:43 +00:00
openharmony_ci
815c322f49
!10041 Fix string size error while heapDump
Merge pull request !10041 from 杨阳/fix_string
2024-11-02 21:25:10 +00:00
openharmony_ci
3ad9397c91
!10063 use reference counting to manage memory and add lock protection
Merge pull request !10063 from 邵益江/dfx_new
2024-11-02 21:18:02 +00:00
openharmony_ci
3eb3070e31
!10081 Add UT for GC
Merge pull request !10081 from Sandee/ut_20241101
2024-11-02 21:15:34 +00:00
lukai
4f8946ebf4 Enable idle concurrent mark if full mark request
Enable idle concurrent mark if full mark request by shared limit.
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB1NE1

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I1cbb0fdf45eb1ed25c517463df18a19e2a758d66
2024-11-02 22:26:02 +08:00
yang-19970325
12da43e9e6 Fix string size error for heapdump
Issue:        #IAZU9Z
Signed-off-by: yang-19970325 <yangyang585@huawei.com>
2024-11-02 21:46:28 +08:00
openharmony_ci
6540e94132
!10068 asan hangs on the backtrace
Merge pull request !10068 from 任堂宇/master
2024-11-02 11:43:17 +00:00
openharmony_ci
9332f37366
!9863 remove redundant code from jsnapi
Merge pull request !9863 from shilei91/master
2024-11-02 11:40:36 +00:00
openharmony_ci
6bf9ed7dba
!9995 Add module UT
Merge pull request !9995 from jiachong/jc_ut2
2024-11-02 11:38:13 +00:00
openharmony_ci
915632ea3d
!10077 StatisticHeapDetail 栈溢出问题
Merge pull request !10077 from jinjiawei/stack-check-fail
2024-11-02 09:17:22 +00:00
openharmony_ci
e688cee54e
!9913 Opt intern string strict equal
Merge pull request !9913 from linxinyq/opt-intern-string-strict-equal
2024-11-02 03:51:32 +00:00
openharmony_ci
8e15568cff
!10061 模块化重构Step2:将ShareModuleManager和ModuleManager中的Resolve函数搬移至ModuleResolver中
Merge pull request !10061 from wangchen/module_resolver
2024-11-02 03:47:47 +00:00
openharmony_ci
694773938f
!9809 [Bug]: Add retype process for risky opcodes
Merge pull request !9809 from 王不薄/UpdateReTypePass
2024-11-02 03:36:13 +00:00
openharmony_ci
8490c143c1
!10072 Enable Concurrent mark and sweep in background
Merge pull request !10072 from xiongluo/enableCM_back
2024-11-01 14:34:40 +00:00
openharmony_ci
bedeb17e29
!10074 Don't select cset in sensitive status
Merge pull request !10074 from lukai/cset
2024-11-01 14:32:12 +00:00
xiaoweidong
ef20bff134 [JIT] Add jit utest
Add jit utest

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB1JRH
Change-Id: Iacaeb77b42e5707f0a7fc2d1aa2874eae17f58b6
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2024-11-01 22:06:31 +08:00
jinjiawei
74b826e730 SetProcessingRset 踩内存问题
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB1A5Y?from=project-issue
Signed-off-by: jinjiawei <jinjiawei2@huawei.com>
Change-Id: I8fb0d268435c636fc95a8d8eeec90e0ccb0845e7
2024-11-01 19:05:04 +08:00
sandee
35484970dd Add UT for GC
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB1I36
Signed-off-by: sandee <xieyunfei8@huawei.com>
Change-Id: I1ebaeb03c0d8877423d174cf2b70f14a2d4a850f
2024-11-01 17:48:26 +08:00
openharmony_ci
f29c7aa1f5
!9917 【BugFix】商用版本发生oom时,会发生冻屏
Merge pull request !9917 from mlkgeek/master
2024-11-01 09:19:34 +00:00
openharmony_ci
cb23382f78
!10042 Alarm modification
Merge pull request !10042 from zhou-wenxuan/master
2024-11-01 09:17:29 +00:00
openharmony_ci
d6a5490a37
!10012 fix: llvm memset not correct linked
Merge pull request !10012 from Lasting/debug/float32array
2024-11-01 09:11:21 +00:00
rentangyu
37c2060867 asan hangs on the backtrace
Turn off caching

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

Signed-off-by: rentangyu <rentangyu@huawei.com>
2024-11-01 17:07:06 +08:00
jinjiawei
e05b865a84 StatisticHeapDetail stack check failed
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB1EG8?from=project-issue
Signed-off-by: jinjiawei <jinjiawei2@huawei.com>
Change-Id: I17ec4c023daf884819af37d4fcb93f4511da9ad5
2024-11-01 14:35:46 +08:00
xiongluo
6585c3fc41 Enable concurrent mark and sweep in background gc
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB18NL?from=project-issue

Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: I08e28858161df0cdcd304fcb73609f19dcd03d74
2024-11-01 11:38:36 +08:00
lukai
1a73df32a2 Don't select cset in sensitive status
Reduce evacution size to improve evacuation performance in sensitive status.
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB1BCB

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I0205a19dc67b4f977844d234f5207e3d90715e79
2024-11-01 11:06:38 +08:00
openharmony_ci
eb8e2808fb
!10050 Add UT for GC
Merge pull request !10050 from Sandee/ut_20241030
2024-11-01 02:19:04 +00:00
openharmony_ci
0941644742
!9989 修改代码检视意见
Merge pull request !9989 from shaoxiangdong/br_code_review_1026
2024-10-31 14:26:38 +00:00
openharmony_ci
e43974b063
!10029 checksafepoint尝试local gc时判定processRset位置异常
Merge pull request !10029 from jinjiawei/waitsharedgc
2024-10-31 14:24:10 +00:00
openharmony_ci
c98514694a
!10021 Add constexpr
Merge pull request !10021 from XinweiCai/add_constexpr
2024-10-31 14:21:54 +00:00
openharmony_ci
f4d5139964
!10037 StatisticHeapDetail stack check fail
Merge pull request !10037 from jinjiawei/stack-check-fail
2024-10-31 14:19:20 +00:00
shaoyijiang
98b5b3ddf9 use reference counting to manage memory
1.use reference counting to manage memory
2.add lock protection

Issue: IB0XOB
Signed-off-by: shaoyijiang <shaoyijiang@huawei.com>
Change-Id: I360ed801548f6c5922d229a1e1461606f6530b6e
2024-10-31 20:27:44 +08:00
wangyuxin
5969d71c25 Add retyping for risky mcr/lcr
1. Add retype/convert process for risky MCR opcodes.
2. Prohibit the use of some hcr opcodes before retype phase.
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAXHK1

Change-Id: Iac0529b177f06d8f983a9ea5e61b26f907de6d31
Signed-off-by: wangyuxin <wangyuxin53@huawei.com>
2024-10-31 16:13:40 +08:00
Like
9416488d79 fix: llvm memset not correct linked
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB0CQZ?from=project-issue
Signed-off-by: Like <zhenglike@huawei.com>
Change-Id: I2bdbc92c90fedb4522e59ad3a3fbc942dac7e0d7
2024-10-31 15:13:54 +08:00
mlkgeek
d642bfb24f Fix freeze when OOM in develop and beta
1. add block to avoid freeze

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZ6RD
Signed-off-by: caoyiting <caoyiting1@huawei.com>
2024-10-31 14:59:31 +08:00
zhuangkudecha
9fe1335d80 Fix Duplicate Dump of DefineMethod
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IALSHB

Description: Add UpdateProfileTypeInfoCellToFunction to the definemethod stubs
Tests: UT

Signed-off-by: zhuangkudecha <fuhao71@huawei.com>
Change-Id: I99427ddce1bc2c84d9c1b58718025699211ca453
2024-10-31 14:40:49 +08:00
l00809476
f1f445bd8d opt intern string strict equal
Issue: #IAZ4QH

Signed-off-by: l00809476 <linxin41@huawei.com>
Change-Id: I4cb085acaedbcce346e9a7c8cea893b1335da5a3
2024-10-31 14:24:56 +08:00
sandee
8c9895b979 Add UT for GC
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB0UEM
Signed-off-by: sandee <xieyunfei8@huawei.com>
Change-Id: Ib1bfe2263de0942adfe611fb20792edf031511a3
2024-10-31 10:09:01 +08:00
wangchen
d7a92adb73 Refactor module resolve step2
Move resolve func of SharedModuleManager and ModuleManager to ModuleResolver

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB0YXN
Signed-off-by: wangchen <wangchen965@huawei.com>
Change-Id: I9f44981634780d0cf09ea36615c1c93c55c0609f
2024-10-31 09:24:32 +08:00
openharmony_ci
082cbafacf
!10022 Fix AOT bug in Array Pop when enable native inline
Merge pull request !10022 from zihan/fixArrpop
2024-10-30 18:45:35 +00:00
openharmony_ci
029066c188
!9665 stringadd commonstub化
Merge pull request !9665 from sunzibo/pr_stringadd
2024-10-30 18:43:16 +00:00
openharmony_ci
12799d1ecb
!10040 Use generic array for toReversed if elementskind is disabled
Merge pull request !10040 from zhouguangyuan0718/master-fix-elementskind
2024-10-30 18:40:58 +00:00
openharmony_ci
cb6ad01a57
!10027 Fixed interface error when Date is set to NaN
Merge pull request !10027 from hlm2001/date_1029
2024-10-30 18:38:48 +00:00
openharmony_ci
0b0c1c33d7
!10009 chmod number and string should be shared types
Merge pull request !10009 from zhangyouyou/master
2024-10-30 18:36:14 +00:00
openharmony_ci
9422c8b10e
!10019 frame相关告警清理
Merge pull request !10019 from transparent123123/tzr_frame_fix
2024-10-30 14:18:00 +00:00
openharmony_ci
e1c37a7c80
!10034 Add UT for GC
Merge pull request !10034 from Sandee/ut_20241029
2024-10-30 14:15:41 +00:00
openharmony_ci
baefb61de0
!9922 Fix malloc fail in CalculateSize of PGOHClassTreeTemplate
Merge pull request !9922 from yuanxupeng/malloc
2024-10-30 14:13:16 +00:00
openharmony_ci
1b98744fc3
!10015 fix for circular dependency of shared-module
Merge pull request !10015 from DaiHN/opt111
2024-10-30 14:11:10 +00:00
openharmony_ci
1d31605e37
!9999 Trigger concurrent mark for sensitive near limit
Merge pull request !9999 from xiongluo/triggerCM_Sensitive
2024-10-30 14:09:09 +00:00
openharmony_ci
880054c4c9
!10026 补充 GC模块 UT分支覆盖率
Merge pull request !10026 from li_jianfei/dev_lijf
2024-10-30 14:05:34 +00:00
openharmony_ci
fca20fe04b
!10005 模块化重构Step1:提取ModuleResolver来负责模块化的Resolve
Merge pull request !10005 from wangchen/module_resolver_develop
2024-10-30 09:14:31 +00:00
dov1s
4b526c92a6 IC Refactor
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZ5HX

Signed-off-by: dov1s <maojunwei1@huawei.com>
Change-Id: I705563bca210ec8c4124fbd51b9723b1e417f61c
2024-10-30 16:00:10 +08:00
shaoxiangdong
e372dec19c Modify code review comments
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZWTU

Signed-off-by: shaoxiangdong <shaoxiangdong@huawei.com>
Change-Id: I3e8e76bf13825a185265102d712a6968077fc499
2024-10-30 14:48:13 +08:00
zhouwenxuan
563704118f builtins_shared_array.cpp alarm modification.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB0RKF

Signed-off-by: zhouwenxuan <zhouwenxuan1@huawei.com>
Change-Id: I9920be6ffc35bd2920bc7931e710827600bf3de6
2024-10-30 12:00:50 +08:00
hlm2001
ee18ed32da Fixed interface error when Date is set to NaN
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB0LF1

Signed-off-by: hlm2001 <huanglimin10@huawei.com>
2024-10-30 11:36:01 +08:00
zhouguangyuan
ddd61b2917 Use generic array for toReversed if elementskind is disabled
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB0R0G
Signed-off-by: ZhouGuangyuan <zhouguangyuan1@huawei.com>
Change-Id: Ib0bab54f299644db1d76193cd7c1ca3d7e53518c
2024-10-30 11:22:09 +08:00
jinjiawei
11995afb9d fix StatisticHeapDetail stack check fail
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB0PAW?from=project-issue
Signed-off-by: jinjiawei <jinjiawei2@huawei.com>
Change-Id: I02516bb453592dd92d4070a23a6e4b0593d278ad
2024-10-30 09:43:44 +08:00
openharmony_ci
3767817d47
!10014 Add UT for GC
Merge pull request !10014 from Sandee/ut_20241028
2024-10-30 01:36:17 +00:00
openharmony_ci
7a1ac7cbcf
!10011 app workload编译支持输出code comment
Merge pull request !10011 from zhao1d/zld1
2024-10-30 01:23:07 +00:00
openharmony_ci
f147d88a07
!9998 正则越界字节码维测
Merge pull request !9998 from 贺存茂/REGEXP_1026
2024-10-30 01:20:37 +00:00
l00483465
a891832692 Fix mem panic when decode raw heap dump
Fix mem panic when decode raw heap dump

Issue:                      https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAWOLG?from=project-issue
Signed-off-by: l00483465 <laiqishengbao@huawei.com>
2024-10-30 09:18:54 +08:00
openharmony_ci
51845d9cb6
!9973 optimize typearray construct
Merge pull request !9973 from wpy111/master
2024-10-30 01:18:21 +00:00
openharmony_ci
d717fe2d29
!9972 Try trigger shared full gc before oom
Merge pull request !9972 from lukai/fullgctrigger
2024-10-30 01:15:29 +00:00
wangchen
bc482d0cce Refactor module resolve
Step1: Extract ModuleResolver to be responsible for module resolution. Move resolve func of SourceTextModule to ModuleResolver

Issue: https: //gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZQS5
Signed-off-by: wangchen <wangchen965@huawei.com>
Change-Id: Ic7a592e7f731abf81cc90b1849a8178eb0570185
2024-10-30 09:11:56 +08:00
sandee
3998a12313 Add UT for GC
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB0NV4
Signed-off-by: sandee <xieyunfei8@huawei.com>
Change-Id: I864dc8a30b376fe2361139c4f1524eba56f1c3ae
2024-10-30 09:10:05 +08:00
hecunmao
3c890df522 Regexp.prototype.source get error result
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB0NG2

Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: Ia5b4f03e2259596afd189a0db541102bdb3cd04d
2024-10-29 20:57:57 +08:00
daizihan
8339116c27 Fix array.pop bugs when enable native inline
Issue:    https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB09WQ?from=project-issue
Signed-off-by: daizihan <daizihan@huawei.com>
2024-10-29 19:03:12 +08:00
jinjiawei
cbb8174f38 fix checksafepoint check IsProcessingRset position
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB0MLI?from=project-issue
Signed-off-by: jinjiawei <jinjiawei2@huawei.com>
Change-Id: I53753391470d1a9d64771429005f97a6d3516fb3
2024-10-29 18:35:50 +08:00
DaiHN
c57e88a18d dfx for circular dependency of shared-module
Issue : https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB0DFV?from=project-issue

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I7a89ffbafe11dde18e4c26005056ff2ff83e31db
2024-10-29 17:22:51 +08:00
zhangyouyou
d270cf0b17 chmod number and string should be shared types
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB0ACU
Description:Sharemodule chmod number and string should be shared types

Signed-off-by: zhangyouyou <zhangyouyou2@huawei.com>
2024-10-29 16:53:53 +08:00
li_jianfei
acaa91ba77 Add UT for GC
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB0KKE
Signed-off-by: lijianfei <lijianfei20@huawei.com>
2024-10-29 16:42:19 +08:00
openharmony_ci
29ed61f07d
!9993 ra spill bug修复
Merge pull request !9993 from transparent123123/ra_bug
2024-10-29 08:23:34 +00:00
xwcai98
cb32b40e50 Add constexpr
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB0K4G

Signed-off-by: xwcai98 <caixinwei5@huawei.com>
Change-Id: I25e047c97b5395f89821049db7926ea6ec8e029e
2024-10-29 15:53:44 +08:00
transparent123123
0621fe2dab fix frame warning
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB0JX7?from=project-issue

Signed-off-by: transparent123123 <tanzirui@huawei.com>
Change-Id: I0ff975735146808e92fc664b8dc928881d3154a1
2024-10-29 00:41:17 -07:00
openharmony_ci
0adf5c91d3
!9954 use FastToSpliced when elementskind is disabled
Merge pull request !9954 from zhouguangyuan0718/master-tospliced-new4
2024-10-29 07:34:36 +00:00
wupengyong
d4183fc792 Reason:optimize typearray construct
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZRCI?from=project-issue
Test: Build & Boot devices

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Ia7b9c3c984a3e3128b8117cda984bf84a8537c2a
2024-10-29 10:32:40 +08:00
lukai
1ab06044f2 Trigger shared fullgc before oom
Trigger shared fullgc before oom if oldspace fragmentation is larger
than limit.
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZSA9

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I080f31529511693d036b75f0d57a070c4386ed38
2024-10-28 21:44:12 +08:00
sunzibo
b37aa5d060 Stringadd commstub
Issue:      IAVY4M
Signed-off-by: sunzibo <sunzibo@huawei.com>
2024-10-28 21:35:39 +08:00
sandee
204cd7b8ba Add UT for GC
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB0D7J
Signed-off-by: sandee <xieyunfei8@huawei.com>
Change-Id: Id3ffe3e1352db711c031aea71d8e14defbc74458
2024-10-28 21:35:02 +08:00
hecunmao
27ebc60553 log opcode where opCode overflower
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZYWF

Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: I67041a51ea86cee07ec819d395a2ea041e48d9bb
2024-10-28 20:37:17 +08:00
zhao1d
f9da6e917a app workload编译支持输出code comment
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZYKY
Signed-off-by: zhao1d <zhaolidong4@huawei.com>
Change-Id: Ia73b9bef94467e70e8c92dc92db385f28602d077
2024-10-28 20:02:35 +08:00
openharmony_ci
bec4ebcda0
!10002 Add GC UT for heap
Merge pull request !10002 from Sandee/ut_20241024
2024-10-28 11:30:56 +00:00
openharmony_ci
7a21279b5f
!9771 [Bug]: Fix bug of boolean convert to number
Merge pull request !9771 from 王不薄/fuzz_convert
2024-10-28 11:27:19 +00:00
openharmony_ci
eb27ce28ed
!9902 dfx: re-organize aot info log
Merge pull request !9902 from Lasting/dfx/aot-log-info
2024-10-28 11:25:00 +00:00
wangyuxin
c0c996c356 Add boolean to number in debug
1. Add converting boolean to number processing in number retype pass when compiling aot in debug mode
2. Abort AOT compilation when a non-bool value triggers ConvertBoolToInt32

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

Signed-off-by: wangyuxin <wangyuxin53@huawei.com>
Change-Id: Ib74d441c402a6e9f72f83baa0d991ca901cfd1df
2024-10-28 09:39:30 +08:00
openharmony_ci
999f1a121e
!9996 fix local gc wait shared gc processRset
Merge pull request !9996 from jinjiawei/waitsharedgc
2024-10-27 15:55:04 +00:00
sandee
aec81c3898 Add GC UT for heap
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB0228
Signed-off-by: sandee <xieyunfei8@huawei.com>
Change-Id: I30e4d86f8e88f8562975dcbddeaf74c6dd524630
2024-10-27 22:28:35 +08:00
openharmony_ci
fdbb26f087
!9858 Parse the packet information and verify that the parameters match
Merge pull request !9858 from herongpeng/verify_param
2024-10-27 13:12:12 +00:00
openharmony_ci
b0f96da155
!9976 Add setModuleVar dfx
Merge pull request !9976 from zhangyouyou/master
2024-10-27 10:19:32 +00:00
openharmony_ci
9514b4d10a
!9988 Add return exception
Merge pull request !9988 from yaochaonan/wdx1
2024-10-27 10:17:04 +00:00
openharmony_ci
31d33e8e94
!9997 Add gc ut coverage rate
Merge pull request !9997 from 留红尘/ets_runtime/lhc/1026_1
2024-10-27 10:14:46 +00:00
openharmony_ci
3444efbbe4
!9982 create mutant array if elementskind is int or number
Merge pull request !9982 from zhouguangyuan0718/master-fix-newarraywithhclass
2024-10-27 03:26:32 +00:00
openharmony_ci
486175d3da
!9955 Resolve the performance degradation issue after enabling the useNormalizedOhmUrl compile-switch
Merge pull request !9955 from DaiHN/opt
2024-10-26 18:39:39 +00:00
openharmony_ci
57cb23b7c7
!9934 Optimize freelist allocation
Merge pull request !9934 from lukai/freelistOpt
2024-10-26 18:26:32 +00:00
xiongluo
84738d1845 Trigger concurrent mark for sensitive near limit
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZZHQ?from=project-issue

Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: I6451a886976f8ba1428536c4b6c38e73382cb40a
2024-10-27 00:17:37 +08:00
zhangyouyou
14947aaee1 Add setModuleVar dfx
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZTZI
Add setModuleVar dfx

Signed-off-by: zhangyouyou <zhangyouyou2@huawei.com>
2024-10-26 21:30:44 +08:00
openharmony_ci
3bde265696
!9992 remove unused test case
Merge pull request !9992 from yangxiaoshuai2022/ability
2024-10-26 12:34:07 +00:00
openharmony_ci
d160ef0d41
!9986 Fixed jit taskpool destory before inited
Merge pull request !9986 from xiaoweidong/fix_jit_bug
2024-10-26 12:31:36 +00:00
openharmony_ci
3411c27b52
!9887 修改BitVector UT用例,新增边界值检测
Merge pull request !9887 from tangbin/master
2024-10-26 12:24:06 +00:00
openharmony_ci
e45b07e68c
!9923 Fix dump bug
Merge pull request !9923 from XinweiCai/fix_dump_bug
2024-10-26 12:14:57 +00:00
openharmony_ci
927c8b854a
!9777 Skip deopt check in certain scenarios for float64 to int32
Merge pull request !9777 from chenqy930/skip-deopt-check-in-certain-scenarios-for-float64-to-int32
2024-10-26 12:11:58 +00:00
jinjiawei
125a332fbf fix local gc wait shared gc processRset
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZYFA?from=project-issue
Signed-off-by: jinjiawei <jinjiawei2@huawei.com>
Change-Id: I2bb852e57cd48e9e155b305f91c382e16ab877f5
2024-10-26 17:34:58 +08:00
lhc
761de58273 Add gc ut coverage rate
Add gc ut coverage rate

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

Signed-off-by: lhc <liuhongchen5@huawei.com>
Change-Id: I48fdf273360e16b5f877132419fd1f4caefaa791
2024-10-26 17:30:44 +08:00
harryhrp
1ba39daeb1 Verify parameter from bms
Parse package information during compilation and verify whether the passed parameters match

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAY9PJ
Signed-off-by: harryhrp <herongpeng@huawei.com>
Change-id: i35f5aa90d9c9b9a82036d0030cf91c8969965adb
2024-10-26 16:56:22 +08:00
yuanxupeng
2711b89c69 Fix malloc fail in pgo
Directly obtain the string size to avoid malloc operation.
Add maintenance test information.

Issue:  IAZ8EZ
Signed-off-by: yuanxupeng <yuanxupeng@huawei.com>
2024-10-26 16:08:12 +08:00
jiachong
bf0d41aa0f Add module UT
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZXNX
Signed-off-by: jiachong <jiachong6@huawei.com>
Change-Id: I556e5d2dc454c2911c0307a162a333e997cb2cf3
2024-10-26 14:30:16 +08:00
transparent123123
a4e71229bf ra bug
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZXIS?from=project-issue
Change-Id: Ic4f2ed89e404bd1e45915a015703934b65151393
Signed-off-by: transparent123123 <tanzirui@huawei.com>
2024-10-25 23:13:57 -07:00
zhouguangyuan
34f91c0742 use FastToSpliced when elementskind is disabled
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZM28
Signed-off-by: ZhouGuangyuan <zhouguangyuan1@huawei.com>
Change-Id: I07a7ac4d7ac7e9f4640e5e76174942fa1f519ff1
2024-10-26 12:50:03 +08:00
DaiHN
52539a067b Resolve issue after enabling the useNormalizedOhmUrl compile-switch
Issue : https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZM50?from=project-issue
Resolve the performance degradation issue after enabling the
useNormalizedOhmUrl compile-switch:Create a fast-path for record name parsing

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: If2efeb5588aba459b8da4809a7c6fa6717a72683
2024-10-26 11:59:14 +08:00
yangxiaoshuai2022
bc1a513e9e remove unused test case
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZX2Z

Signed-off-by: yangxiaoshuai2022 <yangxiaoshuai@huawei.com>
2024-10-26 11:56:24 +08:00
yaochaonan
e2e71696d6 Add return exception
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZWB9?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: Ia7663ceb0fc94c4101fb884a80bf442064975cc9
2024-10-26 09:42:59 +08:00
xiaoweidong
b226cfc5cd [JIT] switch native when clear jit task
1. switch native when clear jit task
2. wait jittaskpool init before destory

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAN88Y
Change-Id: I6ca0cb537e3628c7f06099c8477a241f9f8be700
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2024-10-26 09:20:02 +08:00
zhouguangyuan
b571d84e63 create mutant array if elementskind is int or number
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZULA
Signed-off-by: ZhouGuangyuan <zhouguangyuan1@huawei.com>
Change-Id: I146541d8c23e22257d328d3a854cf0b2caa45ae3
2024-10-25 18:35:57 +08:00
tangbin
7395f95f3e 修改BitVector UT用例,新增边界值检测
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAYTUD

Signed-off-by: tangbin <2387440390@qq.com>
2024-10-25 14:15:49 +08:00
openharmony_ci
254b20097e
!9528 Modify napi_load_module_with_info error type
Merge pull request !9528 from chenlincl3/napi_crash
2024-10-25 02:46:33 +00:00
openharmony_ci
3e6e53f29c
!9935 Rectification of oversized functions
Merge pull request !9935 from yumin/override
2024-10-25 02:44:26 +00:00
openharmony_ci
e9decc15d8
!9928 Stack SetProperty Bugfix
Merge pull request !9928 from jiachong/jc_dts2
2024-10-25 02:30:52 +00:00
openharmony_ci
f96d8cb3b9
!9733 frame相关告警处理
Merge pull request !9733 from transparent123123/tzr_frame_bug
2024-10-25 02:25:56 +00:00
openharmony_ci
4514f5e36a
!9861 Memory usage optimization
Merge pull request !9861 from hlm2001/kexin_1019
2024-10-24 10:43:03 +00:00
lukai
aca69c9516 Optimize freelist allocation
In extreme scene, each allocation could search and fail too much time to
find suitable freeobject in freelist. So maintain a variable in each
freelist which implies the max possible size in this freelist.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZEBW

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I12522ff1e9d841dfbd0ffc13888edf3bd0492476
2024-10-24 16:57:59 +08:00
openharmony_ci
a86ed09acb
!9845 Optimise the fastpath for array.prototype.toReversed
Merge pull request !9845 from zhouguangyuan0718/master-ToReversed
2024-10-24 06:06:10 +00:00
openharmony_ci
12c0ac4981
!9880 Support ohos target os for linux-aarch64 host
Merge pull request !9880 from Lyupa Anastasia/support-linux-aarch64-host
2024-10-24 06:03:15 +00:00
yumin
f5ca93274c Rctification of oversized functions
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZEMT?from=project-issue

Signed-off-by: yumin <yumin35@h-partners.com>
2024-10-24 13:41:12 +08:00
transparent123123
61f18a1171 frame bug
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZDSK?from=project-issue
Signed-off-by: transparent123123 <tanzirui@huawei.com>
Change-Id: I2b0773c1f81cd5fb7330487a299347aabec49ea7
2024-10-23 18:56:49 -07:00
hlm2001
c62c5d56ed Memory usage optimization
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAYAPP

Signed-off-by: hlm2001 <huanglimin10@huawei.com>
2024-10-23 19:59:35 +08:00
openharmony_ci
1734eb13f5
!9614 Inline String.prototype.charCodeAt
Merge pull request !9614 from zihan/inlineCharcodeat
2024-10-23 09:54:34 +00:00
jiachong
f10d8aac7a Stack SetProperty Bugfix
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZ99N
Signed-off-by: jiachong <jiachong6@huawei.com>
Change-Id: Id7bd0620829179c3bf49a29bbf44bcfcf129e4d8
2024-10-23 17:32:10 +08:00
zhouguangyuan
d9206d0da5 Optimise the fastpath for array.prototype.toReversed
1. transition elements kind before new array is created.
2. Reverse the array by load and store the tagged array.

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAXXON
Signed-off-by: ZhouGuangyuan <zhouguangyuan1@huawei.com>
Change-Id: I621b4b8eccbda51c56ebfe999fdebf250e44dd72
2024-10-23 15:51:00 +08:00
xwcai98
31b2a0cdb9 Fix dump bug
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZ8KE

Signed-off-by: xwcai98 <caixinwei5@huawei.com>
Change-Id: I23805eb135b6a753b95a0dfe3211fc8fddc467ad
2024-10-23 15:07:00 +08:00
openharmony_ci
8a2f165ee3
!9898 Modify logging conditions
Merge pull request !9898 from hlm2001/log_kexin_1022
2024-10-23 06:47:45 +00:00
openharmony_ci
be29f2f4b5
!9860 Refactor tagged array set
Merge pull request !9860 from XinweiCai/refactor_tagged_array_set
2024-10-22 22:21:59 +00:00
openharmony_ci
a36ac2c3f2
!9867 revert !9826 adapt to ffrt_mutex_t
Merge pull request !9867 from chentianyu/ffrt
2024-10-22 22:17:20 +00:00
openharmony_ci
0e96039e8b
!9812 Split ElementsKindCheck From StableArrayCheck And Some Optimization For EarlyElimination
Merge pull request !9812 from 许杰/earlyelimination
2024-10-22 22:14:54 +00:00
openharmony_ci
48209b1848
!8461 Allocate memory to old space base on PGO
Merge pull request !8461 from 刘智杰/memory_order
2024-10-22 22:10:00 +00:00
openharmony_ci
8d54e9fb13
!9846 Add and use ArrayCopy for array.unshift
Merge pull request !9846 from zhouguangyuan0718/master-unshift
2024-10-22 22:07:43 +00:00
openharmony_ci
3ef64407bc
!9871 Fix exception doesn't return
Merge pull request !9871 from yaochaonan/bugfix
2024-10-22 18:30:17 +00:00
Lyupa Anastasia
33db1cec0b Support ohos target os for linux-aarch64 host
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZ0YI

Signed-off-by: Lyupa Anastasia <lyupa.anastasia@huawei.com>
2024-10-22 16:35:21 +03:00
c00513733
6cf95db163 Skip float64 to int32 deopt check in some cases
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAXA3J

Signed-off-by: c00513733 <chenqiuyao@huawei.com>
Change-Id: I623be9b099b02edae9b0e1669fb0b804d77b5135
2024-10-22 18:40:11 +08:00
Like
f43a2687a1 dfx: re-organize aot log info
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAYY9Z?from=project-issue
Signed-off-by: Like <zhenglike@huawei.com>
Change-Id: Iadd301d7c8446305609bb956daf379cfccb81ff0
2024-10-22 16:14:47 +08:00
hlm2001
513d935196 Modify logging conditions
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAYXRQ

Signed-off-by: hlm2001 <huanglimin10@huawei.com>
2024-10-22 15:45:54 +08:00
openharmony_ci
4ba426e641
!9869 Optimize logging information
Merge pull request !9869 from hlm2001/log_1021
2024-10-22 05:57:43 +00:00
daizihan
f076755506 Inline string.prototype charcodeat
Issue:                https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAWHN0?from=project-issue
Signed-off-by: daizihan <daizihan@huawei.com>
2024-10-22 09:30:05 +08:00
xwcai98
d863291d7f Refactor tagged array set
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAYAFX

Signed-off-by: xwcai98 <caixinwei5@huawei.com>
Change-Id: Iaefddc8a2adf3421b7eb364df3fbb41e1abffcfc
2024-10-22 09:22:54 +08:00
openharmony_ci
d063257c08
!9842 optimize CopyArray
Merge pull request !9842 from wpy111/master
2024-10-22 00:30:53 +00:00
openharmony_ci
91e3932d51
!9835 code revert 7332
Merge pull request !9835 from 杨云飞/master
2024-10-22 00:28:32 +00:00
openharmony_ci
0005a78d71
!9708 Array元素是 String类型 优化toSorted速度
Merge pull request !9708 from jiangmengyang/tosorted
2024-10-21 17:22:13 +00:00
zhouguangyuan
922cfc3356 Add and use ArrayCopy for array.prototype.unshift
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAXXUG
Signed-off-by: ZhouGuangyuan <zhouguangyuan1@huawei.com>
Change-Id: Ie1e85ff009955ff7938ffce111cef68b69af06f5
2024-10-21 22:57:41 +08:00
yaochaonan
f75537c929 Fix exception doesn't return
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAYJTW?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: Ib318019d038338ccaecc99e39c9337e0e6977653
2024-10-21 21:17:09 +08:00
c00451847
060be7f4bd opt storebyname code gen
skip prototype's storebyname opt for better code generation

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

Signed-off-by: c00451847 <chenkai71@huawei.com>
Change-Id: Ic333fd44684f433b23c71fa3338247e802a18fc4
2024-10-21 20:57:24 +08:00
ginxu
dffd458e96 Split ElementsKindCheck From StableArrayCheck And Some Optimization For EarlyElimination
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAXIFZ
Signed-off-by: ginxu <xujie101@huawei.com>
Change-Id: Ie3b8075798ff4dbbbe013bd7ef56a3c5ab26889a
2024-10-21 20:37:56 +08:00
hlm2001
b9f0afd9cd Optimize logging information
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAYHR1

Signed-off-by: hlm2001 <huanglimin10@huawei.com>
2024-10-21 16:54:11 +08:00
wupengyong
d732a736fb Reason:optimize CopyArray
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAXXBN?from=project-issue
Test: Build & Boot devices

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I41d4a322cec55051d06f33f7fb821e4a5a2d8a1f
2024-10-21 16:53:37 +08:00
dov1s
0b17d30ad1 Refactoring Inline Cache
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAYLFA

Signed-off-by: dov1s <maojunwei1@huawei.com>
Change-Id: I2201d8e765a64e7dbb044268f4515ea02707b835
2024-10-21 16:38:43 +08:00
chentianyu
4f9ecf4c31 Revert "pthread_mutex_t adapt to ffrt"
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAYFNV

Change-Id: I29190a098555df04c8213973e5dabf5cc72a9327
Signed-off-by: chentianyu <chentianyu31@huawei.com>
2024-10-21 09:30:10 +08:00
openharmony_ci
afaffae213
!9355 Bugfix of Wrong Disposal of Weak Reference During Partial GC
Merge pull request !9355 from 张博虓/bugfix_weakreference
2024-10-20 13:46:22 +00:00
shilei91
617510e836 remove redundant code
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAYE54

Signed-off-by: shilei91 <shilei91@huawei.com>
Change-Id: Id5c4d315a5f16b2d314a53676c51502d6a736faa
2024-10-20 20:12:09 +08:00
openharmony_ci
94f2edf0d0
!9844 Solve the security alarm of std::stoi
Merge pull request !9844 from hlm2001/kexin_1017
2024-10-19 19:30:13 +00:00
openharmony_ci
3f1c3eb130
!9606 Use GCBitset and Mark Sweep for JitFort GC
Merge pull request !9606 from eching/jitfort_gcbitset_refactor
2024-10-19 04:38:55 +00:00
openharmony_ci
0d6411ecca
!9598 [ets_runtime] Realise the FastCreateDataProperty for Array.from
Merge pull request !9598 from xingshunxiang/addFastCreateDataProperty
2024-10-18 12:56:10 +00:00
openharmony_ci
603c6825a2
!9826 pthread_mutex_t对接ffrt
Merge pull request !9826 from chentianyu/ffrt
2024-10-18 12:53:51 +00:00
openharmony_ci
31ce5d8d1e
!9838 HClass changed but not Notify bugfix
Merge pull request !9838 from jiachong/jc_dts
2024-10-18 12:51:29 +00:00
hlm2001
e6e1598cb3 Solve the security alarm of std::stoi
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAXXI7

Signed-off-by: hlm2001 <huanglimin10@huawei.com>
2024-10-18 18:46:01 +08:00
刘智杰
8b5e15db80 Allocate memory to old space base on PGO
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAGX2J?from=project-issue
Signed-off-by: 刘智杰 <liuzhijie9@huawei.com>
Change-Id: I61169141d9589a6ae01e30f09fe4690ae29a72bb
2024-10-18 17:15:08 +08:00
chenlincl3
3b96dc76f8 Modify napi error type
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IATHQW
Signed-off-by: chenlincl3 <chenlin201@huawei.com>
Change-Id: Id559d8bf5e6e93f3bbb549f96c941790149143c1
2024-10-18 16:27:53 +08:00
openharmony_ci
533cff09da
!9828 Remove problem ut
Merge pull request !9828 from Sandee/bugfix/20241021
2024-10-18 08:13:06 +00:00
openharmony_ci
9c9243051d
!9688 Optimized function calls
Merge pull request !9688 from hlm2001/kexin_1011
2024-10-18 08:10:22 +00:00
eching
b23ea7b9c2 Use GCBitset and Mark Sweep for JitFort GC
Add GCBitset and Mark Sweep changes for JitFort

Issue: IAUVJ6

Signed-off-by: eching <edward.k.ching@gmail.com>
2024-10-18 10:41:39 +08:00
xingshunxiang
a90a281433 Realise the FastCreateDataProperty for Array.from
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAWZHA?from=project-issue

    Description: add function tryFastCreateDataProperty in Array.from as a fastpath for JSArray

Signed-off-by: xingshunxiang <xingshunxiang@huawei.com>
Change-Id: Ic420f298165259f7ead7d1b6e08a27371165abde
2024-10-18 10:23:34 +08:00
jiachong
c42c84bd7d HClass changed but not Notify bugfix
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAXVKC
Signed-off-by: jiachong <jiachong6@huawei.com>
Change-Id: Ifb22b4876e223ebacaf3f4631cc610a76caebfc5
2024-10-18 10:13:53 +08:00
杨云飞
617e6c8024 revert code 7332
Issue:  https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAXUDD?from=project-issue

Signed-off-by: 杨云飞 <yangyunfei19@h-partners.com>
2024-10-18 09:52:06 +08:00
openharmony_ci
f87f2186e1
!9817 use constant string for symbol tostring
Merge pull request !9817 from zhouguangyuan0718/master-symbol
2024-10-17 22:46:52 +00:00
openharmony_ci
d9bc27745a
!9768 Fix Data Race Of SamplePandaFileInfo
Merge pull request !9768 from zhuangkudecha/AddMutexForFileInfo
2024-10-17 16:06:43 +00:00
openharmony_ci
1ad1da958e
!9805 编译输出stub.an的code-comment信息跨平台问题
Merge pull request !9805 from yangliping/new111
2024-10-17 16:04:26 +00:00
openharmony_ci
9087b40536
!9739 fix empty catch
Merge pull request !9739 from zoumujia/20241014
2024-10-17 16:02:10 +00:00
openharmony_ci
1e49c8a8e5
!9773 UT用例结束后释放申请的内存
Merge pull request !9773 from tuxiaohang/master
2024-10-17 09:06:58 +00:00
chentianyu
e4854aff4b pthread_mutex_t adapt to ffrt
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAXPBI

Signed-off-by: chentianyu <chentianyu31@huawei.com>
Change-Id: Ie8013177be37b672b32db0f074a5cd9ab06db410
2024-10-17 14:56:06 +08:00
sandee
ba4130bf33 Remove problem ut
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAXQRE
Signed-off-by: sandee <xieyunfei8@huawei.com>
Change-Id: I2aff97e4c54a6a3791f7d4559d2a4d5f33201371
2024-10-17 11:43:14 +08:00
openharmony_ci
70cd0a34fe
!9595 remove intrinsics
Merge pull request !9595 from xuyuqing/cov_0927
2024-10-16 19:47:28 +00:00
openharmony_ci
91b5c1d088
!9743 优化sharedgc等待localgc异步清理任务结束
Merge pull request !9743 from lukai/waitcleartask
2024-10-16 16:03:16 +00:00
openharmony_ci
04db8df1c3
!9712 补充以及屏蔽 shared_obejct 模块UT分支覆盖率
Merge pull request !9712 from li_jianfei/dev_lijf
2024-10-16 16:00:48 +00:00
openharmony_ci
57e5958e74
!9735 修复开启CFI导致IOS-SDK找不到头文件的错误
Merge pull request !9735 from zhangyinlu/cfi_ios_fix
2024-10-16 15:55:42 +00:00
openharmony_ci
97a63e1f3a
!9670 Fix error uncaught exception in AOT mode
Merge pull request !9670 from xuan0126/master
2024-10-16 15:53:00 +00:00
openharmony_ci
b5ac1e49c7
!9701 [Bug]: Fix verifier failed when getting exception
Merge pull request !9701 from 王不薄/fuzz1011
2024-10-16 15:50:27 +00:00
openharmony_ci
5b894f34ff
!9775 [Bug]: Fix bug of branch unreachable when retyping value selector
Merge pull request !9775 from 王不薄/fuzz_unreachable
2024-10-16 15:47:48 +00:00
zoumujia
5741a41bcb fix emtpy catch issue
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAWZ8P

Signed-off-by: zoumujia <zoumujia0920@163.com>
2024-10-16 21:36:03 +08:00
zhouguangyuan
2855001664 use constant string for symbol tostring
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAXL05
Signed-off-by: ZhouGuangyuan <zhouguangyuan1@huawei.com>
Change-Id: Id7bbb290b33ea41f37606d0cd6485617fb000fca
2024-10-16 18:06:50 +08:00
yangliping
00b6b56026 修改介绍
编译输出stub.an的code-comment信息跨平台问题

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

Signed-off-by: yangliping <yangliping30@h-partners.com>
2024-10-16 16:20:29 +08:00
openharmony_ci
0798656e68
!9666 Add UT for GC
Merge pull request !9666 from Sandee/ut_20241010
2024-10-15 17:42:49 +00:00
openharmony_ci
cb5571018e
!9752 modify MIN_SIZE_FOR_UNROLLING to 128
Merge pull request !9752 from wpy111/master
2024-10-15 17:38:05 +00:00
openharmony_ci
58a0fd8c49
!9530 支持编译输出stub.an的code-comment信息
Merge pull request !9530 from yangliping/111
2024-10-15 17:35:40 +00:00
openharmony_ci
df63452abc
!9731 Fix Consecutive Trigger of OldGC
Merge pull request !9731 from 张博虓/bugfix_fullmarkrequested
2024-10-15 17:33:24 +00:00
openharmony_ci
b090c2e1e4
!9720 Bugfix JSON.parseBigInt zerocase
Merge pull request !9720 from maojunwei/zerobigint
2024-10-15 17:30:53 +00:00
zhuangkudecha
ab605dbae4 Fix Data Race Of SamplePandaFileInfo
Add mutex for Operations of SamplePandaFileInfo

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAX6QO
Test: ut and workload
Change-Id: Ia38258a69d081bcdd02e90da35661d8c3be8300b
Signed-off-by: zhuangkudecha <fuhao71@huawei.com>
2024-10-15 20:39:06 +08:00
wangyuxin
2a2f6578ea Support UINT32 when VALUE_SELECTOR converting
Add handling for UINT32 at VALUE_SELECTOR convert phase

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

Signed-off-by: wangyuxin <wangyuxin53@huawei.com>
Change-Id: Ib74d441c402a6e9f72f83baa0d991ca901cfd1df
2024-10-15 20:38:14 +08:00
wangyuxin
8fb913d057 Add retype for get_exception
Add retype processing for GET_EXCEPTION opcode

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

Signed-off-by: wangyuxin <wangyuxin53@huawei.com>
Change-Id: Ib74d441c402a6e9f72f83baa0d991ca901cfd1df
2024-10-15 19:11:23 +08:00
openharmony_ci
33dabe0f4f
!9691 label release bug
Merge pull request !9691 from transparent123123/tzr_label_bug
2024-10-15 10:41:23 +00:00
tuxiaohang
e03c7733a5 UT用例结束后释放申请的内存
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAX8RI
Signed-off-by: tuxiaohang <tuxiaohang@huawei.com>
Change-Id: I34b91cf1f23e5352f0cb8d41b51e7bdf9aff4655
2024-10-15 07:32:46 +00:00
xuan0126
14addde17d Fix error uncaught exception in AOT mode
Deal with exception after each loop

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAP85W?from=project-issue#
Change-Id: I7d34f1ea5da59a440a4576ed717602490e20cecb
Signed-off-by: xuan0126 <liuxuan97@h-partners.com>
2024-10-15 15:19:22 +08:00
jiangmengyang
b1e8ec8184 Array元素是String类型,优化toSorted速度
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAWHSX

Signed-off-by: jiangmengyang <jiangmengyang3@huawei.com>
Change-Id: I7e0563846346f84718e0a1d8c6a3fc47a076ef80
2024-10-15 14:44:42 +08:00
xuyuqing
42d90bd702 remove intrinsics
Issue: IAUI0X
Signed-off-by: xuyuqing <xuyuqing6@huawei.com>
2024-10-15 10:58:07 +08:00
lukai
afd61456ff Optimize waiting local clearing finished for sharedgc
If cset is clearing, it's not necessaray to enumerate cset for
sharedgc.And sharedgc does not need to wait for local clear task
finished.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAX077

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I31ccdcf8cdc1581fb23ada62b0aefa2391721384
2024-10-15 10:05:11 +08:00
openharmony_ci
500b7116e1
!9729 Enable native binding size overshoot during sensitive period
Merge pull request !9729 from lukai/nativeovershoot
2024-10-14 20:38:14 +00:00
openharmony_ci
45a931c80a
!9714 fix problem of RemoveNode when remove root of RBTree
Merge pull request !9714 from shilei91/master
2024-10-14 20:35:45 +00:00
openharmony_ci
da419af980
!9527 support har/hsp load ability
Merge pull request !9527 from yaochaonan/ability
2024-10-14 20:31:10 +00:00
openharmony_ci
6b50f08379
!9722 Bugfix with jitreuse
Merge pull request !9722 from 志新/bugfix_reuse
2024-10-14 20:28:52 +00:00
openharmony_ci
0e68d8d262
!9597 Add dfx for lazy import
Merge pull request !9597 from yaochaonan/dfx
2024-10-14 20:24:03 +00:00
wupengyong
02e58a0115 Reason:modify MIN_SIZE_FOR_UNROLLING to 128
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAX2KJ?from=project-issue
Test: Build & Boot devices

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I79d7ee1c2bc23a847d30467a2e3aa73eb72d0c48
2024-10-14 20:34:06 +08:00
transparent123123
5b11cb496d Release Label bug
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAWBKV?from=project-issue

Signed-off-by: transparent123123 <tanzirui@huawei.com>
Change-Id: If70723f37b7c67c9dd020f98b85e4c17bce6c9ff
2024-10-14 02:45:59 -07:00
dov1s
e7d1e312e3 Bugfix JSON.parse ZerotoBigInt
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAWNAC

Signed-off-by: dov1s <maojunwei1@huawei.com>
Change-Id: I71c60d63f8ed2d2a5bf6f15ba9c4f8c2bc57e9ee
2024-10-14 17:21:48 +08:00
hlm2001
63eb0994e4 Optimized function calls
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAW07A

Signed-off-by: hlm2001 <huanglimin10@huawei.com>
2024-10-14 16:48:32 +08:00
yangliping
6b7c812644 支持编译输出stub.an的code-comment信息
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IATJGU?from=project-issue

Signed-off-by: yangliping <yangliping30@h-partners.com>
2024-10-14 16:00:13 +08:00
zbx
3eedd6be28 Bugfix of Wrong Disposal of Weak Reference during Partial GC
Avoid visiting the same slot for multiple times in UpdateReference phase, and add new test case

Issue: IAROUM

Signed-off-by: zbx <zhangboxiao1@huawei.com>
Change-Id: Ie7b8c35ab615c683da643fa5cd5cbd37bcd31128
2024-10-14 15:47:59 +08:00
sandee
211bf572fd Add UT for GC
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAW15G
Signed-off-by: sandee <xieyunfei8@huawei.com>
Change-Id: I4c62b5378a3659129a641d4ec5d1f1317e93e293
2024-10-14 15:41:33 +08:00
yaochaonan
024fecbe6b Support har/hsp load ability
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IATHHD?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: Ie9e5daeed99b8b4ce59f44f8da1780c6fa036272
2024-10-14 15:29:42 +08:00
zhangyinlu
9121c464db 修复开启CFI导致IOS-SDK找不到头文件的错误
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAWW1Y
Description:修复开启CFI导致IOS-SDK找不到头文件的错误

Signed-off-by: zhangyinlu <zhangyinlu@huawei.com>
Change-Id: I6903c08ffc950fa763807ebc64b5e83aa65fa4ac
2024-10-14 14:12:43 +08:00
zbx
922e132a77 Fix Consecutive Trigger of OldGC
To reset FullMarkRequestedState when OldGC finished

Issue: IAWU27

Signed-off-by: zbx <zhangboxiao1@huawei.com>
Change-Id: I81d3a69875c6ee0dfcbd5d99f0804eb957d20741
2024-10-14 10:06:24 +08:00
lukai
47a177a618 Add oversoot for native binding during sensitive period
Avoid triggering concurrent mark by native binding size during sensitive
period.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAWTDV

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I5b5200e8a489f0590afa64553eaf08035661c9d6
2024-10-14 09:34:30 +08:00
openharmony_ci
05bc7bdf5a
!9375 修复GC的异步回调可能长时间未执行
Merge pull request !9375 from chentianyu/properties
2024-10-13 13:30:12 +00:00
shilei91
820c2d2c25 fix problem of RemoveNode when remove root of RBTree
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAWKQO?from=project-issue

Signed-off-by: shilei91 <shilei91@huawei.com>
Change-Id: I8a2392e84a96d40a79d20e77999dcaaf1ba55911
2024-10-13 12:17:21 +08:00
openharmony_ci
3fd11f3d9f
!9697 Set max suspendall retries
Merge pull request !9697 from XinweiCai/set_max_suspendall_retries
2024-10-12 17:31:57 +00:00
openharmony_ci
4d7faec6d2
!9640 Regexp Flags属性字符串生成优化
Merge pull request !9640 from jiangmengyang/getflags2
2024-10-12 13:30:10 +00:00
openharmony_ci
f75bce4455
!9631 JitFort开启CFI防护
Merge pull request !9631 from zhangyinlu/open_cfi_in_js_optimer
2024-10-12 13:23:24 +00:00
openharmony_ci
92578be3b2
!9618 Fix the bug that hash cannot be compiled on the Mac platform
Merge pull request !9618 from yinwuxiao/hashfixbug
2024-10-12 13:21:00 +00:00
zhixin
4c3cd5c4e2 Bugfix with jitreuse
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAWO7A
Signed-off-by: zhixin <1757149461@qq.com>
2024-10-12 19:32:46 +08:00
chentianyu
b1d2ac4245 Fix GC callback may not execute
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IARXPX

Signed-off-by: chentianyu <chentianyu31@huawei.com>
Change-Id: I0f580447db843abf3095a3dab68b642289fcde29
2024-10-12 18:11:24 +08:00
yaochaonan
d7827e838b Add dfx for lazy import
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAULPJ?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: I64980a6b0427f8e9187cafc01f352768300c823f
2024-10-12 16:53:45 +08:00
openharmony_ci
c16f14e6f9
!9672 修复大内存时SharedGC连续触发
Merge pull request !9672 from chentianyu/cherry-pick-1707303491
2024-10-12 08:50:53 +00:00
openharmony_ci
f34f47ca3d
!9605 Extend GC builtins
Merge pull request !9605 from rjgask/extend-start-wait-gc-builtins
2024-10-12 08:39:55 +00:00
openharmony_ci
35e02ca6d1
!9686 修复object_factory.cpp和heap-inl.h文件中存在未判断指针有效性问题
Merge pull request !9686 from zhou-wenxuan/master
2024-10-12 08:32:59 +00:00
openharmony_ci
c6e5ce65e2
!9626 Bugfix of TSAN Warning of Method in Multi-thread Cases
Merge pull request !9626 from 张博虓/refix_methodtsan
2024-10-12 08:28:40 +00:00