xo-gc: refactor to prune mlog store dep on DX1Collector

This commit is contained in:
Roland Conybeare 2026-04-02 20:14:52 -04:00
commit 1b3ecf9561
8 changed files with 120 additions and 47 deletions

View file

@ -75,7 +75,7 @@ namespace xo {
void
GCObjectStore::swap_roles(Generation upto) noexcept
{
scope log(XO_DEBUG(true), xtag("upto", upto));
scope log(XO_DEBUG(debug_flag_), xtag("upto", upto));
for (Generation g = Generation{0}; g < upto; ++g) {
log && log("swap roles", xtag("g", g));
@ -88,7 +88,7 @@ namespace xo {
GCObjectStore::cleanup_phase(Generation upto,
bool sanitize_flag)
{
scope log(XO_DEBUG(true), xtag("upto", upto));
scope log(XO_DEBUG(debug_flag_), xtag("upto", upto));
// everything live has been copied out of from-space
// -> now set to empty