xo-gc: GCObjectStore._check_move_policy() -> private

This commit is contained in:
Roland Conybeare 2026-04-03 17:08:57 -04:00
commit ab0c9a5fad

View file

@ -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_;