daanx
|
635d626c82
|
fix leak in abandoned block visiting
|
2024-06-02 10:43:41 -07:00 |
|
daanx
|
855e3b2549
|
add support to visit _all_ abandoned segment blocks per sub-process, upstream for python/cpython#114133
|
2024-06-02 09:41:12 -07:00 |
|
daanx
|
8f874555d5
|
add initial support for visiting abandoned segments per subprocess, upstream for python/cpython#114133
|
2024-06-02 07:47:08 -07:00 |
|
daanx
|
d9aa19a763
|
add support for sub-processes (to supportpython/cpython#113717)
|
2024-06-01 15:57:18 -07:00 |
|
daanx
|
f87a4c15b2
|
increase max arenas
|
2024-06-01 13:41:13 -07:00 |
|
daanx
|
aeee7907a0
|
fix spelling
|
2024-06-01 13:20:28 -07:00 |
|
daanx
|
616db104a9
|
prevent UB in arena reservation
|
2024-06-01 12:29:48 -07:00 |
|
Daan
|
a05e1f4868
|
comment to not add custom fields (issue #896)
|
2024-05-17 09:12:03 -07:00 |
|
Daan
|
8fd1184272
|
fix alignment issue on Alpine 32-bit musl compilation (issue #895)
|
2024-05-17 09:06:27 -07:00 |
|
Daan
|
97013ee2b4
|
improve static allocation
|
2024-05-16 19:16:44 -07:00 |
|
Daan
|
aa91fe0f1c
|
fix build warning on 32-bit musl
|
2024-05-16 19:05:24 -07:00 |
|
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 |
|