Commit graph

2393 commits

Author SHA1 Message Date
daanx
516e644359 rename option pagemap_commit; always commit the page map on macos (for now) 2024-12-22 16:06:49 -08:00
daanx
c5cfc92f0c small fixes 2024-12-22 14:39:57 -08:00
daanx
a42a2a926b improving level 2 page-map 2024-12-22 14:18:33 -08:00
daanx
3c7d7e1f11 experiment with 2 level pagemap 2024-12-22 14:07:57 -08:00
daanx
8d16303aa6 add -mtune=native with opt arch 2024-12-22 12:21:31 -08:00
daanx
93fa8d895a revert back to flat address map 2024-12-22 12:18:53 -08:00
daanx
c9b2d31665 fix page_map initialization 2024-12-21 23:17:11 -08:00
daanx
56cbddfc7e initial work on a two-level page-map 2024-12-21 23:08:52 -08:00
daanx
1e2221f512 fix signed/unsigned; fix heap_destroy assert failure 2024-12-21 19:28:53 -08:00
daanx
d7d626cbfa enable collecting from the full page queue 2024-12-21 16:24:56 -08:00
daanx
da17a59bdb re-add deferred free and heap retired collect 2024-12-21 15:53:50 -08:00
daanx
c138fba149 merge from dev 2024-12-21 15:49:17 -08:00
daanx
1a6fbdf0b2 merge from dev 2024-12-21 15:48:49 -08:00
daanx
7085b6cec3 limit candidate search to 4 2024-12-21 15:38:27 -08:00
daanx
825dd41769 fix build error 2024-12-21 15:29:39 -08:00
daanx
476d4699ff limit purgeing to one purge cycle per purge delay 2024-12-21 15:24:46 -08:00
daanx
108c84e858 remove req_arena parameter to arena_reserve 2024-12-21 14:45:14 -08:00
daanx
e3ebebb990 update lock primitive; fix arena exclusive allocation 2024-12-21 14:39:17 -08:00
daanx
7d46478a5f add initial load/unload for heaps 2024-12-21 13:19:06 -08:00
daanx
89b0d5a357 allocate heaps associated with an arena in that arena 2024-12-21 11:53:29 -08:00
daanx
4ad7fedd25 track os abandoned pages in a list 2024-12-21 11:35:30 -08:00
daanx
95aeda4cdd merge subproc stats on delete 2024-12-21 10:53:34 -08:00
daanx
dece8a587b make stats part of a subproc 2024-12-21 10:43:08 -08:00
daanx
daac75af36 fix lock recursion 2024-12-20 22:13:58 -08:00
daanx
a5b7d7f264 subprocesses own arena's 2024-12-20 21:38:31 -08:00
daanx
53857ddaa3 Merge branch 'dev' into dev3 2024-12-20 17:32:32 -08:00
daanx
93e14344c7 use srw lock on windows 2024-12-20 17:32:26 -08:00
daanx
7141d9f164 remove busy wait for arena reservation 2024-12-20 17:31:48 -08:00
daanx
bc459b5e16 Merge branch 'dev3' of https://github.com/microsoft/mimalloc into dev3 2024-12-20 16:46:18 -08:00
Daan Leijen
278f1ff556 merge from dev; match test-stress 2024-12-20 14:00:02 -08:00
Daan Leijen
f3d83e5fa6 insert full pages at the end of the queue; only override page candidate if the page is not too full 2024-12-20 13:55:31 -08:00
daanx
efa82e1c7d Merge branch 'dev3' of https://github.com/microsoft/mimalloc into dev3 2024-12-20 13:10:16 -08:00
Daan Leijen
7822438561 merge from dev 2024-12-20 13:06:46 -08:00
Daan Leijen
df82338d8a don't override a page candidate with a page that is too full 2024-12-20 13:04:30 -08:00
Daan Leijen
f6408235f7 merge from dev 2024-12-20 13:01:00 -08:00
Daan Leijen
26eaa1f4e2 fix cmake to generate mimalloc.dll on windows 2024-12-20 12:52:58 -08:00
Daan Leijen
4ed44f9621 update readme to use mimalloc.dll (instead of mimalloc-override.dll) 2024-12-20 12:52:34 -08:00
Daan Leijen
4b7313914e add updated minject v1.2 that defaults to mimalloc.dll instead of mimalloc-override.dll 2024-12-20 12:52:00 -08:00
Daan Leijen
f8a253e6e8 update IDE settings to match cmake output; in particular mimalloc-override.dll -> mimalloc.dll 2024-12-20 12:51:13 -08:00
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
de8001c107 add specialized is_set for 1 bit 2024-12-19 19:18:04 -08:00
daanx
8dd605099b fix arm64ec asm 2024-12-19 15:29:40 -08:00
Daan Leijen
7456d22fe3 add link for VS generator 2024-12-19 14:22:10 -08:00
Daan Leijen
3a9c402e51 update readme for cmake on windows 2024-12-19 14:18:16 -08:00
Daan Leijen
b51c0974d3 fix cmake for visual studio on arm64 2024-12-19 14:00:54 -08:00
Daan Leijen
2876b8c0c5 update redirection readme 2024-12-19 11:42:38 -08:00
Daan Leijen
0c6235e129 add _base test for redirection 2024-12-19 11:37:42 -08:00
Daan Leijen
c409928f5e Merge branch 'dev' of d:\dev\mimalloc3 into dev 2024-12-19 11:12:44 -08:00
Daan Leijen
130227e399 update redirection modules to v1.3 2024-12-19 11:10:17 -08:00