Commit graph

3270 commits

Author SHA1 Message Date
Daan
af21001f7a clarify to use as the PR branch 2025-04-02 12:17:45 -07:00
Daan
9f5a2969b8 clarify v3 tag 2025-04-02 12:08:26 -07:00
Daan
13cd3f7f05 Merge branch 'dev2' 2025-03-28 14:20:20 -07:00
Daan
94036de6fe Merge branch 'dev' into dev2 2025-03-28 14:19:07 -07:00
Daan
8a81fc73c8 update readme 2025-03-28 14:18:28 -07:00
Daan
401a043849 Merge branch 'dev' into dev2 2025-03-28 13:28:16 -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
Daan
e1da869d9b Merge branch 'dev' into dev2 2025-03-25 16:06:14 -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
9155fe98f1 Merge branch 'dev' into dev2 2025-03-21 20:07:29 -07:00
Daan
26b792d93b fix aligned malloc_requested statistic 2025-03-21 20:07:16 -07:00
Daan
ea2c7c6e56 merge from dev statistics update 2025-03-21 19:43:26 -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
02607f2b8d reduce test sizes for 32-bit 2025-03-21 17:22:36 -07:00
Daan
1463ead070 Merge branch 'dev' into dev2 2025-03-21 16:57:34 -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
fdde679de1
Merge pull request #1040 from jbatez/dev
support MI_OPT_ARCH when using CMAKE_OSX_ARCHITECTURES with non-Apple Clang
2025-03-21 16:01:37 -07:00
Jo Bates
cf08c27d2b support MI_OPT_ARCH when using CMAKE_OSX_ARCHITECTURES with non-Apple Clang 2025-03-20 11:24:59 -07:00
Daan
891f9f4cf6 fix conflict marker (issue #1038) 2025-03-19 20:38:19 -07:00
Daan
e46877a5e1 merge from dev 2025-03-19 20:34:34 -07:00
Daan
660d749d77 do not default to MI_DEBUG=2 in release mode builds even when NDEBUG is not defined by defininig MI_BUILD_RELEASE (issue #1037) 2025-03-19 20:29:29 -07:00
Daan
7eafaa9685 fix visibility warning (issue #1031) 2025-03-19 20:22:02 -07:00
Daan
b2dcab58f7 fix assertion failure (issue #1031) 2025-03-19 20:20:36 -07:00
Daan
acba60a248 Merge branch 'dev' into dev2 2025-03-19 19:17:03 -07:00
Daan
afbc581f8d add Windows x86 to the build pipeline 2025-03-19 19:16:10 -07:00
Daan
1aa88e0d9a try to fix pipeline trigger 2025-03-19 19:11:38 -07:00
Daan
c49c8acfda Merge branch 'dev' into dev2 2025-03-19 19:06:28 -07:00
Daan
47bf3a5b1b potential fix for sporadic assertion failure on random returning 0 (issue #1039) 2025-03-19 19:06:21 -07:00
Daan
992ebd4eae Merge branch 'dev' into dev2 2025-03-19 18:50:59 -07:00
Daan
26fa8be427 improved accounting of committed bytes (issue #1035) 2025-03-19 18:50:53 -07:00
Daan
6e5ed1ea67 Merge branch 'dev' into dev2 2025-03-19 16:12:23 -07:00
Daan
9a35bca556 possible fix for wrong accounting of committed bytes (issue #1035) 2025-03-19 16:12:17 -07:00
Daan
3d6065f987 merge from dev 2025-03-10 14:21:50 -07:00
Daan Leijen
f11732acdf set default compilation to c++ mode on msvc 2025-03-10 12:39:09 -07:00
daanx
4aae566191 fix link error with msvc in C mode (issue #1030) 2025-03-10 12:17:46 -07:00
Daan
2b895f4e97 bump version to 2.2.3 for further development 2025-03-06 21:04:32 -08:00
Daan
2fc6b14bab bump version to 1.9.3 for further development 2025-03-06 21:03:51 -08:00
Daan
e112300059 Merge branch 'master' of https://github.com/microsoft/mimalloc 2025-03-06 20:59:26 -08:00
Daan
a62932135a merge from dev2: v2.2.2 2025-03-06 20:59:12 -08:00
Daan
f81bf1b31a Merge branch 'dev' into dev2 2025-03-06 20:56:33 -08:00