Daan
|
6c7cda592c
|
make page_malloc_zero externals not inline to avoid link errors in C++ mode
|
2024-05-11 07:39:06 -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
|
8f7d1e9a41
|
fix free in realpath when using ASAN
|
2024-03-29 11:17:21 -07:00 |
|
daanx
|
006ae2d055
|
add is_huge page flag to ensure the right page queue is returned (see #868)
|
2024-03-24 17:07:28 -07:00 |
|
Daan Leijen
|
b5665f0eec
|
add full block_size and page_start to page info
|
2024-03-24 14:17:17 -07:00 |
|
Daan
|
cc809b0cd4
|
take 16 bits from used field to create a fast unalign path
|
2024-03-18 01:40:03 -07:00 |
|
Daan
|
355f44f373
|
split free routines in a separate file
|
2024-03-17 08:44:11 -07:00 |
|
Daan
|
18ebeb8a83
|
fix (benign) race condition on the page flags has_aligned flag and refactor free-ing code (issue 865)
|
2024-03-17 08:33:09 -07:00 |
|
daanx
|
70e3ce07d1
|
Merge branch 'dev' into dev-abandon
|
2024-03-02 17:34:58 -08:00 |
|
Daan
|
944ec1ab8a
|
Fix error: cannot use 'throw' with exceptions disabled #815, by @sergio-nsk
|
2024-03-02 15:47:07 -08:00 |
|
daanx
|
931d523dcc
|
update mstress to let the main thread participate
|
2024-02-29 18:17:58 -08:00 |
|
daanx
|
9f9305d44b
|
use non-primitive heap default
|
2024-02-29 17:43:52 -08:00 |
|
daanx
|
64edbc92dd
|
allow abandoned segment reclaim on a free
|
2024-02-29 14:58:59 -08:00 |
|
daanx
|
e90ad987cc
|
add zero initialization on zero sized reallocation (issue #725)
|
2023-04-22 10:18:18 -07:00 |
|
daanx
|
b549c88e6c
|
review realloc
|
2023-04-18 19:48:40 -07:00 |
|
daanx
|
173382ef60
|
is_zero review; fix asan check
|
2023-04-18 17:52:16 -07:00 |
|
daanx
|
09e42aea4e
|
clarify is_zero meaing
|
2023-04-18 17:41:18 -07:00 |
|
daanx
|
4d976270eb
|
review is_zero flag
|
2023-04-18 17:18:39 -07:00 |
|
daanx
|
6bd591d675
|
fix tsan errors
|
2023-04-05 11:57:32 -07:00 |
|
Daan Leijen
|
cc4ed36c7e
|
prepare for new release
|
2023-04-03 12:30:18 -07:00 |
|
Daan Leijen
|
8e6a475386
|
add ubsan and tsan to pipeline
|
2023-03-29 12:13:59 -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
|
3579d3b861
|
move mi_thread_id to primitives
|
2023-03-14 19:38:45 -07: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 |
|
Daan
|
0d9e7ab61e
|
remove extern inline from alloc_new functions to avoid link warnings
|
2023-03-04 09:27:04 -08:00 |
|
Daan Leijen
|
37d5ce9498
|
comment out include
|
2022-12-21 12:09:52 -08:00 |
|
Daan Leijen
|
aa2d00fde8
|
make heap_new inline again
|
2022-12-21 10:28:58 -08:00 |
|
Daan Leijen
|
ef3f651f3f
|
change implementation of mi_realpath to be more robust; see issue #660
|
2022-12-19 18:59:33 -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
|
db0a69b482
|
remove comment
|
2022-11-22 20:57:31 -08:00 |
|
Daan Leijen
|
969d8bc5fe
|
make huge pages part of the regular page queues again
|
2022-11-22 20:56:35 -08:00 |
|
Daan Leijen
|
9617f16df9
|
add STL allocators that use a specific heap and can destroy at the end; see original PR #625 by @vmarkovtsev
|
2022-11-22 16:58:32 -08:00 |
|
Daan Leijen
|
6e2b077b35
|
rename to heap_alloc_new and heap_alloc_new_n
|
2022-11-22 14:48:26 -08:00 |
|
Daan Leijen
|
34910664f1
|
add mi_heap_new_ and mi_heap_new_n
|
2022-11-22 14:46:23 -08:00 |
|
Daan
|
fe300ca141
|
fix extern inline definition (issue #643)
|
2022-11-22 10:58:02 -08:00 |
|
Daan Leijen
|
8834e128e8
|
improve mi_free codegen
|
2022-11-18 10:13:51 -08:00 |
|
daan
|
2479d168ad
|
decommit unused prefix of large aligned blocks
|
2022-11-07 16:41:40 -08:00 |
|
daan
|
841172bd7d
|
fix link error on windows
|
2022-11-07 14:51:07 -08:00 |
|
Daan
|
d3715132d1
|
move null ptr check
|
2022-11-06 09:52:54 -08:00 |
|
daan
|
4b91ff760d
|
initial working large alignment
|
2022-11-05 16:40:42 -07:00 |
|
daan
|
6a80fa3ac1
|
initial progress on removing alignment limit
|
2022-11-05 14:46:52 -07:00 |
|
daan
|
6e0f10dfd8
|
potential fix for link error with clang-cl (issue #631)
|
2022-11-02 10:25:46 -07:00 |
|
daan
|
698bb2cae7
|
split out _mi_page_try_use_delayed_free for contention reduction (issue #630)
|
2022-10-31 11:01:01 -07:00 |
|
daan
|
7bef5f5f5b
|
reduce contention on the delayed_free lock; see issue #630
|
2022-10-31 10:34:55 -07:00 |
|
daan
|
74117d329d
|
fix realloc memory tracking in valgrind
|
2022-10-30 19:00:54 -07:00 |
|
daan
|
05a75758dd
|
fix tests
|
2022-10-30 14:07:41 -07:00 |
|