Daan
|
16c3f1292c
|
Fix compile error on OpenBSD #773, by @sundb
|
2024-03-02 16:57:10 -08:00 |
|
daanx
|
d7a72c4912
|
fix thread data leak; issue #748
|
2023-05-19 09:12:46 -07:00 |
|
daanx
|
632edf9996
|
rename was_zero/committed to initially_zero/committed
|
2023-04-24 09:03:43 -07:00 |
|
daanx
|
b845be241a
|
wip: use memid for OS allocation
|
2023-04-18 16:38:47 -07:00 |
|
daanx
|
f42c66ccce
|
fix build on vs2017/2019
|
2023-04-17 10:13:36 -07:00 |
|
daanx
|
a655c28b66
|
cleanup
|
2023-04-16 12:29:21 -07:00 |
|
daanx
|
0174d19af3
|
increase thread data cache to 16
|
2023-04-15 19:49:14 -07:00 |
|
daanx
|
48d0d0da9b
|
fix thread data cache to use pure os alloc
|
2023-04-13 15:27:20 -07:00 |
|
daanx
|
0ba79d01f6
|
allow static allocation in arenas for internal metadata
|
2023-04-13 13:19:39 -07:00 |
|
daanx
|
eb62caeda0
|
allow per page purging instead of reset
|
2023-04-08 17:37:58 -07:00 |
|
daanx
|
55df1f3a54
|
more detailed stats, including purges
|
2023-04-05 09:48:22 -07:00 |
|
daanx
|
83aa635485
|
implement arena destroy on program exit
|
2023-04-04 18:44:08 -07:00 |
|
daanx
|
d01017ffda
|
extend primitive api with is_zero parameters
|
2023-04-04 16:32:39 -07:00 |
|
daanx
|
461df1e878
|
implement arena exclusive heap allocation for dev
|
2023-04-04 15:40:43 -07:00 |
|
daanx
|
77766e20a6
|
use only arena's instead of regions
|
2023-04-04 14:58:06 -07:00 |
|
Daan Leijen
|
595add5e3d
|
wip: initial work on purgable arenas
|
2023-03-31 20:51:35 -07:00 |
|
Daan Leijen
|
dd7b99d477
|
apply some spelling fixes from PR #710
|
2023-03-29 16:10:01 -07:00 |
|
Daan Leijen
|
a21ddd03fe
|
add verbose message if thread sanitizer is enabled
|
2023-03-23 11:21:45 -07:00 |
|
Daan
|
d976fbe08b
|
remove spurious include
|
2023-03-22 09:56:40 -07:00 |
|
Daan
|
96b55bd0bb
|
potential fix for macOS issue #697
|
2023-03-22 09:48:40 -07:00 |
|
Daan
|
06f0ba232e
|
prevent reentrancy on thread_done (issue #699)
|
2023-03-20 14:23:52 -07:00 |
|
Daan Leijen
|
0b4c3da2e9
|
make process init race free (issue #701)
|
2023-03-20 13:55:39 -07:00 |
|
Daan Leijen
|
f58357548c
|
restructure header files
|
2023-03-20 10:37:39 -07:00 |
|
Daan Leijen
|
1a99efc671
|
integrate ETW windows event tracing into mimalloc as another track tool
|
2023-03-16 20:08:43 -07:00 |
|
Xinglong He
|
072316bd33
|
add etw support
|
2023-03-16 17:47:20 -07:00 |
|
Daan
|
7d834864bb
|
fix macOSX compilation
|
2023-03-16 11:35:11 -07:00 |
|
Daan Leijen
|
9a2dbf373e
|
move thread init to primitives
|
2023-03-15 13:35:23 -07:00 |
|
Daan Leijen
|
9b110090b2
|
move threadid and mi_get_default_heap to primitives
|
2023-03-14 20:35:00 -07:00 |
|
Daan Leijen
|
3579d3b861
|
move mi_thread_id to primitives
|
2023-03-14 19:38:45 -07:00 |
|
Daan
|
6dcebdc303
|
fix sizes in memory tracking and padding for huge alignments
|
2023-03-04 14:49:02 -08:00 |
|
Daan Leijen
|
e68f2c1479
|
fix recursion issue on exit on windows, #672
|
2022-12-23 13:02:16 -08:00 |
|
Johannes Schindelin
|
745a34f475
|
Fix whitespace
This mostly deletes trailing spaces.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
|
2022-12-03 00:24:20 +01:00 |
|
Daan Leijen
|
10981ab122
|
add initial support for using mimalloc with address sanitizer support; use -DMI_ASAN=ON
|
2022-11-28 10:55:19 -08:00 |
|
Daan Leijen
|
e6ab602ca1
|
add comment
|
2022-11-21 10:24:02 -08:00 |
|
Daan Leijen
|
35d332141d
|
experimental destroy_on_exit option for statically linked mimalloc in a dynamically unloaded DLL
|
2022-11-18 11:00:23 -08:00 |
|
Daan Leijen
|
18cf94dff6
|
move keys field in the page struct to keep offsets in the fast path the same for different build variants
|
2022-11-18 10:14:37 -08:00 |
|
daan
|
27fc2cf17e
|
fix random initializer
|
2022-11-07 14:57:07 -08:00 |
|
daan
|
3e1d800e9b
|
potential fix for windows static linking with thread creation in dll's
|
2022-11-07 14:47:53 -08:00 |
|
daan
|
d8dd297974
|
add cmake option MI_WIN_REDIRECT to be able to explicitly disable linking with mimalloc-redirect on windows; always OFF on ARM, fixes issue #591 and #590
|
2022-10-31 15:26:21 -07:00 |
|
daan
|
c4663463d1
|
add mi_cdecl to functions to avoid errors when compiling with a different calling convention, see PR #592
|
2022-10-31 12:16:34 -07:00 |
|
Daan Leijen
|
f87cba9bd8
|
add max segment reclaim as an option
|
2022-04-14 16:05:49 -07:00 |
|
Daan Leijen
|
faca422b71
|
fix msvc warnings at level 4
|
2022-04-09 14:48:30 -07:00 |
|
Daan Leijen
|
6c91c75b14
|
remove thread local segment cache
|
2022-04-09 14:33:20 -07:00 |
|
Daan Leijen
|
5c7ada4b20
|
Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev
|
2022-04-08 16:37:08 -07:00 |
|
Daan
|
b7677b6f84
|
fix atomic warnings on clang14 (issue #571)
|
2022-04-08 14:09:38 -07:00 |
|
daan
|
185f296513
|
improve atomic operations for the thread metadata cache
|
2022-04-07 20:26:35 -07:00 |
|
daan
|
6e5788d076
|
add small cache for thread metadata for programs that create/destroy many OS threads
|
2022-04-07 20:17:48 -07:00 |
|
Daan
|
f4e221917b
|
Merge branch 'dev' into bun
|
2022-02-02 19:56:27 -08:00 |
|
Jarred Sumner
|
d2e727f0e8
|
Add MI_SKIP_COLLECT_ON_EXIT flag
|
2022-01-18 21:11:12 -08:00 |
|
Daan Leijen
|
0c814775b6
|
fix extern C declaration for msvc (issue #523)
|
2022-01-12 16:59:50 -08:00 |
|