Commit Graph

49 Commits (795b328bd60f61b872371a681de7ce0fb835bc9c)

Author SHA1 Message Date
YuQing ec2db7cd33 replace sprintf and snprintf as necessary 2025-08-07 19:55:41 +08:00
YuQing fda2679435 fast_mblock.[hc] remove counter: free node count 2025-07-22 16:37:36 +08:00
YuQing a256976600 fast_mblock.[hc] add counter: free node count 2025-07-09 09:20:41 +08:00
YuQing 05f3d62ee1 call fast_mblock_ref_counter_dec for delay free node correctly 2024-01-07 14:59:00 +08:00
YuQing fafbbb557e bugfixed: array_allocator_alloc MUST init the array 2023-08-02 14:59:57 +08:00
YuQing 0c588d965e bugfixed: fast_mblock_batch_alloc correct return value 2023-05-28 16:31:53 +08:00
YuQing ccbc201636 bugfixed: MUST set tail->next to mblock->free_chain_head 2023-05-21 10:54:15 +08:00
YuQing e02bb4edc3 fast_mblock_init_ex2 add parameter prealloc_trunk_count 2023-05-19 11:20:30 +08:00
YuQing c00a159fd3 fast_mblock_malloc_trunk_notify_func prototype changed 2023-05-14 20:06:27 +08:00
YuQing 26abf68ebd fast_mblock.[hc] support object destroy callback 2022-03-17 20:50:06 +08:00
YuQing 0381982ac2 function fast_mblock_batch_alloc changed 2022-01-09 15:26:27 +08:00
YuQing d9097001b5 mblock stat output support order by used ratio 2021-12-24 17:16:39 +08:00
YuQing d5d317f912 fix cmp_mblock_info for fast_mblock_manager_stat 2021-12-24 11:40:52 +08:00
YuQing 720c4a686d mblock add macro FAST_MBLOCK_MAGIC_CHECK for debug 2021-12-12 10:16:06 +08:00
YuQing 81950ac246 add function fc_queue_free_chain 2021-09-11 18:40:26 +08:00
YuQing 6957c19992 fast_mblock.[hc]: add function fast_mblock_free_objects 2021-09-09 08:39:51 +08:00
YuQing 797f4e08b8 fast_mblock.[hc]: support batch alloc and batch free 2021-05-18 15:06:59 +08:00
YuQing c822e92b19 fast_mblock.[hc]: support wait with element limit 2021-01-14 15:25:37 +08:00
YuQing 58e1aea32b add function: fc_queue_empty 2020-11-03 22:09:42 +08:00
YuQing 56a5ac4f92 modify license to LGPLv3 and copyright 2020-10-14 11:03:46 +08:00
YuQing dc43f8254a remove useless logInfo 2020-09-21 22:27:16 +08:00
YuQing 98b816c625 fast_mblock.[hc]: support alloc elements limit 2020-09-01 21:22:13 +08:00
YuQing 4aad4f78b9 add files: fc_memory.[hc] 2020-07-07 10:32:16 +08:00
YuQing 201daee3b6 mblock_manager_stat_print format 2020-03-30 23:20:55 +08:00
YuQing c6ddfb98a1 correct int64_t compare result 2020-03-30 19:00:00 +08:00
YuQing 46da99bbba mblock stat type: int to int64_t 2020-03-30 18:44:34 +08:00
YuQing 427818d005 fast_mblock stats refine 2020-03-29 12:30:42 +08:00
YuQing 90e61572c0 fast_mblock.[hc]: add init_args for init_func 2020-02-03 22:42:27 +08:00
yuqing 2f76b8c4b1 code refine 2018-05-30 16:35:08 +08:00
yuqing beb0c77ebb skiplist optimization 2018-05-30 13:49:27 +08:00
yuqing 1eab718d4f modify php-fastcommon/test.php 2016-07-25 12:46:44 +08:00
yuqing 1c6a73d4f3 support get local mac addresses 2016-01-12 10:56:07 +08:00
yuqing 5bae0d57cb support multi skiplist 2015-12-29 12:23:03 +08:00
Yu Qing d49bfa7294 allocator support reclaim 2015-11-06 18:57:39 +08:00
Yu Qing c39a4915de mblock support trunk malloc check and notify 2015-11-06 15:19:07 +08:00
Yu Qing 00056480d4 mblock stat output alloc_bytes 2015-11-06 10:34:51 +08:00
Yu Qing 389234ff76 fast allocator ok 2015-11-05 18:44:12 +08:00
yuqing f734884700 fast_mblock reclaimed object pool 2015-11-03 18:13:51 +08:00
yuqing 81f75a019c stat_print output memory usage summary 2015-10-30 17:30:22 +08:00
yuqing cc070f18f4 modify mblock stat ratio 2015-10-30 16:01:16 +08:00
yuqing d2db706f7a mblock stat function test ok 2015-10-30 15:53:43 +08:00
yuqing c17d55ec7d mblock stat function test ok 2015-10-30 15:34:22 +08:00
yuqing e2ef7c87b6 mblock add stat function 2015-10-30 12:52:13 +08:00
yuqing f296a3e459 fast_mblock add fast_mblock_delay_free 2015-06-19 19:04:37 +08:00
yuqing d1d225c8db fast_mblock.c support none lock 2015-05-22 14:24:09 +08:00
yuqing 6db41264ef mblock support alloc_init_func 2014-10-26 11:52:28 +08:00
yuqing 31db77f3cd logger.c do NOT call fsync after write 2014-07-02 18:14:15 +08:00
yuqing 16bda0a1ab mblock add total_count 2014-06-27 10:10:18 +08:00
yuqing 80fba80f41 add object memory pool 2014-06-05 14:11:53 +08:00