Commit graph

2344 commits

Author SHA1 Message Date
Daan Leijen
5614c5052e don't prefer high used candidate if it is too full 2024-12-20 11:56:04 -08:00
Daan Leijen
2db407d1e9 revert back to generating mimalloc.dll instead of mimalloc-override.dll 2024-12-20 11:54:39 -08:00
daanx
b18e1546a7 merge from dev 2024-12-18 15:59:33 -08:00
daanx
61a112cde5 fix MI_ARCH test 2024-12-18 14:45:44 -08:00
daanx
69d2b4e991 add comments/doc 2024-12-18 14:41:20 -08:00
daanx
515ae84174 syntax error 2024-12-18 14:35:10 -08:00
daanx
636d646b9c update arch detection in cmake 2024-12-18 14:20:49 -08:00
daanx
264d5a6704 update stat adjustment for purging 2024-12-17 19:13:03 -08:00
Daan Leijen
58b726be6f better stats for commit on overcommit systems (by not counting on-demand commit upfront) 2024-12-17 18:57:00 -08:00
daanx
84bb1c2712 adjust stats more clearly to avoid double counting commits 2024-12-17 18:10:28 -08:00
daanx
21c05019b7 Merge branch 'dev' into dev3 2024-12-17 17:54:24 -08:00
daanx
617190880d add ajust stats to compensate for double counting 2024-12-17 17:53:34 -08:00
daanx
c2e0aa49c4 update minject to v1.1 2024-12-17 16:07:18 -08:00
daanx
34d03f3981 atomically clear purge bits when visiting 2024-12-17 12:32:18 -08:00
daanx
c585753dce fix purging with ranges 2024-12-17 11:54:26 -08:00
daanx
adfeb1f6f2 fix bug in bitmap_forall_ranges 2024-12-17 10:43:31 -08:00
daanx
fdad1a0d4f fix infoslices needed calculation 2024-12-17 09:49:09 -08:00
Daan Leijen
df593a3ec1 make timeout for tests in the pipeline up to 4 min 2024-12-17 00:35:28 -08:00
Daan Leijen
63d0c8f861 merge from dev 2024-12-17 00:14:03 -08:00
Daan Leijen
ac52b6967d update arm64 redirection 2024-12-17 00:06:03 -08:00
Daan Leijen
6ac636e2e2 update readme 2024-12-16 23:22:52 -08:00
Daan Leijen
3feb0d6cea add Windows arm64 support in cmame; name the mimalloc dll 'mimalloc-override.dll' on Windows with cmake (to match the IDE and minject 2024-12-16 23:09:50 -08:00
Daan Leijen
de8d73d208 add minject for windows arm64 2024-12-16 22:53:52 -08:00
Daan Leijen
b47c68fefd add redirection dll for windows on arm64 2024-12-16 22:53:23 -08:00
Daan Leijen
d5e1a62a7c add windows arm64 target to vs2022 2024-12-16 22:51:30 -08:00
daanx
3153e5a4c5 small fixes 2024-12-15 13:47:33 -08:00
daanx
13ee94cef6 fix concurrent mi_tld access bug 2024-12-15 13:22:00 -08:00
daanx
4aeb2e1005 flexible clearN_ that can start at any index 2024-12-15 13:21:13 -08:00
daanx
b5dfd233e9 fix avx2 bug with atomics 2024-12-13 19:59:08 -08:00
daanx
216c04f8d9 clean up bitmap api 2024-12-13 18:39:03 -08:00
daanx
4c81c3cf90 enable purging of free committed slices from arenas 2024-12-13 13:17:00 -08:00
daanx
42af184ce9 wip: start on purge 2024-12-13 09:04:23 -08:00
daanx
ba39e4d65b wip: start on purge 2024-12-13 09:03:17 -08:00
Daan
3010d5890f fix assertion 2024-12-12 20:27:46 -08:00
daanx
e43eb1f191 nicer debug output 2024-12-12 20:22:24 -08:00
daanx
b53ac835f1 comment 2024-12-12 20:01:37 -08:00
daanx
623eaedf33 add debug output for page map; free tld on thread exit 2024-12-12 19:59:54 -08:00
daanx
637de624b3 fix free bug for meta data 2024-12-12 19:55:45 -08:00
daanx
d5c4a16e58 lower full page retain more aggressively in a threadpool 2024-12-12 17:57:36 -08:00
daanx
df956c4a17 use thread spacing for reclaim as well 2024-12-12 17:22:41 -08:00
daanx
98879ac8bc use thread spacing for reclaim as well 2024-12-12 17:22:00 -08:00
daanx
118bd8c97f space out threads when searching for free pages 2024-12-12 16:37:31 -08:00
daanx
94ce342ea9 maintain pages set for arenas; improve arena load/unload 2024-12-11 22:06:25 -08:00
daanx
aed76f2910 wip: allow arena (re)loading 2024-12-11 20:34:23 -08:00
daanx
ccf5e36e6b use frac 8 for reclaim_on_free and reabandon; halve full_page_retain if running in a threadpool 2024-12-11 16:26:39 -08:00
daanx
1c8d15abac fix build error 2024-12-11 14:30:44 -08:00
daanx
ab53a73cbd small updates 2024-12-11 14:29:06 -08:00
daanx
565656919e fix comments in types; fix guarded alignment bug 2024-12-11 13:04:37 -08:00
daanx
64eea823e4 use always abandon on heap delete 2024-12-11 09:24:38 -08:00
daanx
91215a5512 ensure incompatible heaps are not absorbed 2024-12-11 09:20:34 -08:00