mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-22 16:47:21 +03:00
Split ctl handlers by mallctl namespace
Move mallctl handler implementations out of src/ctl.c into namespace-oriented ctl_* modules, while keeping the mallctl tree and dispatch machinery centralized in ctl.c. Add shared ctl mallctl helper macros and thin ctl arena/stat interfaces needed by the split modules. Wire the new sources into Makefile.in and MSVC project files. Keep behavior unchanged; this is intended as a readability and navigation refactor.
This commit is contained in:
parent
4e903a0a32
commit
bcfc9b27cd
26 changed files with 3670 additions and 3468 deletions
|
|
@ -109,6 +109,15 @@ C_SRCS := $(srcroot)src/jemalloc.c \
|
|||
$(srcroot)src/ckh.c \
|
||||
$(srcroot)src/counter.c \
|
||||
$(srcroot)src/ctl.c \
|
||||
$(srcroot)src/ctl_arena.c \
|
||||
$(srcroot)src/ctl_background_thread.c \
|
||||
$(srcroot)src/ctl_config.c \
|
||||
$(srcroot)src/ctl_opt.c \
|
||||
$(srcroot)src/ctl_prof.c \
|
||||
$(srcroot)src/ctl_stats.c \
|
||||
$(srcroot)src/ctl_thread.c \
|
||||
$(srcroot)src/ctl_tcache.c \
|
||||
$(srcroot)src/ctl_utilization.c \
|
||||
$(srcroot)src/decay.c \
|
||||
$(srcroot)src/div.c \
|
||||
$(srcroot)src/ecache.c \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue