xo-gc: privatise GCObjectStore._shallow_move()

This commit is contained in:
Roland Conybeare 2026-04-03 17:11:23 -04:00
commit 2f46ac6aa5

View file

@ -146,14 +146,7 @@ namespace xo {
void * from_src,
Generation upto);
/** during a gc cycle:
* evacuate object @p from_src, with gc-object interface @p iface.
* Shallow: does not traverse children
**/
void * _shallow_move(DX1Collector * gc,
const AGCObject * iface,
void * from_src);
private:
public:
/** For each generation g in [0 ,.., upto)
* swap arenas assigned to {to-space, from-space}.
@ -209,6 +202,14 @@ namespace xo {
Generation upto,
GCMoveCheckpoint gray_lo_v);
/** during a gc cycle:
* evacuate object @p from_src, with gc-object interface @p iface.
* Shallow: does not traverse children
**/
void * _shallow_move(DX1Collector * gc,
const AGCObject * iface,
void * from_src);
private:
/** configuration for gc-aware object store **/
GCObjectStoreConfig config_;