Commit Graph

13434 Commits

Author SHA1 Message Date
lijiamin2019
d66e480ee4 Fix the bug of Array.from
1.fix th bug of Array.from

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

Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: Icd98e5bdbc90444be968426ecfce2a3490d1128a
2024-08-24 17:10:55 +08:00
l00483465
fd1be91c20 Fix no distance in heap snapshot
Some object are no distance in heap snapshot

Issue:    https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAM44E?from=project-issue
Signed-off-by: l00483465 <laiqishengbao@huawei.com>
2024-08-24 16:49:15 +08:00
liu-zelin
73f00dfe89 Add SendableSet debug support
Issue:
https: //gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAM61I?from=project-issue
Signed-off-by: liu-zelin <liuzelin8@huawei.com>
Change-Id: I0d333759812993176eccaf561afc603c55c825a3
2024-08-24 16:42:51 +08:00
liu-zelin
a26b488103 Fix security warnning
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAM79U?from=project-issue
Signed-off-by: liu-zelin <liuzelin8@huawei.com>
Change-Id: I7c6e0434f6ce7b48eb300536182be810c508c05d
2024-08-24 14:45:31 +08:00
openharmony_ci
0e0466e408
!8624 Remove JSNativePointer in InternalAccessor
Merge pull request !8624 from Gymee/remove_overused_jsnativepointer_part1
2024-08-24 03:57:12 +00:00
openharmony_ci
d89dfcbe62
!8726 Adjust native size trigger gc strategy
Merge pull request !8726 from dingwen/stragery_br
2024-08-24 03:51:38 +00:00
openharmony_ci
bfe1d4d321
!8763 回退PR7053中有关四舍五入规则的修改
Merge pull request !8763 from 贺存茂/TypedArrayFill0820
2024-08-24 03:04:17 +00:00
li_jianfei
6ba10db670 add js_shared_array ut
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAM1E9
Signed-off-by: lijianfei <lijianfei20@huawei.com>
2024-08-24 10:59:13 +08:00
openharmony_ci
db74e7f206
!8823 Add EnableSerializationTimeoutCheck_IsMainThread
Merge pull request !8823 from 孙培瑜/master
2024-08-24 02:56:30 +00:00
openharmony_ci
578201a95f
!8803 Fix nullptr allert
Merge pull request !8803 from bigtea/master
2024-08-24 02:54:10 +00:00
openharmony_ci
617674c8e6
!8799 code revert
Merge pull request !8799 from 杨阳/revert
2024-08-24 02:50:46 +00:00
openharmony_ci
eb5703cd05
!8734 TreeSet getHigherValue和getLowerValue类型限制修改
Merge pull request !8734 from 张鸿雨/cherry-pick-1723797275
2024-08-24 02:45:39 +00:00
openharmony_ci
49fc9aee82
!8793 Cover ut for JSSendableArrayBuffer
Merge pull request !8793 from Sandee/ut_20240821
2024-08-23 19:34:36 +00:00
openharmony_ci
d59cebdee7
!8794 fix bug of GlobalNativeSizeLargerThanLimitTest
Merge pull request !8794 from caolili123/master
2024-08-23 19:32:06 +00:00
openharmony_ci
c32c6a0193
!8732 Opt JsonStringifier
Merge pull request !8732 from XinweiCai/opt_json_stringifier
2024-08-23 19:29:39 +00:00
openharmony_ci
d4f95787cf
!8769 Fix define static non-sendable property on sendable class
Merge pull request !8769 from diartyz/fix_define_static_property
2024-08-23 19:27:26 +00:00
openharmony_ci
348329f664
!8687 [Build time] Remove duplicate js_optimizer object files
Merge pull request !8687 from Efremov Andrey/build-time-1
2024-08-23 19:24:46 +00:00
openharmony_ci
e49a8653f2
!8782 修复napi_is_number_object在入参为ArrayList时返回true的问题
Merge pull request !8782 from shilei91/master
2024-08-23 19:22:28 +00:00
yuanxupeng
9828512b75 Code alert modification
Code alert modification

Issue:         https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAM2L3
Signed-off-by: yuanxupeng <yuanxupeng@huawei.com>
2024-08-23 23:40:12 +08:00
l00799755
92ffb6dff2 Fix SIGSEGV in AddObjectInfo
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IALDQE
Description
Add if statement, when GetReceiverObject is undefined,the process will not go to  function AddOnjectInfo

Signed-off-by: l00799755 <lujiahui4@huawei.com>
Change-Id: Ie7f455ad88aaaff2cc5d3bcb7afa23bb2fb4eed5
2024-08-23 21:12:50 +08:00
chenhantao
39a42c8b57 RBTree add judge empty
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IALR56

