Commit Graph

96 Commits

Author SHA1 Message Date
openharmony_ci
d4cb661839
!166 BeginRead 的时候方法缺少注释
Merge pull request !166 from 周梦杰/0918
2024-09-19 06:43:48 +00:00
周梦杰
560bbb4439
update libpurgeablemem/cpp/include/purgeable_mem_base.h.
Signed-off-by: 周梦杰 <zhoumengjie7@huawei.com>
2024-09-19 02:14:12 +00:00
zhoumengjie7@huawei.com
6054e3c1d4 add annotation
Signed-off-by: zhoumengjie7@huawei.com <zhoumengjie7@huawei.com>
Change-Id: Ic90e5ca6745938b2f89562374fc1e78ad06fdfd9
2024-09-18 16:40:23 +08:00
cwx1272435
7b37b95164 Add mutex locks to functions that lack mutex locks
Signed-off-by: cwx1272435 <caiyiming4@huawei.com>
2024-09-06 05:43:05 +00:00
cwx1272435
1c255a5f54 memory_utils code modify
Signed-off-by: cwx1272435 <caiyiming4@huawei.com>
2024-08-16 06:36:10 +00:00
cwx1272435
9408c10a01 0719
Signed-off-by: cwx1272435 <caiyiming4@huawei.com>
2024-07-19 08:17:40 +00:00
lixiang
f64db06740 revert: ldflags = ["-Wl,--exclude-libs=libunwind.a"]
Signed-off-by: lixiang <lixiang462@huawei.com>
Change-Id: I917ba8a617341c0ff4e936124ec61e7d8a402706
2024-06-13 15:24:36 +08:00
cwx1272435
42f0bff6cd 0603_memory
Signed-off-by: cwx1272435 <caiyiming4@huawei.com>
2024-06-03 08:17:10 +00:00
cwx1272435
a9073a8d9e 0521
Signed-off-by: cwx1272435 <caiyiming4@huawei.com>
2024-05-21 06:39:43 +00:00
openharmony_ci
e7de94e331
!148 自测试平台告警处理,缩小succ变量的作用域
Merge pull request !148 from 蔡一鸣/0506
2024-05-06 09:34:38 +00:00
cwx1272435
6d42a71517 0506
Signed-off-by: cwx1272435 <caiyiming4@huawei.com>
2024-05-06 08:34:00 +00:00
cwx1272435
821e6be14a 0506-1
Signed-off-by: cwx1272435 <caiyiming4@huawei.com>
2024-05-06 07:38:07 +00:00
lixiang
851c380990 Update interface and their lock for libpurgeablemem
Signed-off-by: lixiang <lixiang462@huawei.com>
Change-Id: Iac27bffc226e3440da80b3efa43c45ed0b53ee10
2024-04-29 11:18:47 +08:00
mwx1278118
bb1bc10687 first
Signed-off-by: mwx1278118 <mengjianfeng@huawei.com>
2024-04-18 11:05:34 +08:00
lixiang
b7db931390 delete original purgeable_ndk module
Signed-off-by: lixiang <lixiang462@huawei.com>
Change-Id: I1ac8a0c280249e9af2d2b2d6391191b0aaed8ae1
2024-04-09 11:21:31 +08:00
cwx1272435
2c5676a021 0321
Signed-off-by: cwx1272435 <caiyiming4@huawei.com>
2024-03-25 07:24:09 +00:00
李月关
1f3da0227b Modify the public field of the log in the memmgr_utils
Signed-off-by: 李月关 <liyueguan@huawei.com>
2024-03-08 16:18:59 +08:00
openharmony_ci
3a95b929ed
!140 增加cfi检查
Merge pull request !140 from 周梦杰/0227-cfi
2024-02-27 11:54:20 +00:00
zhoumengjie
c286fe708d purgeable_memory_ndk add cfi
Signed-off-by: zhoumengjie <zhoumengjie7@huawei.com>
Change-Id: Idc04cc41be8413296a070ec8f5ee4c7be2f82336
2024-02-27 17:08:52 +08:00
openharmony_ci
8de7226573
!138 hilog轻量化宏接口整改
Merge pull request !138 from 周梦杰/0125-hilog
2024-01-25 13:07:29 +00:00
zhoumengjie
21b4aaf58d hilog use macro
Signed-off-by: zhoumengjie <zhoumengjie7@huawei.com>
Change-Id: I6d7e70d455f7a98c0cfb933123e584a0969f8f9c
2024-01-25 19:42:27 +08:00
zhoumengjie
250db8568b CFI整改
Signed-off-by: zhoumengjie <zhoumengjie7@huawei.com>
Change-Id: Icd089f4006b45ca8cd0cbc298d0babbe03a15163
2024-01-09 20:30:17 +08:00
caiyiming
2d6319ea11 1122
Signed-off-by: caiyiming <caiyiming4@huawei.com>
2023-11-23 03:03:24 +00:00
caiyiming
18977191c8 1116
Signed-off-by: caiyiming <caiyiming4@huawei.com>
2023-11-16 10:29:06 +00:00
caiyiming
568653da7d 1113
Signed-off-by: caiyiming <caiyiming4@huawei.com>
2023-11-13 00:34:08 +00:00
caiyiming
19460e4d2f 1012
Signed-off-by: caiyiming <caiyiming4@huawei.com>
2023-10-12 05:59:22 +00:00
zhoumengjie
7c473788fe remove ffrt
Signed-off-by: zhoumengjie <zhoumengjie7@huawei.com>
Change-Id: I334910c5acf3c16feb97aa9cc60a4bc725a1c20a
2023-09-27 09:59:48 +08:00
openharmony_ci
3e51d0118d
!119 删除函数名后下划线
Merge pull request !119 from 蔡一鸣/0920_hx
2023-09-20 03:30:36 +00:00
caiyiming
64df5479ef 删除下划线
Signed-off-by: caiyiming <caiyiming4@huawei.com>
2023-09-20 00:36:15 +00:00
lixiang
be13f56f38 Signed-off-by: lixiang <lixiang462@huawei.com>
Change-Id: I30206d192188f36d92ebd6da8e775291e4c5cda0
2023-09-19 10:25:15 +08:00
openharmony_ci
6b3914cf04
!112 RoundUp加法溢出校检
Merge pull request !112 from lixiang/overflow
2023-09-13 11:03:07 +00:00
openharmony_ci
21ee95549c
!111 增加测试用例覆盖
Merge pull request !111 from 董森浩/master
2023-09-13 07:55:09 +00:00
lixiang
75ddc578f3 Change-Id: I4fed2b082b09b46d7648e2c9eb86b8d44add5f07
Signed-off-by: lixiang <lixiang462@huawei.com>
Change-Id: I82471bea10c7d816ee42842da9021d866c3a6af1
2023-09-13 15:22:59 +08:00
dongsenhao
71df0a408f add interface test case coverage
Signed-off-by: dongsenhao <dongsenhao2@huawei.com>
2023-09-13 14:10:45 +08:00
openharmony_ci
7275757dbd
!110 change unlock to unpin
Merge pull request !110 from lixiang/unlock_to_unpin
2023-09-13 03:27:59 +00:00
lixiang
988898f46e Signed-off-by: lixiang <lixiang462@huawei.com>
Change-Id: Ic0de44c61aa6de8d417cb478c6edd57a51756fe9
2023-09-13 10:35:46 +08:00
openharmony_ci
908f3b1378
!109 bool函数返回值处理;设置purgeable内存申请上限。
Merge pull request !109 from lixiang/max_memory
2023-09-13 02:21:19 +00:00
lixiang
3bc5295942 TicketNo:DTS2023090806536
Change-Id: I3d571e1f874304e09edfd01c1406af0874e2be70
Signed-off-by: lixiang <lixiang462@huawei.com>
2023-09-12 19:32:49 +08:00
lixiang
24350b3631 Signed-off-by: lixiang <lixiang462@huawei.com>
Change-Id: I2af3c266c7a8d25a2b01e69cc7e5d2ce0dbff4c5

Change-Id: Ie0e2c438afeb1743efb08dbb9b87fba4ff858c18
Signed-off-by: lixiang <lixiang462@huawei.com>
2023-09-11 18:54:05 +08:00
dongsenhao
3836436f13 Change variable naming style
Signed-off-by: dongsenhao <dongsenhao2@huawei.com>
2023-09-01 15:26:25 +08:00
dongsenhao
a6ffe9172c Increase purgeable_c_test and purgebleashmem_test branch coverage of test
Signed-off-by: dongsenhao <dongsenhao2@huawei.com>
2023-09-01 10:59:39 +08:00
lixiang
1ce511e93d alram handling
Signed-off-by: lixiang <lixiang462@huawei.com>
Change-Id: I017dabb1333d35706142ba5a6dd46faa22ac6c9e
2023-08-24 21:19:13 +08:00
dongsenhao
e0106252b6 repair purgeableresourcemanager_test
Signed-off-by: dongsenhao <dongsenhao2@huawei.com>
2023-08-16 14:28:48 +08:00
wonghiu45
bf62f75867 replace thread pool by ffrt
category:bugfix
issue:https://gitee.com/openharmony/commonlibrary_memory_utils/issues/I7SDJQ

Signed-off-by: wonghiu45 <huangxiao35@huawei.com>
Change-Id: Ideb7d314efd54e061aeddfd6ad25d82cf03990e3
2023-08-11 10:32:33 +08:00
wonghiu45
53a520163c change dataLock type to ffrt mutex
category:bugfix
issue:https://gitee.com/openharmony/commonlibrary_memory_utils/issues/I7SACT

Signed-off-by: wonghiu45 <huangxiao35@huawei.com>
Change-Id: Ic8961dbed0c3f94de6d48440daa9f255ceca5bc5
2023-08-10 22:12:08 +08:00
wonghiu45
17e18fc97c refactor rwlock when using dataLock
category:bugfix
issue:https://gitee.com/openharmony/commonlibrary_memory_utils/issues/I7S56Z

Signed-off-by: wonghiu45 <huangxiao35@huawei.com>
Change-Id: I4e7040bbaccf14f804bc0d8177e79f9ac3d2f59b
2023-08-10 14:46:46 +08:00
wonghiu45
0ed0e02836 refactor datalock
category: bugfix
issue: https://gitee.com/openharmony/commonlibrary_memory_utils/issues/I7RUD9

Signed-off-by: wonghiu45 <huangxiao35@huawei.com>
Change-Id: I53218fa11a9a2b45b50facd620d33581036091c4
2023-08-09 17:48:46 +08:00
wonghiu45
30cc6b5b74 add lock for thread pool
category: bugfix
issue: https://gitee.com/openharmony/commonlibrary_memory_utils/issues/I7RI7L

Signed-off-by: wonghiu45 <huangxiao35@huawei.com>
Change-Id: I4698e37dc23e67447e8fe5a8dbe4538ad0bcdcb1
2023-08-08 18:17:38 +08:00
wonghiu45
0642256d5e add try times limits for BeginRead
category: bugfix
issue: https://gitee.com/openharmony/commonlibrary_memory_utils/issues/I7PA7M

Signed-off-by: wonghiu45 <huangxiao35@huawei.com>
Change-Id: Iaeb07a73bdc0cd00725e020a1c9b2ed2aeb76350
2023-07-31 16:12:33 +08:00
surencong
05b435896e modify lruCache class to private
category:bugfix
issue:https://gitee.com/openharmony/commonlibrary_memory_utils/issues/I7O9UI?from=project-issue

Signed-off-by: surencong <surencong@huawei.com>
Change-Id: Ibb511234c7269c828bb770d051f3520c38e86ac5
2023-07-28 19:19:31 +08:00