xo-alloc: try to make commit happen at start of GC cycle

This commit is contained in:
Roland Conybeare 2025-08-26 13:36:18 -04:00
commit 6c7b13e443
4 changed files with 77 additions and 48 deletions

View file

@ -144,6 +144,12 @@ namespace xo {
}
}
void
ArenaAlloc::reset(std::size_t need_z) {
this->clear();
this->expand(need_z);
}
void
ArenaAlloc::capture_object_statistics(capture_phase phase,
ObjectStatistics * p_dest) const