Commit graph

329 commits

Author SHA1 Message Date
Daan
72b1b76e48 add acces to statistics for runtime performance counters 2025-03-21 19:12:08 -07:00
daanx
44a4c83fbf maintain count in pagequeue for constant time test in free.c 2025-02-11 13:56:58 -08:00
Daan
c820259f3b fix heap_main declaration 2025-02-10 21:25:30 -08:00
Daan
8755369301 Merge branch 'dev' into dev3 2025-02-10 20:55:51 -08:00
Daan
78dd3f0e38 add mi_is_redirected back (issue #993) 2025-02-10 20:55:30 -08:00
Daan
e92358ba49 merge from dev; add _mi_heap_main_get
(issue #1010)
2025-02-10 20:42:29 -08:00
Daan
1d3d193561 make heap_main mi_decl_hidden 2025-02-10 20:37:01 -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
fe5258a179 change process initialization order (potential fix for issue #1007) 2025-02-08 23:33:16 -08:00
daanx
5aa679cdee make page_reclaim_on_free 0 by default; but allow reclaim_on_free if the page was originally in this heap (just as in v2 with the full queue) 2025-02-05 15:41:37 -08:00
Daan Leijen
8fc8da5d81 use thread local stats for abandoned statistics to reduce contention 2025-02-04 17:54:49 -08:00
Daan Leijen
274bcb61db update option names 2025-01-31 12:11:25 -08:00
Daan Leijen
57eee51f46 rename full_page_retain to page_full_retain for consistency with the option 2025-01-07 21:42:30 -08:00
Daan Leijen
061ef80de7 clarify allow_destroy 2025-01-07 21:39:11 -08:00
daanx
b432f77bfc Merge branch 'dev3' into dev3-bin 2025-01-03 13:50:37 -08:00
Daan Leijen
b6adbbca0c combine flags and xthread_id 2025-01-03 13:15:46 -08:00
Daan Leijen
84f2038a2c Merge branch 'dev3' into dev3-bin 2024-12-31 14:28:25 -08:00
Daan Leijen
9665d604d3 merge from dev 2024-12-31 14:28:09 -08:00
Daan Leijen
9f70ce5fcd avoid accessing heap->tld after running thread_done (pr #974) 2024-12-30 11:34:02 -08:00
Daan Leijen
9561ae4286 rename segment_map_destroy to segment_map_unsafe_destroy 2024-12-30 11:00:54 -08:00
daanx
2aad74e0c3 Merge branch 'dev3' into dev3-bin 2024-12-26 10:15:38 -08:00
daanx
27e0c467ae fix c++ initializer warning 2024-12-25 14:56:11 -08:00
Daan Leijen
76d50d4566 Merge branch 'dev3' into dev3-bin 2024-12-25 14:41:43 -08:00
Daan Leijen
efe10513ec fix initializer warning on clang-18 2024-12-25 14:40:32 -08:00
daanx
a245135d89 Merge branch 'dev3' into dev3-bin 2024-12-25 14:12:52 -08:00
daanx
5f13941c18 fix constructor re-initialization on subproc_main 2024-12-25 14:12:45 -08:00
daanx
50d22cf092 Merge branch 'dev3' into dev3-bin 2024-12-24 17:15:01 -08:00
daanx
4d1d3471cf rename page options 2024-12-24 17:14:53 -08:00
daanx
7c331a967b merge from dev3 2024-12-24 11:42:02 -08:00
daanx
ba68810333 commit page on demand 2024-12-23 18:33:37 -08:00
daanx
da2ab86e9f Merge branch 'dev3' into dev3-bin 2024-12-22 22:31:26 -08:00
Javier Blazquez
83dacd190e free segment map when destroy_on_exit is set 2024-12-22 22:24:13 -08:00
daanx
dd1b37c9f8 fix recursive tls access on macOS <= 14 2024-12-22 21:03:03 -08:00
daanx
1eea4309b6 Merge branch 'dev3' into dev3-bin 2024-12-22 18:09:27 -08:00
daanx
db82baf1a8 cleanup, some renaming 2024-12-22 18:09:16 -08:00
daanx
b991510813 merge from dev3 2024-12-21 15:56:22 -08:00
daanx
da17a59bdb re-add deferred free and heap retired collect 2024-12-21 15:53:50 -08:00
daanx
5de5550c63 merge from dev3 2024-12-21 15:52:15 -08:00
daanx
1a6fbdf0b2 merge from dev 2024-12-21 15:48:49 -08:00
daanx
e3ebebb990 update lock primitive; fix arena exclusive allocation 2024-12-21 14:39:17 -08:00
daanx
89b0d5a357 allocate heaps associated with an arena in that arena 2024-12-21 11:53:29 -08:00
daanx
4ad7fedd25 track os abandoned pages in a list 2024-12-21 11:35:30 -08:00
daanx
95aeda4cdd merge subproc stats on delete 2024-12-21 10:53:34 -08:00
daanx
dece8a587b make stats part of a subproc 2024-12-21 10:43:08 -08:00
daanx
daac75af36 fix lock recursion 2024-12-20 22:13:58 -08:00
daanx
a5b7d7f264 subprocesses own arena's 2024-12-20 21:38:31 -08:00
daanx
3746bf79ed small fixes; max object size 1/8th of a pages 2024-12-19 21:30:03 -08:00
daanx
d2f670e6e5 add delay to purg'ing; call collect_retired every N generic allocs 2024-12-15 19:54:01 -08:00
daanx
3153e5a4c5 small fixes 2024-12-15 13:47:33 -08:00