Commit graph

160 commits

Author SHA1 Message Date
Daan
bc18e9456e Merge branch 'dev' into dev3 2025-05-13 17:46:10 -07:00
Daan
15c917ef15 fix syntax error 2025-05-13 17:45:10 -07:00
Daan
9864428349 merge from dev 2025-05-13 17:43:48 -07:00
daanx
41cc1bfe51 add guarded TLS test for Windows fixed TLS 2025-05-13 17:38:16 -07:00
Daan
251d40945b Merge branch 'dev' into dev3 2025-05-13 16:22:31 -07:00
Daan
0ae310327f fix debug assertion for windows TLS 2025-05-13 16:22:08 -07:00
Daan
21378d6d8a merge from dev 2025-05-13 16:13:34 -07:00
daanx
341149391f fix include of prctl.h on alpine linux x86 2025-05-13 15:33:29 -07:00
daanx
c84d996e88 fix TLS initialization for MI_WIN_USE_FIXED_TLS with redirection 2025-05-05 10:23:52 -07:00
Daan
1aa832873b Merge branch 'dev' into dev3 2025-05-04 22:19:46 -07:00
daanx
303b196d40 fix MI_WIN_USE_FIXED_TLS conditions 2025-05-04 22:09:56 -07:00
daanx
52b75693c4 use TlsAlloc with a dynamic offset for MI_WIN_USE_FIXED_TLS by default (issue #1078) 2025-05-04 22:03:10 -07:00
daanx
90da648b08 merge from dev 2025-05-02 16:28:57 -07:00
daanx
417e8176bd add unix large page size constant and adjust aligment to the large page size for large allocations 2025-05-02 16:27:00 -07:00
daanx
87bbcb6266 fix use of mi_bsr 2025-05-02 16:22:59 -07:00
daanx
f3e92b1edd Use second user TLS slot to avoid using reserved fields in the TEB (issue #1078) 2025-05-02 16:12:20 -07:00
daanx
6bfb1c656c allow size==0 for mi_prim_free (issue #1041) 2025-05-02 08:40:21 -07:00
Daan
ccda6b576e Merge branch 'dev' into dev3 2025-04-08 13:57:17 -07:00
Daan
951538d469 fix prctl.h includes for alpine linux/musl (hopefully fixes #1065, #1066, #1067) 2025-04-08 13:56:31 -07:00
Daan
14220b7052 Merge branch 'dev' into dev3 2025-03-31 14:45:17 -07:00
Daan
77b622511a fix alpine compilation with prctl.h (issue #1059) 2025-03-31 14:44:46 -07:00
Daan
8fd106a17a Merge branch 'dev' into dev3 2025-03-21 16:57:46 -07:00
Daan
6ed451c555 fix linux compile by including linux/prctl.h 2025-03-21 16:48:50 -07:00
Daan
01ee3568c1 name anonymous mmap address ranges for debugging on Linux (based on PR #1032 by @zhuker) 2025-03-21 16:19:54 -07:00
Daan Leijen
ccc65d2fd9 fix msvc compilation in C mode 2025-03-10 12:37:42 -07:00
Daan
7f297293e7 merge from dev 2025-03-06 20:44:08 -08:00
Daan
783c3ba486 improve QNX support 2025-03-06 20:40:52 -08:00
Timothy Kielan
c8880e1ba0
support building for QNX 2025-02-21 15:16:22 +01:00
Daan
7e611f7545 merge from dev 2025-02-18 16:04:50 -08:00
Daan
566ab5038b do not use syscall on android (issue #1015) 2025-02-18 16:02:52 -08:00
daanx
d9439a7e39 merge from dev 2025-02-11 14:47:20 -08:00
daanx
ece1defe5b parameter of clz/ctz is size_t 2025-02-11 14:35:21 -08:00
daanx
f905c14f09 Merge branch 'dev' into dev3 2025-02-11 09:22:37 -08:00
daanx
d3897635ad fix compilation warning 2025-02-11 09:22:31 -08:00
daanx
02b97b6891 merge from dev 2025-02-11 09:21:48 -08:00
daanx
0c8069adab use physical memory in kib to avoid overflow of size_t (issue #1010) 2025-02-11 09:18:23 -08:00
daanx
ec4aa62b65 use physical memory in kib to avoid overflow of size_t (issue #1010) 2025-02-11 09:12:29 -08:00
daanx
4d1b0f0dbb Merge branch 'dev' into dev3 2025-02-08 12:52:15 -08:00
Daan Leijen
5f9b42685e remove declspec(dllexport) from DllMain on Windows (issue #1008) 2025-02-08 12:51:06 -08:00
Daan Leijen
c7f7c23dc1 make C compatible 2025-02-08 12:43:00 -08:00
Sergey Markelov
9053cf0cd2 prim: fix dev3 UWP build (#1005) 2025-02-07 12:35:59 -07:00
Daan
3d767ebef6 use regular free in zone_free on macos 2025-02-05 21:20:44 -08:00
Daan
3a4ef00960 Merge branch 'dev' into dev3 2025-01-31 10:38:55 -08:00
Daan
90b7a694eb syntax error fix (#992) 2025-01-22 12:29:41 -08:00
Daan
5e71dfc336 check dynamically for getPhysicallyInstalledSystemMemory on windows (issue #992) 2025-01-22 12:03:58 -08:00
Daan
7b8a710774 windows on arm threadpool detect 2025-01-16 14:00:42 -08:00
daanx
d9065115cd fix netBSD compilation (issue #988) 2025-01-13 14:49:06 -08:00
daanx
3fd47e7541 merge from dev 2025-01-10 10:52:14 -08:00
daanx
4fcf56af2e use consistent naming on Windows vs other platforms. Use mimalloc.dll.lib for the dll import library to avoid a clash with the static mimalloc.lib library 2025-01-09 20:57:08 -08:00
daanx
d7c273e5cd merge from dev 2025-01-06 12:11:06 -08:00