xo-gc: privatise GCObjectStore._shallow_move()
This commit is contained in:
parent
4dee53307e
commit
2f46ac6aa5
1 changed files with 9 additions and 8 deletions
|
|
@ -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_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue