Commit Graph

26 Commits (2e176a9d1b38550707602cb2c87593c21fc41798)

Author SHA1 Message Date
YuQing e02bb4edc3 fast_mblock_init_ex2 add parameter prealloc_trunk_count 2023-05-19 11:20:30 +08:00
YuQing 0806435fcc fast_allocator.c adapt fast_mblock_malloc_trunk_notify_func 2023-05-15 15:10:01 +08:00
YuQing d07058934b bugfixed: can't use global malloc_allocator 2022-11-19 17:13:02 +08:00
YuQing b0d57b325d export struct fast_allocator_wrapper 2022-08-28 17:20:20 +08:00
YuQing 82bbc013b2 fast_allocator.[hc] support object size 2022-08-27 21:24:16 +08:00
YuQing 7e52e7607a fast_allocator.[hc] support object callbacks 2022-08-27 09:49:20 +08:00
YuQing 26abf68ebd fast_mblock.[hc] support object destroy callback 2022-03-17 20:50:06 +08:00
YuQing 8717f85608 fast_allocator.c: optimize for the region with single allocator 2021-09-14 08:28:03 +08:00
YuQing 55f1e139a9 add file src/tests/test_sorted_array.c 2021-09-13 16:54:09 +08:00
YuQing ebe7d87ca4 locked_list.h adds macros: locked_list_empty, locked_list_first_entry etc. 2021-08-17 15:39:01 +08:00
YuQing 47c4eaeb13 fast_allocator.[hc]: correct reclaim_interval logic 2021-08-06 15:18:36 +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 0810cb4d21 bugfixed: allocator_array_check_capacity alloc size 2020-03-29 22:03:13 +08:00
YuQing 427818d005 fast_mblock stats refine 2020-03-29 12:30:42 +08:00
YuQing 590aa8d3a0 bugfixed: call fast_mblock_destroy in common_blocked_queue_destroy 2020-03-28 23:12:02 +08:00
YuQing 8005b18198 fast_allocator.[hc]: add function fast_allocator_strdup 2020-02-27 22:26:17 +08:00
YuQing 90e61572c0 fast_mblock.[hc]: add init_args for init_func 2020-02-03 22:42:27 +08:00
YuQing a6066181ae add function split_string_ex 2020-02-02 20:49:57 +08:00
yuqing 00d5c43b50 remove useless variable 2016-01-12 18:20:25 +08:00
Yu Qing d49bfa7294 allocator support reclaim 2015-11-06 18:57:39 +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
Yu Qing fb5abf5927 add fast_allocator 2015-11-04 17:19:36 +08:00