xo-gc: refactor: move object type table -> GCObjectStore
This commit is contained in:
parent
08b313f25c
commit
63857a3025
8 changed files with 548 additions and 124 deletions
|
|
@ -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}
|
||||
{}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue