xo-alloc2: ICollector_Xfer + ICollector_DX1Collector [WIP]

This commit is contained in:
Roland Conybeare 2025-12-14 18:30:46 -05:00
commit 257fc258ae
10 changed files with 167 additions and 7 deletions

View file

@ -85,6 +85,7 @@ namespace xo {
struct DX1Collector {
explicit DX1Collector(const CollectorConfig & cfg);
const DArena * get_space(role r, generation g) const { return space_[r][g]; }
DArena * get_space(role r, generation g) { return space_[r][g]; }
DArena * from_space(generation g) { return get_space(role::from_space(), g); }
DArena * to_space(generation g) { return get_space(role::to_space(), g); }