Drop the jemalloc_internal_includes.h umbrella

Convert the production source files in src/ (69 .c/.cpp) and
test/jemalloc_test.h.in to list the headers they actually use, then
delete the umbrella.  Three consolidated headers (peak_event.h,
prof_sys.h, sz.h) also gain explicit transitive includes.

Every translation unit now declares what it uses.  A missing include
now fails at the failing file rather than silently working because
something upstream pulled in the world.
This commit is contained in:
Slobodan Predolac
2026-06-02 14:26:23 -07:00
parent 306ee67a15
commit de9ad1450b
74 changed files with 304 additions and 190 deletions

View File

@@ -1,9 +1,12 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
#include "jemalloc/internal/jemalloc_internal_inlines_a.h"
#include "jemalloc/internal/peak_event.h"
#include "jemalloc/internal/prof.h"
#include "jemalloc/internal/tcache.h"
#include "jemalloc/internal/thread_event.h"
#include "jemalloc/internal/thread_event_registry.h"
#include "jemalloc/internal/peak_event.h"
#include "jemalloc/internal/tsd.h"
static bool
te_ctx_has_active_events(te_ctx_t *ctx) {