Commit graph

2909 commits

Author SHA1 Message Date
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
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
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
9a8aa8fcc9 merge from dev 2025-03-19 20:35:44 -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
939b7b1ffb Merge branch 'dev' into dev3 2025-03-19 19:17:14 -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
fd170c4964 Merge branch 'dev' into dev3 2025-03-19 19:09:07 -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
40b666a0b6 merge from dev 2025-03-19 18:56:55 -07:00
Daan
26fa8be427 improved accounting of committed bytes (issue #1035) 2025-03-19 18:50:53 -07:00
Daan
9a35bca556 possible fix for wrong accounting of committed bytes (issue #1035) 2025-03-19 16:12:17 -07:00
Daan
15f2a9c729 move option_desc_t to internal.h for debugging 2025-03-14 12:55:03 -07:00
Daan
3a58605046 disable page_commit_on_demand by default 2025-03-14 11:09:56 -07:00
Daan
bb9f3e3b43 move statistics api into internal.h 2025-03-14 10:33:18 -07:00
Daan
f735e6e6b5 move arena_t definition to types.h 2025-03-14 10:22:08 -07:00
Daan
a0a22d954b rename cbin to chunkbin 2025-03-14 09:57:52 -07:00
Daan
265af0c90e add mi_stats_get_bin_size and chunk counters 2025-03-14 09:52:40 -07:00
Daan
22b879fde1 merge from dev3 2025-03-10 18:15:26 -07:00
daanx
d1d01deea7 add support for custom commit in arena loading 2025-03-10 18:11:27 -07:00
Daan
0d068797b6 fix prototype 2025-03-10 16:33:58 -07:00