Signed-off-by: chenhantao <chenhantao3@huawei.com>
Change-Id: I56dc57bfebbd2cacbf4663be363cb4bab705bcf8
2024-08-23 20:23:48 +08:00
yy
dea7a76a23 Modify code security specification alarm
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAM2L3?from=project-issue

Signed-off-by: yy <yejunwen2@h-partners.com>
2024-08-23 17:29:35 +08:00
ftq
ad04a744d3 StringTable Separation
Description:StringTable needs to be divided into multiple maps and locks for input optimization

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

Signed-off-by: ftq <fantianqi7@huawei.com>
Change-Id: Ia3b5c7c123ec57c63c465c309e3e74790b661310

Signed-off-by: ftq <fantianqi7@huawei.com>
Change-Id: I21ad9399169cc22525d492416f082c1f421b2b16

Change-Id: Ieb60129858d3396ced83b1a193c66f44c8afba42

Signed-off-by: fantianqi <fantianqi7@huawei.com>
Change-Id: Id29a55c507adfe11e4d91da1f931de5911f37450

Change-Id: I1e04e243667614eeef41e9eaeb63ddeb17357470

Signed-off-by: fantianqi <fantianqi7@huawei.com>
Change-Id: Iaba2b3c65b2ec31e7cdebf6d60d53a28497c972f

Signed-off-by: fantianqi <fantianqi7@huawei.com>
Change-Id: I206821f779f24c0dfcbced9d1144e7d1896f3fe3

Signed-off-by: fantianqi <fantianqi7@huawei.com>
Change-Id: Ifbc8f04a11c78b766a7919e3e6c6e8a3e5347355

Signed-off-by: fantianqi <fantianqi7@huawei.com>
Change-Id: Ibecec538d2d5ab995979e1d17f366f478d716b09

Change-Id: I4144c809a1a6aa30e8c1cf9c5639cf475bf80f19

Signed-off-by: fantianqi <fantianqi7@huawei.com>
Change-Id: I57939fe72e7c6f824e20487c75978f60819f144c

Change-Id: I4cd0ae5fb620ad8d2f0b416c0e6c5eeee9720d5f

Signed-off-by: fantianqi <fantianqi7@huawei.com>
Change-Id: I5c9ad43d96171b0c2922caf8ff10a324077ee9b7

Signed-off-by: fantianqi <fantianqi7@huawei.com>
Change-Id: I62e8f966e06cdda91217d28cffd3fbd4393312be

Signed-off-by: fantianqi <fantianqi7@huawei.com>
Change-Id: I924a3bf6a4256b1aeda141bfe89be1b6864e93a3
2024-08-23 17:04:19 +08:00
duomingliang
5a6e88d470 DigitGen optimize
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAM2DD
Description:
DigitGen optimize

Signed-off-by: duomingliang <duomingliang@huawei.com>
Change-Id: I74ef3af1d2d73bcad035d835033d0234a8b0882c
2024-08-23 16:11:18 +08:00
zbx
4e3ab3ddd3 Optimize UpdateReference for Partial GC
Issue: IAIGBB

Signed-off-by: zbx <zhangboxiao1@huawei.com>
Change-Id: I15c4ca5edb36bd48f5d5079418033d5740c083cf
2024-08-23 14:43:42 +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
lijiamin2019
fe4f2f83b1 Set IsSharedBit for the method of sendable class
1.set IsSharedBit for the method of sendable class

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

Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: I978d6f480cb0cb76c22954e2ca43d2a2c85d92bd
2024-08-23 11:27:16 +08:00
hlm2001
e3dc12a04e Clear code security alarms
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IALYP9

Signed-off-by: hlm2001 <huanglimin10@huawei.com>
Change-Id: I88ee24c46cd7d0a999c86fbe866d67db37aabc0d
2024-08-23 11:05:08 +08:00
daizihan
2c0509730c Fix incorrect IR with empty catch block
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IALMWM

Signed-off-by: daizihan <daizihan@huawei.com>
Change-Id: I018e384653412d4d6a3d1ba85630372a3787187b
2024-08-23 09:49:03 +08:00
zhangyinlu
15a687ca7c delete unused code part4
!32 x64 cgfunc & lsra some code del
* del call conv
* del x64live
* del lsra code
* x64 del unused code
* add rangegoto

!38 del unused code about debug_info
* del unused code about debug_info

!37 memlayout
* fix_short_branch
* memlayout

!39 delete unused code and add debug macro
* delete unused code and add debug macro

!40 del aarch64 cgfunc unused code
* del aarch64 cgfunc unused code

Issue: #IAK69N
Change-Id: I341d1f0114ffe9f23bc97d87a31dea27ebb1b5e6
Signed-off-by: h00600710 <huangyan94@huawei.com>
2024-08-23 09:39:43 +08:00
openharmony_ci
4b174d7392
!8756 codecheck clean
Merge pull request !8756 from xuyuqing/codecheck_0819
2024-08-23 01:27:56 +00:00
openharmony_ci
9a5af4fbae
!8508 Sweep stringtable in parallel
Merge pull request !8508 from XinweiCai/sweep_stringtable_in_parallel
2024-08-23 01:25:23 +00:00
openharmony_ci
b881f3f0fd
!8681 fast create array with (...items)
Merge pull request !8681 from KasonChan/ck_fastcreatearray
2024-08-23 01:22:43 +00:00
openharmony_ci
fa89a5ffbe
!8780 Fix Unit Test failed on device
Merge pull request !8780 from zhuangkudecha/FixUnitTestOnHost
2024-08-23 01:21:09 +00:00
openharmony_ci
470283c856
!8731 bugfix TYPED_CREATE_OBJ_WITH_BUFFER
Merge pull request !8731 from linxinyq/bugfix-TYPED_CREATE_OBJ_WITH_BUFFER
2024-08-23 01:17:46 +00:00
openharmony_ci
953a674a7b
!8526 delay lowering key in storeobjbyname
Merge pull request !8526 from duoml/defineproperty_opt
2024-08-23 01:15:02 +00:00
openharmony_ci
0b7d030071
!8770 Resolve code security issues
Merge pull request !8770 from hlm2001/hlm_kexin0820_br
2024-08-23 01:12:22 +00:00
Panferov Ivan
ab8c1020af Fix appfreeze
Signed-off-by: Panferov Ivan <panferov.ivan@huawei-partners.com>
2024-08-22 23:49:48 +08:00
wangyuxin
d3e8863c3a Fix bug of pgo crash when dumping IC by name
When updating transition for parent and child, if the parent layout information can not be found
in transition layout record, directly return false instead of updating to avoid segmentation fault.

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

Signed-off-by: wangyuxin <wangyuxin53@huawei.com>
Change-Id: I0cbe003c91a26e5894d616642422aa1dfec15524
2024-08-22 20:20:29 +08:00
linxin
1e13c10938 Remove string optimize
Issue: #IALNG8

Signed-off-by: linxin <linxinyq@foxmail.com>
2024-08-22 20:14:46 +08:00
alfred-huang
8aa5885090 Support codesign under baselinejit
Baseline codesign, no PUBLIC_API for codesign

Issue: IAL8NO

Signed-off-by: alfred-huang <alfred_huang@live.com>
2024-08-22 19:28:37 +08:00
zhangtianqi
bb91bf679d fix array's dictionary assert prob
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IALUWW
Signed-off-by: zhangtianqi <zhangtianqi3@huawei.com>
Change-Id: I2ec70fb15995ffdc66feb08390ba9ed310a0c7f5
2024-08-22 18:39:55 +08:00
sunpeiyu
ae21bc6346 Add EnableSerializationTimeoutCheck_IsMainThread
Add EnableSerializationTimeoutCheck_IsMainThread

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

Signed-off-by: sunpeiyu <sunpeiyu1@huawei.com>
Change-Id: I29203de73a4c4823ea0d44b3f5fc1ad4abc9e1d9
2024-08-22 15:41:15 +08:00
milkpotatoes
ca8935a5e0 Export GetThreadId for napi
Issue: https://gitee.com/openharmony/arkui_napi/issues/IA4BL6

Signed-off-by: milkpotatoes <chenshulin5@huawei.com>
Change-Id: I9ed5d17f05693f1b62abf830197779f31a8d6922
2024-08-22 15:22:18 +08:00
韦国庆
930e8eaaa8 tolower optimization
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IALKR://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IALKRV
Signed-off-by: weiguoqing <weiguoqing2@huawei.com>
2024-08-22 11:39:45 +08:00
chentianyu
3a4e8c3f8c Fix deadlock in SharedSparseSpace::Alocate and SuspendAll
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IALAZU

Signed-off-by: chentianyu <chentianyu31@huawei.com>
Change-Id: Ic24897493280a27c0a93d83805d6ed957af1ae30
2024-08-22 11:33:03 +08:00
yang-19970325
42d646c955 Revert code
Issue: #IALK3G

Signed-off-by: yang-19970325 <yangyang585@huawei.com>
2024-08-22 11:32:12 +08:00
wupengyong
c84a2a8b94 Add log for GetFunctionExtraInfo
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IALOA7?from=project-issue
Test: Build & Boot devices

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Ibd05607d9218d21a8e3915178561447be00e742d
2024-08-22 10:37:47 +08:00
openharmony_ci
5be332038b
!8785 add macro for macos
Merge pull request !8785 from zhouguangyuan0718/master-asm-call-barrier-0821
2024-08-22 00:57:17 +00:00