xo-gc: tidy: drop _ prefix to GCObjectStore._deep_move_root.

This commit is contained in:
Roland Conybeare 2026-04-03 17:49:00 -04:00
commit 2fe88567e0
3 changed files with 7 additions and 8 deletions

View file

@ -127,11 +127,10 @@ namespace xo {
* Require: runstate_.is_running()
**/
void * _deep_move_root(DX1Collector * gc,
obj<AGCObject> from_src,
Generation upto);
void * deep_move_root(DX1Collector * gc,
obj<AGCObject> from_src,
Generation upto);
public:
/** For each generation g in [0 ,.., upto)
* swap arenas assigned to {to-space, from-space}.
* Invoked once at the beginning of each gc cycle.

View file

@ -607,7 +607,7 @@ namespace xo {
xtag("slot.root()", slot.root()),
xtag("slot.root()->data_", slot.root()->data_));
void * root_to = gco_store_._deep_move_root(this, *slot.root(), upto);
void * root_to = gco_store_.deep_move_root(this, *slot.root(), upto);
slot.root()->reset_opaque(root_to);

View file

@ -707,9 +707,9 @@ namespace xo {
}
void *
GCObjectStore::_deep_move_root(DX1Collector * gc,
obj<AGCObject> from_src,
Generation upto)
GCObjectStore::deep_move_root(DX1Collector * gc,
obj<AGCObject> from_src,
Generation upto)
{
// NOTE:
// Some roots are non-gc-owned nodes.