From 723ea7e3df9c7c76d4077bdd8b897b22a14e0ab9 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Fri, 3 Apr 2026 17:49:00 -0400 Subject: [PATCH] xo-gc: tidy: drop _ prefix to GCObjectStore._deep_move_root. --- include/xo/gc/GCObjectStore.hpp | 7 +++---- src/gc/DX1Collector.cpp | 2 +- src/gc/GCObjectStore.cpp | 6 +++--- 3 files changed, 7 insertions(+), 8 deletions(-) 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.