diff --git a/include/xo/gc/GCObjectStore.hpp b/include/xo/gc/GCObjectStore.hpp index ab365a4..9e9c560 100644 --- a/include/xo/gc/GCObjectStore.hpp +++ b/include/xo/gc/GCObjectStore.hpp @@ -127,11 +127,10 @@ namespace xo { * Require: runstate_.is_running() **/ - void * _deep_move_root(DX1Collector * gc, - obj from_src, - Generation upto); + void * deep_move_root(DX1Collector * gc, + obj 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. diff --git a/src/gc/DX1Collector.cpp b/src/gc/DX1Collector.cpp index c4e754c..795cd2f 100644 --- a/src/gc/DX1Collector.cpp +++ b/src/gc/DX1Collector.cpp @@ -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); diff --git a/src/gc/GCObjectStore.cpp b/src/gc/GCObjectStore.cpp index c933faf..573af2e 100644 --- a/src/gc/GCObjectStore.cpp +++ b/src/gc/GCObjectStore.cpp @@ -707,9 +707,9 @@ namespace xo { } void * - GCObjectStore::_deep_move_root(DX1Collector * gc, - obj from_src, - Generation upto) + GCObjectStore::deep_move_root(DX1Collector * gc, + obj from_src, + Generation upto) { // NOTE: // Some roots are non-gc-owned nodes.