xo-alloc2: ICollector_Xfer + ICollector_DX1Collector [WIP]
This commit is contained in:
parent
b26212c5aa
commit
257fc258ae
10 changed files with 167 additions and 7 deletions
|
|
@ -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); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue