mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 13:13:06 +00:00
arena_types.h + arena_structs.h + arena_externs.h merged into arena.h, keeping the three logical sections (TYPES / STRUCTS / EXTERNS) with explicit dividers. arena_inlines_a.h and arena_inlines_b.h stay separate; arena_inlines_b.h now carries a comment explaining why merging the two would reintroduce a real #include cycle through tcache_inlines.h -> arena_choose (the asymmetric cycle-breaker). arena_decay_constants.h (new): minimal header for ARENA_DECAY_NTICKS_PER_UPDATE.
14 lines
472 B
C
14 lines
472 B
C
#ifndef JEMALLOC_INTERNAL_ARENA_DECAY_CONSTANTS_H
|
|
#define JEMALLOC_INTERNAL_ARENA_DECAY_CONSTANTS_H
|
|
|
|
/*
|
|
* Minimal header so both arena.h and tsd_internals.h can share decay-related
|
|
* constants without dragging the full arena types into the tsd parse chain
|
|
* (which is loaded long before arena.h via ckh.h -> tsd.h).
|
|
*/
|
|
|
|
/* Number of event ticks between time checks. */
|
|
#define ARENA_DECAY_NTICKS_PER_UPDATE 1000
|
|
|
|
#endif /* JEMALLOC_INTERNAL_ARENA_DECAY_CONSTANTS_H */
|