Commit graph

2821 commits

Author SHA1 Message Date
Gustavo Varo
d96f00af2a Fixing Cmake file and making dbg files build by default 2025-03-05 17:33:44 -05:00
Gustavo Varo
0ced3c5216 Organize Functions into its own files
Add a clang style so the entire proejct can follow same style.
2025-03-05 16:31:49 -05:00
Gustavo Varo
71549dae90 Merge branch 'dev3-bin-dbg' of https://github.com/microsoft/mimalloc into dev3-bin-dbg 2025-03-05 16:27:42 -05:00
Daan
438903421a fix verbosity condition for printing options 2025-03-05 09:57:51 -08:00
Daan
fcc76cb95c fix options printing when verbose is off 2025-03-04 11:37:41 -08:00
Gustavo Varo
a6302f4768 Add barebones of MiMalloc WinDbg extension 2025-03-04 08:57:24 -05:00
Daan
632fe6d8c8 add MI_WIN_DBG_EXTS option for cmake 2025-03-03 17:19:20 -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
8a3865660e merge from dev 2025-03-02 17:42:51 -08:00
Daan
b54a7d836c fix compilation error with MI_GUARDED 2025-03-02 17:41:13 -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
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
Daan Leijen
96fb9fa812 merge from dev 2025-03-01 18:05:46 -08:00
Daan Leijen
18174400b2 fix stats_add condition 2025-03-01 18:04:34 -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
Daan Leijen
113800d1f0 remove status message 2025-03-01 14:52:37 -08:00
Daan Leijen
b0b9d9c22b add note that git rev dependency doesnt work 2025-03-01 14:51:27 -08:00
Daan Leijen
c2ae1c3539 fix git rev dependency in cmake configure 2025-03-01 14:31:24 -08:00
Daan Leijen
527cd05fec add git hash to compile defines 2025-03-01 14:29:23 -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
Daan Leijen
2efc71ef57 Merge branch 'dev3-bin' into dev3 2025-02-28 16:29:14 -08:00
Daan Leijen
c3fc75e0ff update clz/ctz for BMI1 2025-02-28 16:26:45 -08:00
Daan Leijen
b4d2c54696 merge from dev 2025-02-28 16:15:41 -08:00
daanx
b59c1f8ce4 update comments 2025-02-24 13:48:21 -08:00
Daan
a857a04803 fix misspelling (issue #1017, #1020) 2025-02-24 10:50:26 -08:00
Daan
01afcaacf6 remove robustness claim for dynamic override on Windows (issue #1018) 2025-02-20 19:50:13 -08:00
daanx
93fe241223 merge from dev 2025-02-20 19:34:58 -08:00
daanx
aed71f8b32 prevent segment map overflow on arm32 (issue #1017) 2025-02-20 15:09:18 -08:00
daanx
a7f11cd2b0 define mi_clz/ctz in portable way on x64 that does not require BMI1 (issue #1016) 2025-02-20 14:39:35 -08:00
Daan
7e611f7545 merge from dev 2025-02-18 16:04:50 -08:00
Daan
566ab5038b do not use syscall on android (issue #1015) 2025-02-18 16:02:52 -08:00
Daan
3c13579fcf fix pre-processor overflow (issue #1017) 2025-02-18 15:55:45 -08:00
Daan
dce6ec8b41 fix find_highest_bit 2025-02-18 06:45:12 -08:00
Daan
f8857a5189 fix mi_bsr to not use lzcnt directly 2025-02-18 06:33:55 -08:00
Daan
d56d18f45f Merge branch 'dev' into dev3 2025-02-17 14:24:23 -08:00
Daan
ac35aa168c consistent use of IN_LIST 2025-02-17 14:24:10 -08:00