Commit graph

244 commits

Author SHA1 Message Date
Daan
c1cbe71836 add numa-affine allocation, and per-heap numa affinity 2025-03-03 18:08:57 -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
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
a7a0db06d5 merge from dev 2025-02-10 20:28:53 -08:00
Daan
156687ac8b rename to mi_thread_set_in_threadpool 2025-02-10 20:26:19 -08:00
Daan
aae2e0b2f6 merge from dev 2025-02-10 20:15:42 -08:00
daanx
08ebe070a4 add mi_heap_set_in_threadpool 2025-02-10 20:11:52 -08:00
Daan
3d767ebef6 use regular free in zone_free on macos 2025-02-05 21:20:44 -08:00
daanx
dd4b6fc078 update options 2025-01-31 11:54:51 -08:00
Daan Leijen
8210c9aa0a bump version for further development 2025-01-05 15:47:52 -08:00
Daan Leijen
9ec5da08b2 bump version for further development 2025-01-05 15:45:04 -08:00
daanx
aa8e8ab58d remove mi_debug_show_arenas parameter 2025-01-05 11:42:17 -08:00
daanx
bd3392466b remove mi_debug_show_arenas parameter 2025-01-05 11:39:42 -08:00
daanx
c518312fb6 allow narrow arena debug output 2025-01-04 22:49:25 -08:00
Daan Leijen
27687718bc bump version to 1.8.9 for further development 2025-01-03 18:44:23 -08:00
Daan Leijen
46ae913f22 bump version to 3.0.1 for further development 2025-01-03 18:43:38 -08:00
daanx
bec06cfb95 merge from dev 2024-12-26 10:15:08 -08:00
daanx
63f47569f2 fix debug_show_arenas parameters 2024-12-25 13:35:54 -08:00
daanx
8259c0eb7c nice colors for heap maps 2024-12-24 20:10:44 -08:00
daanx
4d1d3471cf rename page options 2024-12-24 17:14:53 -08:00
daanx
ba68810333 commit page on demand 2024-12-23 18:33:37 -08:00
daanx
88d8ee964f remove is_large member (and use is_pinned for this) 2024-12-23 15:04:06 -08:00
daanx
516e644359 rename option pagemap_commit; always commit the page map on macos (for now) 2024-12-22 16:06:49 -08:00
daanx
7d46478a5f add initial load/unload for heaps 2024-12-21 13:19:06 -08:00
daanx
a5b7d7f264 subprocesses own arena's 2024-12-20 21:38:31 -08:00
daanx
ba39e4d65b wip: start on purge 2024-12-13 09:03:17 -08:00
daanx
e43eb1f191 nicer debug output 2024-12-12 20:22:24 -08:00
daanx
aed76f2910 wip: allow arena (re)loading 2024-12-11 20:34:23 -08:00
daanx
c5a2d11193 add extra checks for valid pointers in the pagemap, add max_vabits and debug_commit_full_pagemap options 2024-12-09 20:40:26 -08:00
daanx
7443ee317e tune free-ing and abandoning 2024-12-05 17:00:23 -08:00
daanx
0616ee151e change to full_page_retain 2024-12-05 11:29:25 -08:00
daanx
d96c134566 wip: initial version with eager abandonment 2024-12-02 16:01:45 -08:00
daanx
9b7ac9a1a6 clean up candidate search; add mi_collect_reduce 2024-11-25 16:58:02 -08:00
daanx
71fec8caf5 add target_segments_per_thread option 2024-11-18 15:05:22 -08:00
daanx
d57cb0765d add guarded objects that are sampled (and fit a size range). guarded sample rate etc can be set per heap as well as defaulted with options 2024-11-17 22:45:09 -08:00
daanx
8ba1879073 add sampling for guarded objects 2024-11-17 00:06:16 -08:00
daanx
8b6017d976 rename mi_debug_guarded_ to mi_guarded_ 2024-11-16 22:42:32 -08:00
daanx
498c92e348 update guarded implementation to use block tags 2024-11-16 21:15:50 -08:00
daanx
8899a11c70 clean up guarded pages code 2024-08-20 11:09:17 -07:00
daanx
0c19eb60cf initial working guarded pages 2024-08-19 21:21:40 -07:00
Daan
7b5df14bea initial work on guarded objects 2024-07-16 09:15:59 -07:00
Daan
98058eed14 add heap tag to area descriptor 2024-06-04 16:54:06 -07:00
Daan
2ed97f3ebb whitespace 2024-06-03 09:55:11 -07:00
Daan
58fbb67963 fix c++ compilation 2024-06-03 09:25:53 -07:00
daanx
5501f59f6c only reclaim for exclusive heaps in their associated arena 2024-06-02 13:16:20 -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