From ab0c9a5faddb792ae223d35c6ab6f876105ebdd2 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Fri, 3 Apr 2026 17:08:57 -0400 Subject: [PATCH] xo-gc: GCObjectStore._check_move_policy() -> private --- include/xo/gc/GCObjectStore.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/include/xo/gc/GCObjectStore.hpp b/include/xo/gc/GCObjectStore.hpp index d801112..3c8bcc6 100644 --- a/include/xo/gc/GCObjectStore.hpp +++ b/include/xo/gc/GCObjectStore.hpp @@ -164,15 +164,6 @@ namespace xo { Generation upto, GCMoveCheckpoint gray_lo_v); - /** true iff {@p alloc_hdr, @p object_data} should move for - * a collection of all generations strictly younger than @p upto. - * - * Require: runstate_.is_running() - **/ - bool _check_move_policy(header_type alloc_hdr, - void * gco_data, - Generation upto) const noexcept; - public: /** For each generation g in [0 ,.., upto) * swap arenas assigned to {to-space, from-space}. @@ -209,6 +200,15 @@ namespace xo { /** auxiliary init function **/ void _init_space(); + /** true iff {@p alloc_hdr, @p object_data} should move for + * a collection of all generations strictly younger than @p upto. + * + * Require: runstate_.is_running() + **/ + bool _check_move_policy(header_type alloc_hdr, + void * gco_data, + Generation upto) const noexcept; + private: /** configuration for gc-aware object store **/ GCObjectStoreConfig config_;