xo-gc: refactor: move object type table -> GCObjectStore

This commit is contained in:
Roland Conybeare 2026-04-02 23:58:22 -04:00
commit 63857a3025
8 changed files with 548 additions and 124 deletions

View file

@ -11,10 +11,12 @@ namespace xo {
GCObjectStoreConfig::GCObjectStoreConfig(const ArenaConfig & arena_cfg,
std::uint32_t ngen,
std::uint32_t nsurvive,
std::size_t object_types_z,
bool debug_flag)
: arena_config_{arena_cfg},
n_generation_{ngen},
n_survive_threshold_{nsurvive},
object_types_z_{object_types_z},
debug_flag_{debug_flag}
{}