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
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
26b792d93b
fix aligned malloc_requested statistic
2025-03-21 20:07:16 -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
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
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
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
47bf3a5b1b
potential fix for sporadic assertion failure on random returning 0 (issue #1039 )
2025-03-19 19:06:21 -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 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
2fc6b14bab
bump version to 1.9.3 for further development
2025-03-06 21:03:51 -08:00
Daan
21f6edf9c6
update readme
2025-03-06 20:54:44 -08:00
Daan
783c3ba486
improve QNX support
2025-03-06 20:40:52 -08:00
Daan
97d440b51d
Merge pull request #1019 from tkielan/dev
...
support building for QNX
2025-03-06 20:35:11 -08:00
Daan
9eac969ea5
improve atomic stat merging
2025-03-06 20:14:33 -08:00
Daan
a085c30555
update readme
2025-03-06 19:59:37 -08:00
Daan
71c61c4b91
fix multi-threaded access in stats merging
2025-03-06 19:52:06 -08:00
Daan
0f60b12769
prepare readme for new release
2025-03-06 19:40:40 -08:00
Daan
e1fde6b5ce
update vcpkg file
2025-03-06 19:21:30 -08:00
Daan
7d6304347e
revert back to _WIN32_WINNT=x0600 as we dynamically check for GetPhysicalInstalledMemory now (issue #976 )
2025-03-06 19:09:51 -08:00
daanx
8f40bed086
fix erms detection
2025-03-05 15:48:57 -08:00
Daan Leijen
5c6ab532d9
make MI_OPT_ARCH by default OFF except for arm64 where we assume v8.1-a for fast atomics
2025-03-05 15:37:37 -08:00
Daan
438903421a
fix verbosity condition for printing options
2025-03-05 09:57:51 -08:00
Daan
db831d4cf4
make mi_options_print, mi_arenas_print, and mi_stats_print independent of the vebosity setting
2025-03-03 16:23:28 -08:00
Daan
b54a7d836c
fix compilation error with MI_GUARDED
2025-03-02 17:41:13 -08:00
Daan Leijen
58d13f6a4f
collect every N generic calls
2025-03-02 17:06:25 -08:00
Daan Leijen
4f1edad4fe
add arena_purges stat
2025-03-02 16:36:16 -08:00
Daan Leijen
c910750bbe
fix mi_stat_get_json signature
2025-03-02 15:39:08 -08:00
Daan Leijen
b319156c4f
fix test stress
2025-03-02 15:35:35 -08:00
Daan Leijen
5b685ef183
fix test stress
2025-03-02 15:35:12 -08:00
Daan Leijen
09ad6d2819
initial statistics api
2025-03-02 15:34:37 -08:00
Daan Leijen
1b749ea7d8
clean up statistics
2025-03-01 20:51:44 -08:00
Daan Leijen
bc5f636c5e
nicer stats
2025-03-01 19:46:01 -08:00
daanx
4d727ee6e6
avoid pthread allocation size in mstress bench
2025-03-01 18:30:24 -08:00