Commit graph

2672 commits

Author SHA1 Message Date
Daan
53917d45ab merge from dev 2025-02-08 12:20:24 -08:00
Daan
069279e3e7 improve cmake for multi-arch binaries on apple 2025-02-08 12:18:27 -08:00
Daan
4e366c4320 support mixed architecture binaries on apple 2025-02-08 12:16:19 -08:00
Daan
0e9159e0bf add comment 2025-02-08 12:06:39 -08:00
Daan
cb2719cdb8
Merge pull request #999 from jbatez/dev
support MI_OPT_ARCH when targeting multiple CMAKE_OSX_ARCHITECTURES
2025-02-08 11:46:07 -08:00
Daan
152804bb9f
Merge pull request #1006 from sergio-nsk/sergio-nsk/uwp/1
prim: fix dev3 UWP build (#1005)
2025-02-08 11:42:21 -08:00
Sergey Markelov
9053cf0cd2 prim: fix dev3 UWP build (#1005) 2025-02-07 12:35:59 -07:00
Daan
64aaf9d88f fix performance bug in mi_bchunk_try_find _and_clearNX 2025-02-06 17:08:06 -08:00
daanx
4c562f392a allow page reclaim on free to the originating heap also within a threadpool 2025-02-06 11:53:22 -08:00
Daan
3d767ebef6 use regular free in zone_free on macos 2025-02-05 21:20:44 -08:00
Daan
515047b676 improve free on macos 2025-02-05 20:55:21 -08:00
daanx
1657bfb453 clarify control flow and comments in page reclaim_on_free 2025-02-05 16:01:45 -08:00
daanx
5aa679cdee make page_reclaim_on_free 0 by default; but allow reclaim_on_free if the page was originally in this heap (just as in v2 with the full queue) 2025-02-05 15:41:37 -08:00
daanx
5fbba3f20c fix sign of comparison 2025-02-05 14:27:36 -08:00
daanx
27895ce35d fix guard page size calculation in secure mode 2025-02-05 14:25:36 -08:00
daanx
1e0801dcea call page_free_collect less often from a page search 2025-02-05 14:04:11 -08:00
Daan Leijen
8fc8da5d81 use thread local stats for abandoned statistics to reduce contention 2025-02-04 17:54:49 -08:00
Daan Leijen
b0c8d86c41 refactor mi_free_try_collect_mt 2025-02-04 15:03:27 -08:00
Daan Leijen
db7930f961 avoid atomics in mi_free_try_collect_mt 2025-02-04 14:58:08 -08:00
Daan Leijen
59eeeadc34 only allow page_reclaim_on_free for small block pages 2025-02-04 12:26:21 -08:00
Jo Bates
eb0081382b support MI_OPT_ARCH when targeting multiple CMAKE_OSX_ARCHITECTURES 2025-02-01 17:04:46 -08:00
Daan
11f0c9d209 Merge branch 'dev3' of /Volumes/T9/dev/mimalloc into dev3 2025-01-31 13:34:45 -08:00
Daan
d55fde1189 change defaults in test-stress 2025-01-31 13:34:16 -08:00
Daan Leijen
274bcb61db update option names 2025-01-31 12:11:25 -08:00
daanx
dd4b6fc078 update options 2025-01-31 11:54:51 -08:00
daanx
7fcdb25afb Merge branch 'dev3' of https://github.com/microsoft/mimalloc into dev3 2025-01-31 10:45:28 -08:00
Daan
3a4ef00960 Merge branch 'dev' into dev3 2025-01-31 10:38:55 -08:00
daanx
b783708d37 Merge branch 'dev3' of https://github.com/microsoft/mimalloc into dev3 2025-01-22 12:46:15 -08:00
Daan
90b7a694eb syntax error fix (#992) 2025-01-22 12:29:41 -08:00
daanx
a7370dcbd2 fix highest allocated page for arena unload 2025-01-22 12:25:02 -08:00
Daan
5e71dfc336 check dynamically for getPhysicallyInstalledSystemMemory on windows (issue #992) 2025-01-22 12:03:58 -08:00
Daan
7703d14e8c redefine abandoned mapped as a special thread id 2025-01-22 11:21:22 -08:00
Daan
5946e9cebf fix assert 2025-01-21 20:58:45 -08:00
Daan
570b6b5a7a slightly better bsf 2025-01-21 20:53:16 -08:00
Daan
3f6d286a08 fix bug in page flag set that would keep pages abandoned 2025-01-21 20:38:02 -08:00
Daan
6137ae4ab8 fix page_flags 2025-01-21 20:12:13 -08:00
Daan
899fd7694b fix unused function warnings; unregister pages 2025-01-21 19:28:43 -08:00
Daan
7b8a710774 windows on arm threadpool detect 2025-01-16 14:00:42 -08:00
Daan
efbd3e5de8 Merge branch 'dev' into dev3 2025-01-16 13:07:17 -08:00
daanx
14b4f674fa nicer figure 2025-01-15 12:33:11 -08:00
daanx
1568cb43f8 Merge branch 'dev' into dev3 2025-01-15 12:31:47 -08:00
daanx
2bc52557c5 add figure to readme for mimalloc-redirect 2025-01-15 12:31:35 -08:00
daanx
d609435fde Merge branch 'dev' into dev3 2025-01-15 12:12:30 -08:00
daanx
4a14c69554 disable using vcpkg in the VS projects 2025-01-15 12:11:52 -08:00
daanx
5af1eb1144 fix NULL pointer in _mi_safe_ptr_page to return a reference to the empty page 2025-01-15 12:07:06 -08:00
daanx
be2cb44de4 fix NULL pointer in _mi_safe_ptr_page to return a reference to the empty page 2025-01-15 12:02:34 -08:00
daanx
bc10fe27c6 fix unregister from the page-map 2025-01-15 11:37:20 -08:00
Daan
e4befd1ce8 vcpkg: bump sha 2025-01-13 17:02:02 -08:00
Daan
6a89f8554e Merge branch 'dev' into dev3 2025-01-13 17:00:02 -08:00
Daan
97c304dc39 vcpkg: bump sha 2025-01-13 16:59:24 -08:00