xo-gc: tidy: drop _ prefix to GCObjectStore._deep_move_root.
This commit is contained in:
parent
7226c1ba3b
commit
2fe88567e0
3 changed files with 7 additions and 8 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue