diff --git a/include/xo/gc/DX1Collector.hpp b/include/xo/gc/DX1Collector.hpp index 76e90d2..5fe8235 100644 --- a/include/xo/gc/DX1Collector.hpp +++ b/include/xo/gc/DX1Collector.hpp @@ -357,9 +357,9 @@ namespace xo { void _init_space(const X1CollectorConfig & cfg); /** swap from- and to- roles for all generations < @p upto **/ - void swap_roles(Generation upto) noexcept; + void _swap_roles(Generation upto) noexcept; /** copy roots + everything reachable from them, to to-space **/ - void copy_roots(Generation upto) noexcept; + void _copy_roots(Generation upto) noexcept; /** cleanup after gc **/ void _cleanup_phase(Generation upto); diff --git a/src/gc/DX1Collector.cpp b/src/gc/DX1Collector.cpp index 95641dd..de2ea71 100644 --- a/src/gc/DX1Collector.cpp +++ b/src/gc/DX1Collector.cpp @@ -539,13 +539,13 @@ namespace xo { log && log("step 0d : [STUB] scan for object statistics"); log && log("step 1 : swap from/to roles (now to-space is empty)"); - this->swap_roles(upto); + this->_swap_roles(upto); log && log(xtag("from_0", get_space(role::from_space(), Generation{0})->lo_), xtag("to_0", get_space(role::to_space(), Generation{0})->lo_)); log && log("step 2a : copy roots"); - this->copy_roots(upto); + this->_copy_roots(upto); log && log("step 2b : [STUB] copy pinned"); @@ -578,7 +578,7 @@ namespace xo { } void - DX1Collector::swap_roles(Generation upto) noexcept + DX1Collector::_swap_roles(Generation upto) noexcept { scope log(XO_DEBUG(true), xtag("upto", upto)); @@ -596,7 +596,7 @@ namespace xo { } void - DX1Collector::copy_roots(Generation upto) noexcept + DX1Collector::_copy_roots(Generation upto) noexcept { scope log(XO_DEBUG(true));