Commit graph

2989 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
df3e191620 make windows fixed TLS opt-in 2025-05-13 16:38:53 -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
72f05e2f07 fix guarded sample rate of 1 (issue #1085) 2025-05-13 15:58:45 -07:00
daanx
a6ecb5c299 fix format specifier (for alpine linux x86, issue #1086) 2025-05-13 15:35:29 -07:00
daanx
341149391f fix include of prctl.h on alpine linux x86 2025-05-13 15:33:29 -07:00
daanx
0184a86eaf add alpine x86 docker file 2025-05-13 15:32:11 -07:00
daanx
ad0764272a potential fix for low address allocations, issue #1087 2025-05-13 14:41:40 -07:00
daanx
a92f86dc73 add page_cross_thread_max_reclaim option 2025-05-13 14:12:22 -07:00
daanx
3ef6784455 destroy the page map as well if MIMALLOC_DESTROY_ON_EXIT is set; see issue #1041 2025-05-12 22:05:15 -07:00
Daan Leijen
36e1cbfdbc change default page_reclaim_max and change reclamation test to potentially address perf regresion in mimalloc v3 with respect to v2 -- see also https://github.com/leanprover/lean4/pull/7786 2025-05-12 18:02:42 -07:00
daanx
f788746143 Merge branch 'dev3' of https://github.com/microsoft/mimalloc into dev3 2025-05-07 22:42:24 -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
Daan
e2d7c24c73 add fixed TLS slot test to pipeline on Windows 2025-05-04 22:17:59 -07:00
daanx
303b196d40 fix MI_WIN_USE_FIXED_TLS conditions 2025-05-04 22:09:56 -07:00
daanx
6bf8a8c4ae Merge branch 'dev' into dev3 2025-05-04 22:03:19 -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
08d91e2101 Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev 2025-05-04 21:41:41 -07:00
Daan
63b0989df5 revert use of selectany for msvc (issue #1078) 2025-05-04 21:41:26 -07:00
daanx
846bb85634 Merge branch 'dev3' of https://github.com/microsoft/mimalloc into dev3 2025-05-04 20:12:19 -07:00
daanx
a74eed4f33 Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev 2025-05-04 20:12:09 -07:00
Daan
ccaa4a1de9 merge from dev 2025-05-04 19:55:35 -07:00
daanx
9c24c428cb add more decl_hidden specifiers on extern variables to improve access on arm64 2025-05-04 19:51:13 -07:00
daanx
9194362e48 improve TLS access on Windows with msvc (by Frank Richter, issue #1078) 2025-05-04 19:51:13 -07:00
daanx
f4d54c60e3 merge from dev 2025-05-04 09:15:57 -07:00
daanx
f989a1cbb9 add more decl_hidden specifiers on extern variables to improve access on arm64 2025-05-04 09:10:38 -07:00
daanx
e4c5d09d65 improve TLS access on Windows with msvc (by Frank Richter, issue #1078) 2025-05-04 09:04:57 -07:00
Daan
ab056e83b8 merge from dev 2025-05-02 16:36:18 -07:00
Daan
a080e3263a Merge remote-tracking branch 'T9/dev' into dev 2025-05-02 16:34:51 -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
2c34250f43 extend override test on windows 2025-05-02 08:55:16 -07:00
daanx
6bfb1c656c allow size==0 for mi_prim_free (issue #1041) 2025-05-02 08:40:21 -07:00
Daan
3c3d16fe48 fix mi_ctz/clz/bsf/bsr to avoid msvc compilation bug (issue #1071, pr #1081) 2025-05-02 08:14:36 -07:00
Daan
aad0bc2ae3 fix cast on msvc 2025-05-02 08:09:40 -07:00
Daan
61f3ffd2a6 Merge branch 'dev' into dev3 2025-04-13 19:57:28 -07:00
Daan
fae61ed946 fix assertion in mi_free_size (issue #754) 2025-04-13 19:56:49 -07:00
Daan
3bc90fbd71 Merge branch 'dev' into dev3 2025-04-13 19:52:45 -07:00
Daan
a5298dd48f Merge remote-tracking branch 'refs/remotes/origin/dev' into dev 2025-04-13 19:50:59 -07:00
Daan
7543e8989a validate pointer before assertion in mi_free_size (issue #754) 2025-04-13 19:49:47 -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