Daan
71b3e16171
fix invalid pointer detection in release mode (issue #1051 and #1053 )
2025-03-31 10:54:12 -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
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
1052c30f03
fix parenthesis in #if condition
2025-03-28 13:09:24 -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
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
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
26fa8be427
improved accounting of committed bytes (issue #1035 )
2025-03-19 18:50:53 -07:00
Daan
15f2a9c729
move option_desc_t to internal.h for debugging
2025-03-14 12:55:03 -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
daanx
d1d01deea7
add support for custom commit in arena loading
2025-03-10 18:11:27 -07:00
daanx
d41f7267d1
add mi_arena_min_alignment
2025-03-10 16:29:37 -07:00
Daan Leijen
992a1ca820
allow smaller and larger default arena slice sizes
2025-03-10 13:26:52 -07:00
Daan Leijen
ccc65d2fd9
fix msvc compilation in C mode
2025-03-10 12:37:42 -07:00
daanx
2383b72ef7
merge from dev
2025-03-10 12:18:39 -07:00
daanx
4aae566191
fix link error with msvc in C mode (issue #1030 )
2025-03-10 12:17:46 -07:00
Daan
18124909a3
bump version to 3.0.3 for further development
2025-03-06 21:05:21 -08:00
Daan
2fc6b14bab
bump version to 1.9.3 for further development
2025-03-06 21:03:51 -08:00
Daan
38b5087cb9
merge from dev
2025-03-06 20:34:20 -08:00
Daan
9eac969ea5
improve atomic stat merging
2025-03-06 20:14:33 -08:00
Daan
907a59cd8e
Merge branch 'dev' into dev3
2025-03-06 19:52:39 -08:00
Daan
71c61c4b91
fix multi-threaded access in stats merging
2025-03-06 19:52:06 -08:00
daanx
d9580f3bfb
update popcnt to be more efficient on x64 even without MI_OPT_ARCH=ON
2025-03-06 18:54:04 -08:00
daanx
119f2eff6c
use int for numa node count
2025-03-05 09:51:40 -08:00
Daan Leijen
c18a5537dc
reduce medium page block size to 64k to reducemem usage
2025-03-03 20:50:21 -08:00
Daan
c1cbe71836
add numa-affine allocation, and per-heap numa affinity
2025-03-03 18:08:57 -08:00
Daan
30dfe97f5b
merge from dev
2025-03-03 16:28:43 -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 Leijen
a447a1a297
merge from dev
2025-03-02 17:16:28 -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
6e0af52c95
merge new statistics from dev
2025-03-02 16:08:50 -08:00
Daan Leijen
c910750bbe
fix mi_stat_get_json signature
2025-03-02 15:39:08 -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
ec92690117
merge from dev; lean stats
2025-03-01 17:35:34 -08:00
Daan Leijen
56aba086ea
remove superfluous stat fields (count and freed)
2025-03-01 16:52:48 -08:00
Daan Leijen
bdaeb1d469
remove stat_adjust
2025-03-01 16:29:28 -08:00
daanx
951a6642ae
merge from dev
2025-02-28 17:37:06 -08:00
daanx
5f6ebb70fa
add mi_options_print and mi_arenas_print
2025-02-28 17:30:41 -08:00
daanx
6fce7b90a4
reduce object class sizes (/8), add max reclaim queue size
2025-02-28 16:51:59 -08:00