xo-gc: privatise GCObjectStore._forward_children_until_fixpoint
This commit is contained in:
parent
ab0c9a5fad
commit
4dee53307e
1 changed files with 10 additions and 10 deletions
|
|
@ -154,16 +154,6 @@ namespace xo {
|
|||
const AGCObject * iface,
|
||||
void * from_src);
|
||||
|
||||
/** traverse objects allocated after @p ckp, to make sure their children
|
||||
* are forwarded. Repeat until traverse doesn't find any unforwarded children.
|
||||
*
|
||||
* 1. Breadth-first implementation, bad for memory locality
|
||||
* 2. Need @p gc for per-object-type forward_children api
|
||||
**/
|
||||
void _forward_children_until_fixpoint(DX1Collector * gc,
|
||||
Generation upto,
|
||||
GCMoveCheckpoint gray_lo_v);
|
||||
|
||||
public:
|
||||
/** For each generation g in [0 ,.., upto)
|
||||
* swap arenas assigned to {to-space, from-space}.
|
||||
|
|
@ -209,6 +199,16 @@ namespace xo {
|
|||
void * gco_data,
|
||||
Generation upto) const noexcept;
|
||||
|
||||
/** traverse objects allocated after @p ckp, to make sure their children
|
||||
* are forwarded. Repeat until traverse doesn't find any unforwarded children.
|
||||
*
|
||||
* 1. Breadth-first implementation, bad for memory locality
|
||||
* 2. Need @p gc for per-object-type forward_children api
|
||||
**/
|
||||
void _forward_children_until_fixpoint(DX1Collector * gc,
|
||||
Generation upto,
|
||||
GCMoveCheckpoint gray_lo_v);
|
||||
|
||||
private:
|
||||
/** configuration for gc-aware object store **/
|
||||
GCObjectStoreConfig config_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue