Commit Graph

396 Commits

Author SHA1 Message Date
openharmony_ci
b070a9a866
!10057 Revert "Add Option Enable Force IC"
Merge pull request !10057 from zhuangkudecha/revertCloseForceIC
2024-11-22 00:16:01 +00:00
openharmony_ci
d3b5af8fd7
!10104 Bug fix when modify proto
Merge pull request !10104 from yinwuxiao/proto
2024-11-15 06:32:16 +00:00
openharmony_ci
d6141430cf
!10233 fix: pgo save task may freeze gc
Merge pull request !10233 from Lasting/fix/pgo/freezegc
2024-11-15 03:58:14 +00:00
yinwuxiao
d03b8622c7 Fix bug when modify proto.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB1VFX
Signed-off-by: yinwuxiao <yinwuxiao@huawei.com>
Change-Id: Ie058ca47ba8cc2c585c552144886ca0aa1826455
2024-11-14 20:24:56 +08:00
Like
6bea891f21 fix: pgo save task may freeze gc
Issue: #IB44BB
Signed-off-by: Like <zhenglike@huawei.com>
Change-Id: Iff2866b0be20ffcc4f5b13e091eb6dcf8412e9bb
2024-11-13 17:36:29 +08:00
xwcai98
4c5b4a1e77 Tidy AOT code
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB398K

Signed-off-by: xwcai98 <caixinwei5@huawei.com>
Change-Id: I520437b0707e7bc02334d4eba9b02971893dafba
2024-11-11 09:13:53 +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
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
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
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
zhuangkudecha
42d1825784 Revert "Add Option Enable Force IC"
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB0W5N

Description: Revert add options for force IC
Test: All stable and performance tesets

This reverts commit 68de2d91d0.

Change-Id: Ib1c4d79f27f00cd585c7a451677bcd861355d8f2
Signed-off-by: zhuangkudecha <fuhao71@huawei.com>
2024-10-30 17:40:28 +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
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
刘智杰
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
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
zhangyinlu
5f4b80b6ab JitFort开启CFI防护
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAVHR3
Description:JitFort开启CFI防护

Change-Id: I2bccfcc7f17dfd476169a3ddfdec82a5adb5a914
Signed-off-by: zhangyinlu <zhangyinlu@huawei.com>
2024-10-12 10:45:04 +08:00
openharmony_ci
ffbf94107b
!9380 Enable PGO when an/ai exists for non-app case
Merge pull request !9380 from zhaoziming_hw/zzm-dev-Enable_pgo_for_workload_with_an
2024-09-23 03:27:20 +00:00
zhaoziming
1878401060 Enable PGO when an/ai exists for non-app case
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAS0KY

Signed-off-by: zhaoziming <zhaoziming9@huawei.com>
Change-Id: I92138a4cce4cb4a2f3a67cb7010c7f7c1435f606
2024-09-21 16:35:57 +08:00
zhuangkudecha
68de2d91d0 Add Option Enable Force IC
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAPV03

Decription: Add Option for enable force ic
Test: All stable and performance teset suite

Change-Id: I7f4f6a99f1e4198a2f5426ad221e4d1bb5ce7d7c
Signed-off-by: zhuangkudecha <fuhao71@huawei.com>
2024-09-18 15:07:19 +08:00
zhaoziming
a1046fdba8 Disable PGO/JIT when AOT compilation fails
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IARJVN

Signed-off-by: zhaoziming <zhaoziming9@huawei.com>
Change-Id: Ic65f99e20ffb53d91e9e524e83406108e4ae77f0
2024-09-16 21:58:26 +08:00
openharmony_ci
bc5ed273ce
!9282 Disable PGO profile when an/ai file exists
Merge pull request !9282 from zhaoziming_hw/zzm-dev-close_pgo_with_an
2024-09-14 20:38:22 +00:00
zhaoziming
183bd39dda Disable PGO profile when an/ai file exists
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAQODS

Signed-off-by: zhaoziming <zhaoziming9@huawei.com>
Change-Id: I934e0954dfc325084c0088b8ce48a2578a885a48
2024-09-14 17:50:24 +08:00
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
openharmony_ci
bd62ebd709
!9092 fix basic code review flaw
Merge pull request !9092 from karen/pgo0903
2024-09-11 21:15:06 +00:00
l00799755
caf18b0580 Fix some pgo code style problems
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAP3PI
Description
1.Fix code style problems
2.Add comment for function IsCompatiableWithAOTFile
3.Refact fix bad ap code
4.Fix the inline function whose lines over 12

Signed-off-by: l00799755 <lujiahui4@huawei.com>
Change-Id: I469a6d3c5faf0b3e715be52cb677ffd8da9c32e0
2024-09-06 15:31:49 +08:00
karenonni
4c65180679 fix basic code review flaw
Issue: #IAOL0K

Signed-off-by: karenonni <xukaiwen3@huawei.com>
Change-Id: Ic226cc608e1b4015298433ef1d0683b0f2c593a4
2024-09-05 03:11:51 +00:00
openharmony_ci
d4750bee87
!8944 Fix incorrectly overloaded operator less-than
Merge pull request !8944 from yuanxupeng/opetatorless
2024-09-03 03:45:59 +00:00
openharmony_ci
4c62133018
!8963 Fix security warnings
Merge pull request !8963 from yy/master
2024-08-30 19:28:00 +00:00
yuanxupeng
1cfef47502 Fix incorrectly overloaded operator less-than
Fix the incorrectly overloaded operator less-than in class pgoobjecttemplate and class objdefoptemplate

Issue:  https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAMP74
Signed-off-by: yuanxupeng <yuanxupeng@huawei.com>
2024-08-30 10:32:11 +08:00
openharmony_ci
e8d7e2af87
!8835 optimize compiler
Merge pull request !8835 from fangting/master
2024-08-29 15:25:01 +00:00
yy
5889aac764 Fix security warnings
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAN072?from=project-issue

Signed-off-by: yy <yejunwen2@h-partners.com>
2024-08-29 21:30:22 +08:00
fangting
cdbfa4340e optimize compiler
Issue:#IALVU8
Signed-off-by: fangting <fangting12@huawei.com>
2024-08-27 11:02:23 +08:00
wu_zhang_da
019e386c0b Set Security Label For AOT Files
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAL8CF

Signed-off-by: wu_zhang_da <wuzhangda@huawei.com>
Change-Id: Ia99bdb47c4e09f943f19a489713b144c1b89cc75
2024-08-27 09:14:13 +08:00
openharmony_ci
314937ccf5
!8596 Support ffrt-based taskpool
Merge pull request !8596 from Gymee/ffrt_based_taskpool
2024-08-26 15:23:38 +00:00
openharmony_ci
b916110a08
!8824 [Bug] Fix bug of pgo crash when dumping IC by name
Merge pull request !8824 from 王不薄/fuzz
2024-08-24 16:09:49 +00:00
openharmony_ci
89e9955795
!8792 Fix SIGSEGV when WeakRef in ExtraProfileTypeInfo is collected
Merge pull request !8792 from 陆佳慧/AddUndefined
2024-08-24 15:53:22 +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
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
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
openharmony_ci
4b7ba571ff
!8565 Fix PGO Memory Leak
Merge pull request !8565 from 陆佳慧/LoadFullClear2
2024-08-20 19:16:43 +00:00
l00799755
472524e58e Fix PGO memory leak
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAIKR5
Description
1.Use chunk allocate in function AddMethod
2.Call DeleteProtoChain after write protoChainRef

Signed-off-by: l00799755 <lujiahui4@huawei.com>
Change-Id: I024c66061caa64b1fc8c58c478eb0f0b46c2631d
2024-08-17 18:25:25 +08:00
l00799755
2a27085219 Move ExtraInfoMap to ProfileTypeInfo
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAFPQK
Description
Move ExtraInfoMap to ProfileTypeInfo

Signed-off-by: l00799755 <lujiahui4@huawei.com>
Change-Id: I0cf4f43ddc18b65a983950e9a005ebab39f13343
2024-08-15 16:04:20 +08:00
openharmony_ci
0e7a11bfc2
!8676 Fix gc crash by weakref
Merge pull request !8676 from 陆佳慧/FixWeakRef
2024-08-15 03:27:08 +00:00
l00799755
aa756f01fe Fix gc crash caused by weakref
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAJRR3
Description
Fix gc crash caused by weakref

Signed-off-by: l00799755 <lujiahui4@huawei.com>
Change-Id: I5f6253203e1f865b2602d658f0169ff8ba448a9b
2024-08-14 09:58:01 +08:00
openharmony_ci
d037008cee
!8567 Fix data race of second ic
Merge pull request !8567 from zhuangkudecha/FixDoubleSlotTrace
2024-08-14 00:55:17 +00:00
zhuangkudecha
41693b0736 Fix data race of ic
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAIKTX

Description: Main thread and dump thread will concurrent read and write
second ic slot. Return at dump thread if value of second slot is not
expected.
Test: all test suite

Signed-off-by: zhuangkudecha <fuhao71@huawei.com>
Change-Id: I208a8d1dac47ec5f6078f23ae991cbf49278d082
2024-08-13 14:33:20 +08:00
openharmony_ci
62542cdd42
!8321 Unlock unnitest for pgo profile
Merge pull request !8321 from zhuangkudecha/pgoProfileUnnitest
2024-08-10 14:34:17 +00:00
openharmony_ci
77209342d0
!8477 Fix Bad Ap crash
Merge pull request !8477 from zhuangkudecha/RemoveBadAp
2024-08-08 03:33:14 +00:00
openharmony_ci
8c24cb09d0
!8525 Modify code security specification alarm
Merge pull request !8525 from yy/master
2024-08-08 03:30:16 +00:00