Commit graph

2934 commits

Author SHA1 Message Date
daanx
26e4632287 merge from dev 2025-04-02 10:45:18 -07:00
daanx
5a58df6534 fix signed compare warning 2025-04-02 10:40:30 -07:00
daanx
3c3600f85f add atomic_cas_ptr_strong_acq_rel 2025-04-02 10:36:01 -07:00
daanx
235a0390ee refactor numa_node_count 2025-04-02 10:34:00 -07:00
daanx
34875aef71 fix build error on msvc/clang-cl in C mode (issue #1060) 2025-04-02 10:17:29 -07:00
daanx
32788fa93f Merge branch 'dev3' of https://github.com/microsoft/mimalloc into dev3 2025-03-31 14:46:53 -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
57a9c1656f add comment 2025-03-31 11:27:31 -07:00
daanx
78e2684cd0 Merge branch 'dev3' of https://github.com/microsoft/mimalloc into dev3 2025-03-31 11:25:58 -07:00
Daan
19339bde0a Merge branch 'dev' into dev3 2025-03-31 11:02:20 -07:00
Daan
e1110cdb9f nicer cmake logic for windows override test 2025-03-31 11:02:10 -07:00
Daan
52ae098c27 merge from dev 2025-03-31 11:01:07 -07:00
Daan
a9e9467429 make dynamic override test verbose 2025-03-31 11:00:05 -07:00
Daan
3f8bf3d258 merge from dev 2025-03-31 10:57:57 -07:00
Daan
07743454e5 fix dynamic override test on non-windows platforms 2025-03-31 10:57:16 -07:00
Daan
71b3e16171 fix invalid pointer detection in release mode (issue #1051 and #1053) 2025-03-31 10:54:12 -07:00
Daan
a73c3cc7e2 fix dynamic override test on non-windows platforms 2025-03-31 10:53:26 -07:00
Daan
88810f784d Merge branch 'dev' into dev3 2025-03-30 16:15:34 -07:00
Daan
cbab63f6c9 fix release build warning (unused mi_stat_total_print) 2025-03-30 16:15:27 -07:00
Daan
f2539bbe34 update readme 2025-03-28 15:37:11 -07:00
Daan
7d4ee62386 bump version to 3.0.4 for further development 2025-03-28 14:23:18 -07:00
Daan
a78374d816 bump version to 1.9.4 for further development 2025-03-28 14:22:02 -07:00
Daan
51c09e7b6a Merge branch 'dev' into dev3 2025-03-28 14:19:26 -07:00
Daan
8a81fc73c8 update readme 2025-03-28 14:18:28 -07:00
Daan
9228b4814a make mi_options static, rename out_buf for the debug extension 2025-03-28 13:49:14 -07:00
Daan
11cfb42fa0 Merge branch 'dev' into dev3 2025-03-28 13:39:07 -07:00
Daan
f46c1d2624 update readme 2025-03-28 13:28:10 -07:00
Daan
b843fead22 update mimalloc-redirect to v1.3.3; fix issue #1049 2025-03-28 13:11:37 -07:00
Daan
1052c30f03 fix parenthesis in #if condition 2025-03-28 13:09:24 -07:00
Daan
eb992b1d19
Merge pull request #1050 from vfazio/vfazio-mi_yield_atomic-armeb
atomic: fix mi_atomic_yield for big-endian arm32
2025-03-28 13:07:25 -07:00
Vincent Fazio
23fbee7ec6 atomic: fix mi_atomic_yield for big-endian arm32
Previously, `mi_atomic_yield` would not be defined on ARM32 big-endian
architectures if they were pre-ARMv7.

Rework the #ifdef guard to be more readable and collapse the ARM guards
so both little and big endian are handled via the same mechanism.

Now, ARMv7+ will utilize `yield` while older targets will use `nop`
regardless of endianness.

Signed-off-by: Vincent Fazio <vfazio@gmail.com>
2025-03-28 08:04:07 -05:00
daanx
d3a0bf320f Merge branch 'dev3' of https://github.com/microsoft/mimalloc into dev3 2025-03-26 17:28:27 -07:00
Daan
8da1c1b430 Merge branch 'dev' into dev3 2025-03-25 16:06:25 -07:00
Daan
632eab958b fix for atomic_yield on arm 32-bit, issue #1046 2025-03-25 16:02:29 -07:00
Daan
881d5e3c06
Merge pull request #1047 from ognevny/patch-1
cmake: don't change properties of import lib on Windows/MinGW
2025-03-25 15:43:16 -07:00
Daan
246b3bc120
Merge pull request #1045 from SquallATF/mingw-fix
remove the `lib` prefix when enabling mimalloc-redirect for mingw
2025-03-25 15:42:53 -07:00
Maksim Bondarenkov
797ca19ba9
cmake: don't change properties of import lib on Windows/MinGW
CMake handles import lib for it automatically, and using `.dll.lib` extension is MSVC-specific hack
2025-03-24 08:35:15 +03:00
Peiyuan Song
34cc5c8fd9 remove the lib prefix when enabling mimalloc-redirect for mingw 2025-03-24 09:39:42 +08:00
Daan
d5a9342c5e Merge branch 'dev' into dev3 2025-03-21 20:07:46 -07:00
Daan
26b792d93b fix aligned malloc_requested statistic 2025-03-21 20:07:16 -07:00
Daan
a15a999881 add chunk bin output to json stats 2025-03-21 19:57:23 -07:00
Daan
d5dface6fb merge from dev improved statistics 2025-03-21 19:49:02 -07:00
Daan
a077311a5e improve tracking of malloc_requested count 2025-03-21 19:40:44 -07:00
Daan
d48bafe2bb print statistics nicer 2025-03-21 19:21:41 -07:00
Daan
1fa591cc89 attempt to fix test pipeline on x86 2025-03-21 17:38:39 -07:00
Daan
05c157e22e merge from dev: reduce test size on 32-bit 2025-03-21 17:26:43 -07:00
Daan
02607f2b8d reduce test sizes for 32-bit 2025-03-21 17:22:36 -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