Daan
|
e3fea8f4e1
|
temporary fix for musl libc 32-bit compilation on alpine (see issue #895)
|
2024-05-16 18:58:18 -07:00 |
|
Daan
|
a527f75161
|
add disallow_arena_alloc option
|
2024-04-22 10:10:20 -07:00 |
|
Daan
|
88aa84727d
|
fix spelling errors (pr #710)
|
2024-04-20 17:12:09 -07:00 |
|
Daan
|
bf5932c3c6
|
use better purging for segments_collect
|
2024-04-19 12:43:05 -07:00 |
|
Daan
|
70eb7fb390
|
collect arenas even if not on the main thread (issue #878)
|
2024-04-19 12:01:26 -07:00 |
|
Daan
|
40517890d4
|
Merge branch 'dev' into dev-abandon
|
2024-03-03 14:15:21 -08:00 |
|
Daan
|
719496bac9
|
fix clang warning
|
2024-03-03 13:22:24 -08:00 |
|
Daan
|
fa10914f73
|
track os stats in the main stats directly
|
2024-03-03 13:19:27 -08:00 |
|
Daan
|
56d1a859ca
|
Merge branch 'dev' into dev-abandon
|
2024-03-03 09:37:53 -08:00 |
|
Daan
|
027b22aaf2
|
add arena stats
|
2024-03-03 09:37:46 -08:00 |
|
daanx
|
43d40704b9
|
keep threadid 0 for abandoned_next to preserve invariants
|
2024-03-02 18:24:53 -08:00 |
|
daanx
|
70e3ce07d1
|
Merge branch 'dev' into dev-abandon
|
2024-03-02 17:34:58 -08:00 |
|
Daan
|
cc4500a024
|
ensure consistent types for template deduction, PR #834 by @dg0yt
|
2024-03-02 15:36:57 -08:00 |
|
daanx
|
8045d55179
|
fix type warning on clang
|
2024-03-01 19:04:34 -08:00 |
|
daanx
|
5ce1a9bfef
|
fix cas call
|
2024-03-01 18:58:11 -08:00 |
|
daanx
|
500d2ad1fd
|
ensure non-arena segments are force purged on abandonment; make non-arena reclaim atomic
|
2024-03-01 18:47:59 -08:00 |
|
daanx
|
16c0948ee5
|
improve display of arenas and contained blocks
|
2024-03-01 16:24:28 -08:00 |
|
daanx
|
c4f1f2e079
|
make reclaim tries a percentage of the abandoned count
|
2024-03-01 14:57:46 -08:00 |
|
daanx
|
cf8f73098e
|
start abandoned search randomized
|
2024-03-01 10:51:18 -08:00 |
|
daanx
|
71bcf1c76b
|
maintain abandoned_count more robustly
|
2024-03-01 10:31:58 -08:00 |
|
daanx
|
d34d8f0f65
|
fix signed comparison
|
2024-02-29 15:39:47 -08:00 |
|
daanx
|
64edbc92dd
|
allow abandoned segment reclaim on a free
|
2024-02-29 14:58:59 -08:00 |
|
daanx
|
bdda13b880
|
track abandoned segments in an arena bitmap instead of with a list
|
2024-02-29 14:27:28 -08:00 |
|
daanx
|
8f353d8005
|
set initially_zero for arena_static_zalloc
|
2024-02-29 12:03:28 -08:00 |
|
daanx
|
7020ed5e52
|
do not purge if purge delay is negative
|
2024-02-29 11:26:03 -08:00 |
|
daanx
|
cfacbacaba
|
fix zero initialization in mi_arena_meta_zalloc, issue #750
|
2023-05-19 21:18:40 -07:00 |
|
daanx
|
7563ab97ed
|
fix alignment in meta_zalloc; issue #749
|
2023-05-19 21:15:03 -07:00 |
|
daanx
|
4a85f32f8e
|
add libc.c source file
|
2023-05-19 10:24:39 -07:00 |
|
daanx
|
b66e3214d8
|
be more strict on initially_zero for arena allocation
|
2023-04-24 09:08:12 -07:00 |
|
daanx
|
632edf9996
|
rename was_zero/committed to initially_zero/committed
|
2023-04-24 09:03:43 -07:00 |
|
daanx
|
7f93bf02c9
|
be explicit about memory tracking in os.c
|
2023-04-23 16:40:01 -07:00 |
|
daanx
|
d4fe700089
|
remove spurious track_mem_defined
|
2023-04-23 13:13:29 -07:00 |
|
daanx
|
a59ae585c7
|
remove allow_purge option
|
2023-04-23 13:04:50 -07:00 |
|
daanx
|
a636d88d99
|
remove unused local
|
2023-04-22 21:52:49 -07:00 |
|
daanx
|
0e1670a4fb
|
refactor arena code
|
2023-04-22 21:32:25 -07:00 |
|
daanx
|
4dcd611ec4
|
simplifying arena code
|
2023-04-22 18:47:19 -07:00 |
|
daanx
|
d81cc76bbc
|
simplifying arena code
|
2023-04-22 18:44:00 -07:00 |
|
daanx
|
bdead26c77
|
improve static alloc precision
|
2023-04-22 17:26:51 -07:00 |
|
daanx
|
b845be241a
|
wip: use memid for OS allocation
|
2023-04-18 16:38:47 -07:00 |
|
daanx
|
63ddc31d3f
|
fix 32-bit compile warnings
|
2023-04-17 12:05:33 -07:00 |
|
daanx
|
a655c28b66
|
cleanup
|
2023-04-16 12:29:21 -07:00 |
|
daanx
|
d48b988c40
|
clean up os api
|
2023-04-16 11:21:45 -07:00 |
|
daanx
|
0fc4de1440
|
use rich memid's to simplify the internal API's and invariants
|
2023-04-15 21:31:17 -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
|
c90a2bbd0a
|
make memid's abstract for safety
|
2023-04-13 12:17:52 -07:00 |
|
daanx
|
eb62caeda0
|
allow per page purging instead of reset
|
2023-04-08 17:37:58 -07:00 |
|
daanx
|
6bd591d675
|
fix tsan errors
|
2023-04-05 11:57:32 -07:00 |
|
daanx
|
cdefd5b69c
|
fix stats for purging
|
2023-04-05 11:11:03 -07:00 |
|