xo-gc: MutationLogStore uses only AGCObjectVisitor

Previously assumed DX1Collector
This commit is contained in:
Roland Conybeare 2026-04-06 23:22:13 -04:00
commit 006c1830b3
3 changed files with 4 additions and 4 deletions

View file

@ -67,7 +67,7 @@ namespace xo {
* forward mutation logs, for generations 0 <= g < @p upto,
* from from-space to to-space.
**/
void forward_mutation_log(DX1Collector * gc,
void forward_mutation_log(obj<AGCObjectVisitor> gc,
Generation upto);
private:

View file

@ -519,7 +519,7 @@ namespace xo {
log && log("step 2b : [STUB] copy pinned");
log && log("step 3 : [STUB] forward mutation log");
mlog_store_.forward_mutation_log(this, upto);
mlog_store_.forward_mutation_log(this->ref<AGCObjectVisitor>(), upto);
log && log("step 4a : [STUB] run destructors");
log && log("step 4b : [STUB] keep reachable weak pointers");

View file

@ -244,7 +244,7 @@ namespace xo {
}
void
MutationLogStore::forward_mutation_log(DX1Collector * gc,
MutationLogStore::forward_mutation_log(obj<AGCObjectVisitor> gc,
Generation upto)
{
/** non-zero if at least one object was rescued (from any generation)
@ -266,7 +266,7 @@ namespace xo {
MutationLog * to_mlog = this->mlog_[role::to_space()][child_gen];
MutationLog * triage_mlog = this->mlog_[c_n_role][child_gen];
auto stats = this->_forward_mutation_log_phase(gc->ref<AGCObjectVisitor>(),
auto stats = this->_forward_mutation_log_phase(gc,
upto,
child_gen,
from_mlog,