[DGD] swapping

Felix A. Croes felix at dworkin.nl
Wed Dec 10 11:29:42 CET 2014


"Littlefield, Tyler" <tyler at tysdomain.com> wrote:

> Hello:
> Is there any documentation on how swapping works?
> I presume that sectors are just chunks of memory that hold objects)?
> So that when you decide to swap old objects out, they just get mapped
> to those sectors and there's a table somewhere that stores all of
> this? Are objects just handled on an LRU tree as they're created?

All that is documented is in dgd/lpc-doc/Introduction, specifically
see:

    swap_file
    swap_size
    sector_size
    swap_fragment

Other than that, swapping just works.  There is no way to detect
whether an object is swapped out, and there is no difference in
behaviour.

Regards,
Felix Croes



More information about the DGD mailing list