Commit graph

7 commits

Author SHA1 Message Date
Slobodan Predolac
e7595f7b48 Drop umbrella include from 8 large .c files (batch 6)
Converted: jemalloc_init, prof_log, base, pac, malloc_io, prof,
background_thread, pages.

No latent hermeticity bugs in headers this batch.  All fixes are
explicit includes for symbols (arena.h, background_thread.h,
jemalloc_internal_externs.h, etc.) that the umbrella was supplying
transitively.

Step 6 (Option B) of the cyclical-dep cleanup, batch 6 of N.
2026-05-29 09:04:09 -07:00
Slobodan Predolac
ff2c2548a3 Remove generic experimental hooks 2026-05-13 18:27:43 -04:00
Slobodan Predolac
3cd9753e23 Move tcache_stats_merge into arena as arena_cache_bins_stats_merge 2026-05-13 17:50:41 -04:00
Slobodan Predolac
b92420d309 Replace arena->tcache_ql with cache_bin_array_descriptor_ql walks
Drop the duplicate arena->tcache_ql; stats merging walks the
cache_bin_array_descriptor_ql directly. Rename the protecting mutex
from tcache_ql_mtx to cache_bin_array_descriptor_ql_mtx to match. Add
an assertion in test_thread_migrate_arena that the dissociate-time
flush zeros cache_bin->tstats.nrequests.
2026-05-13 17:50:41 -04:00
Slobodan Predolac
6e7c364e90 Hide methods from jemalloc_init.h that are not used in other units 2026-05-11 16:23:09 -07:00
Slobodan Predolac
ba1e2fe4db Extract fork orchestration into jemalloc_fork module 2026-04-30 15:17:18 -04:00
Slobodan Predolac
ec07fc3c5f Extract initialization logic from jemalloc.c into jemalloc_init module 2026-04-30 15:17:18 -04:00