xo-gc: MutationLogStore uses only AGCObjectVisitor
Previously assumed DX1Collector
This commit is contained in:
parent
b9e4a36d47
commit
006c1830b3
3 changed files with 4 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue