Commit graph

1292 commits

Author SHA1 Message Date
daanx
449aad0635 wip: purgeable arenas; update option names and improve arena reservation 2023-04-04 12:15:57 -07:00
daanx
a5b47fe17b Merge branch 'dev' into dev-reset 2023-04-03 12:46:00 -07:00
Daan Leijen
cc4ed36c7e prepare for new release 2023-04-03 12:30:18 -07:00
Daan Leijen
05e7931b94 prevent pedantic warning 2023-04-01 11:28:34 -07:00
Daan Leijen
595add5e3d wip: initial work on purgable arenas 2023-03-31 20:51:35 -07:00
Daan Leijen
7cf60deb12 wip: initial delayed purging of arenas 2023-03-31 14:07:59 -07:00
Daan Leijen
bd66d54765 Merge branch 'dev' into dev-reset 2023-03-31 10:34:27 -07:00
Daan Leijen
3208dff17a remove extraneous forward declarations 2023-03-31 10:33:36 -07:00
Daan Leijen
6eee9e4be2 add option eager_reserve 2023-03-30 16:20:11 -07:00
Daan Leijen
8607c4a5df fix compile without syscall (pr #714 by asuka-mio) 2023-03-30 09:24:06 -07:00
Daan Leijen
47d8cd916e fix compile without MADV_FREE (pr #715 by elbaro) 2023-03-30 09:21:07 -07:00
Daan Leijen
06b94fc5e6 remove redundant code (pr #674 by @rganesan) 2023-03-29 16:19:07 -07:00
Daan Leijen
f806eb8498 remove redundant OR in mmap flags (pr #675) 2023-03-29 16:15:20 -07:00
Daan Leijen
dd7b99d477 apply some spelling fixes from PR #710 2023-03-29 16:10:01 -07:00
Daan Leijen
61a32e62b8 support cygwin compilation (pr #712) 2023-03-29 15:56:31 -07:00
Daan Leijen
f20d22a3e4 fix arm compilation (PR 694) 2023-03-29 15:53:05 -07:00
Daan Leijen
1cb0193ff1 fix hex formatting of errors 2023-03-29 13:00:35 -07:00
Daan
5bc724d18f fix warnings on macOS 2023-03-29 12:39:34 -07:00
Daan Leijen
8e6a475386 add ubsan and tsan to pipeline 2023-03-29 12:13:59 -07:00
Daan Leijen
79f31b0e8f use syscalls for open/close etc when initializing to avoid recursion when these are intercepted (issue #713) 2023-03-28 16:44:35 -07:00
Daan Leijen
176b6e6aa0 add mi_arena_is_os_allocated 2023-03-28 09:59:41 -07:00
Daan Leijen
9792b6364d move more prototypes in internal.h for safety 2023-03-28 09:25:32 -07:00
Daan Leijen
560e32b2e1 update comments 2023-03-28 09:14:17 -07:00
Daan Leijen
a21ddd03fe add verbose message if thread sanitizer is enabled 2023-03-23 11:21:45 -07:00
Daan Leijen
c9dcca6a64 update comments 2023-03-22 10:31:04 -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 Leijen
70fefec837 fix huge OS page count when a timeout happens (issue #711) 2023-03-21 19:42:25 -07:00
Daan Leijen
1ded6e2dec increase env limit to 10000 entries (issue #685) 2023-03-20 14:30:38 -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
30df80b05a proper prototype 2023-03-20 11:50:05 -07:00
Daan Leijen
54ad5e76fd fix warnings for issues #709 2023-03-20 11:43:31 -07:00
Daan Leijen
65402836ae comments 2023-03-20 11:30:52 -07:00
Daan Leijen
287010578d update ide project files 2023-03-20 11:20:30 -07:00
Daan Leijen
c0c762611c add prim/osx directory 2023-03-20 10:49:56 -07:00
Daan Leijen
f58357548c restructure header files 2023-03-20 10:37:39 -07:00
Daan Leijen
6ae6c42700 simplify primitives API 2023-03-20 10:23:00 -07:00
Daan Leijen
85a2bb5c60 update process info primitive api 2023-03-20 10:22:45 -07:00
Daan Leijen
63f88cb43d rename 2023-03-16 20:10:46 -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 Leijen
8a1f6c82b2 move prim files in subdirectories 2023-03-16 17:47:00 -07:00
Daan
7d834864bb fix macOSX compilation 2023-03-16 11:35:11 -07:00
Daan Leijen
cfe3d04299 cleanup 2023-03-15 19:15:53 -07:00
Daan Leijen
479ef4bf4c fix precise free size in aligned allocation 2023-03-15 19:07:35 -07:00
Daan Leijen
84ef963a47 remove conioinclude 2023-03-15 14:43:35 -07:00
Daan Leijen
9a2dbf373e move thread init to primitives 2023-03-15 13:35:23 -07:00
Daan Leijen
973268bf1e move random initialization to primitives 2023-03-15 12:40:18 -07:00
Daan Leijen
9b110090b2 move threadid and mi_get_default_heap to primitives 2023-03-14 20:35:00 -07:00