daanx
|
d242e86e74
|
Merge branch 'dev' into dev3
|
2025-01-02 15:02:57 -08:00 |
|
daanx
|
b28e2bdd93
|
fix pointer alignment for zero-sized large alignment case
|
2025-01-02 15:02:40 -08:00 |
|
daanx
|
dece8a587b
|
make stats part of a subproc
|
2024-12-21 10:43:08 -08:00 |
|
daanx
|
24d3c1bc14
|
heap meta data always uses mi_meta_zalloc
|
2024-12-11 09:16:28 -08:00 |
|
daanx
|
64c4181ffa
|
better block alignment
|
2024-12-10 20:32:48 -08:00 |
|
Daan
|
3f732a981f
|
fix debug build of MI_GUARDED
|
2024-12-09 15:49:20 -08:00 |
|
Daan
|
8f5449d271
|
various fixes for test pipeline
|
2024-12-09 15:39:15 -08:00 |
|
daanx
|
88990cec2d
|
merge from dev
|
2024-12-08 18:27:05 -08:00 |
|
daanx
|
d9a2f76ff7
|
fix write to empty heap in mi_guarded build
|
2024-12-08 17:23:09 -08:00 |
|
daanx
|
9ebe941ce0
|
first version that passes the make test
|
2024-11-30 20:21:32 -08:00 |
|
daanx
|
f8d04dc2bc
|
compile with clang and gcc
|
2024-11-30 12:41:11 -08:00 |
|
daanx
|
68f5fb2f4b
|
wip: further progress on segment removal; arena allocation
|
2024-11-29 15:08:06 -08:00 |
|
daanx
|
b8dc09e3d2
|
fix asan with MI_GUARDED
|
2024-11-17 22:56:26 -08:00 |
|
daanx
|
8ba1879073
|
add sampling for guarded objects
|
2024-11-17 00:06:16 -08:00 |
|
daanx
|
8b6017d976
|
rename mi_debug_guarded_ to mi_guarded_
|
2024-11-16 22:42:32 -08:00 |
|
daanx
|
498c92e348
|
update guarded implementation to use block tags
|
2024-11-16 21:15:50 -08:00 |
|
daanx
|
0c19eb60cf
|
initial working guarded pages
|
2024-08-19 21:21:40 -07:00 |
|
Daan
|
b1ec1d5e5a
|
refactor aligned allocation
|
2024-05-11 07:22:56 -07:00 |
|
Daan
|
7128db7bba
|
simplified aligned allocation; improved codegen; fix mi_good_size with padding included; add MI_MAX_ALIGN_GUARANTEE
|
2024-05-11 06:43:52 -07:00 |
|
Daan
|
c70c1df16a
|
better fast path for aligned allocation; check max alloc size correctly in the aligned fallback
|
2024-05-10 20:19:17 -07:00 |
|
Daan Leijen
|
a8a53e3e85
|
fix double counting of free-ing for non-thread-local free calls
|
2024-03-24 14:50:15 -07:00 |
|
Daan Leijen
|
6688b45fbd
|
rename MI_ALIGNMENT_MAX to MI_BLOCK_ALIGNMENT_MAX for clarity
|
2024-03-24 10:57:02 -07:00 |
|
daanx
|
2a6352fef2
|
add further zero initialization checks
|
2023-04-22 10:18:57 -07:00 |
|
daanx
|
09e42aea4e
|
clarify is_zero meaing
|
2023-04-18 17:41:18 -07:00 |
|
daanx
|
a8b9f2878a
|
better alignment test
|
2023-04-16 17:01:59 -07:00 |
|
daanx
|
4a52b7e4c4
|
use memzero_aligned
|
2023-04-16 12:32:43 -07:00 |
|
Daan Leijen
|
f58357548c
|
restructure header files
|
2023-03-20 10:37:39 -07:00 |
|
Daan Leijen
|
9b110090b2
|
move threadid and mi_get_default_heap to primitives
|
2023-03-14 20:35:00 -07:00 |
|
Daan Leijen
|
82c85d1a13
|
fix valgrind mem for large alignment
|
2023-03-05 18:03:04 -08:00 |
|
Daan
|
056c2ce45b
|
match track free size to tracked malloc size
|
2023-03-05 11:01:51 -08:00 |
|
Daan
|
3c906bde8b
|
better track_free_size
|
2023-03-04 15:17:13 -08:00 |
|
Daan
|
6dcebdc303
|
fix sizes in memory tracking and padding for huge alignments
|
2023-03-04 14:49:02 -08:00 |
|
Johannes Schindelin
|
745a34f475
|
Fix whitespace
This mostly deletes trailing spaces.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
|
2022-12-03 00:24:20 +01:00 |
|
Daan Leijen
|
10981ab122
|
add initial support for using mimalloc with address sanitizer support; use -DMI_ASAN=ON
|
2022-11-28 10:55:19 -08:00 |
|
Daan Leijen
|
604d4b259b
|
fix assertion failure (issue #650)
|
2022-11-25 14:27:48 -08:00 |
|
Daan Leijen
|
969d8bc5fe
|
make huge pages part of the regular page queues again
|
2022-11-22 20:56:35 -08:00 |
|
daan
|
2479d168ad
|
decommit unused prefix of large aligned blocks
|
2022-11-07 16:41:40 -08:00 |
|
daan
|
2daec6c72f
|
add more comments
|
2022-11-07 11:23:04 -08:00 |
|
daan
|
1f12c3dd12
|
remove MI_ALIGNMENT_MAX and add comments
|
2022-11-07 11:13:42 -08:00 |
|
Daan
|
f54e64365f
|
fix assertions with incorrect block size for large alignments
|
2022-11-06 09:44:12 -08:00 |
|
daan
|
a200291ae5
|
further progress on removing aligned limit
|
2022-11-06 08:26:17 -08:00 |
|
daan
|
4b91ff760d
|
initial working large alignment
|
2022-11-05 16:40:42 -07:00 |
|
daan
|
74117d329d
|
fix realloc memory tracking in valgrind
|
2022-10-30 19:00:54 -07:00 |
|
daan
|
84c706508c
|
fix false positives from valgrind in rptest
|
2022-10-30 10:45:51 -07:00 |
|
daan
|
eee7c40da5
|
updates to run valgrind on test-api
|
2022-10-29 11:43:09 -07:00 |
|
Daan Leijen
|
f76a678c04
|
fix mi_likely macro in debug build
|
2022-04-19 19:59:45 -07:00 |
|
Daan Leijen
|
7bc602ebb4
|
redefine mi_likely/mi_unlikely to work with C++ 20 [[likely]] attributes
|
2022-04-19 19:50:06 -07:00 |
|
Daan Leijen
|
d69d4c861f
|
add zero parameter to primitive allocation to improve codegen for calloc etc
|
2022-04-19 18:32:35 -07:00 |
|
Daan Leijen
|
9d69e3ed06
|
fix further annotation warnings for vs2022
|
2022-04-19 17:36:04 -07:00 |
|
Daan Leijen
|
89090510bd
|
update alignment tests
|
2021-12-18 11:11:44 -08:00 |
|