Daan
73d7163e3a
bump version to v2.2.5 for further development
2025-06-09 20:04:06 -07:00
Daan
cfff6bfd47
bump version to v1.9.5 for further development
2025-06-09 20:01:28 -07:00
Daan
4087acb85a
Merge branch 'dev' into dev2
2025-06-07 10:25:06 -07:00
Daan Leijen
c1249a4b15
do not automatically call mi_process_done if mi_option_destroy_on_exit > 1
2025-06-07 10:12:53 -07:00
Daan Leijen
e7cbbbfb14
add mi_process_done to the api
2025-06-07 09:51:35 -07:00
Daan
f35b4f4460
Merge branch 'dev' into dev2
2025-06-06 21:09:57 -07:00
Daan
2f0540c4f9
add _mi_os_zalloc
2025-06-06 20:50:50 -07:00
Daan
98c2bd2a3d
Merge branch 'dev' into dev2
2025-06-06 18:05:41 -07:00
Daan
d389819cc9
add initial support for _mi_prim_reuse and MADV_FREE_REUSABLE on macOS (issue #1097 )
2025-06-06 17:59:46 -07:00
Daan
8b761008ce
merge from dev
2025-06-06 15:26:44 -07:00
Daan
21425bc334
check all os_commit calls and return NULL on failure
2025-06-06 15:13:43 -07:00
daanx
e19c022238
define mi_decl_align separate from mi_decl_cache_align
2025-05-30 09:36:38 -07:00
daanx
715acc0329
mark assert_fail as cold and noreturn; move assert to internal.h (see issue #1091 , and python/cpython#134586 )
2025-05-30 09:29:35 -07:00
daanx
84c9cddb70
Merge branch 'dev' into dev2
2025-05-28 08:38:01 -07:00
daanx
3e32b4c385
fix OS allocation size tracking in the memid
2025-05-28 08:37:34 -07:00
Daan
cf7fa1cf65
merge from dev
2025-05-21 15:07:22 -07:00
Daan
08c33768a5
fix stats for pages and page_bins
2025-05-21 11:09:34 -07:00
Daan
45d984d5d2
Merge branch 'dev' into dev2
2025-05-13 17:43:54 -07:00
daanx
41cc1bfe51
add guarded TLS test for Windows fixed TLS
2025-05-13 17:38:16 -07:00
Daan
df3e191620
make windows fixed TLS opt-in
2025-05-13 16:38:53 -07:00
Daan
d87bcd0027
Merge branch 'dev' into dev2
2025-05-13 16:07:04 -07:00
daanx
72f05e2f07
fix guarded sample rate of 1 (issue #1085 )
2025-05-13 15:58:45 -07:00
daanx
c84d996e88
fix TLS initialization for MI_WIN_USE_FIXED_TLS with redirection
2025-05-05 10:23:52 -07:00
Daan
c3e45a579f
Merge branch 'dev' into dev2
2025-05-04 22:19:32 -07:00
daanx
52b75693c4
use TlsAlloc with a dynamic offset for MI_WIN_USE_FIXED_TLS by default (issue #1078 )
2025-05-04 22:03:10 -07:00
Daan
63b0989df5
revert use of selectany for msvc (issue #1078 )
2025-05-04 21:41:26 -07:00
Daan
39e16518a3
Merge branch 'dev' into dev2
2025-05-04 19:52:49 -07:00
daanx
9c24c428cb
add more decl_hidden specifiers on extern variables to improve access on arm64
2025-05-04 19:51:13 -07:00
daanx
9194362e48
improve TLS access on Windows with msvc (by Frank Richter, issue #1078 )
2025-05-04 19:51:13 -07:00
Daan
738e98690f
Merge branch 'dev' into dev2
2025-05-02 16:37:08 -07:00
Daan
a080e3263a
Merge remote-tracking branch 'T9/dev' into dev
2025-05-02 16:34:51 -07:00
daanx
e82e03c3e2
Merge branch 'dev' into dev2
2025-05-02 16:29:12 -07:00
daanx
f3e92b1edd
Use second user TLS slot to avoid using reserved fields in the TEB (issue #1078 )
2025-05-02 16:12:20 -07:00
Daan
aad0bc2ae3
fix cast on msvc
2025-05-02 08:09:40 -07:00
Daan
53e8f36aec
Merge branch 'dev' into dev2
2025-04-13 19:49:56 -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
Daan
c016d276ba
bump version to 2.2.4 for further development
2025-03-28 14:22:39 -07:00
Daan
a78374d816
bump version to 1.9.4 for further development
2025-03-28 14:22:02 -07:00
Daan
401a043849
Merge branch 'dev' into dev2
2025-03-28 13:28:16 -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
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
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
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
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