[Openmcl-devel] question about manual garbage collection

Robert Goldman rpgoldman at sift.info
Thu Jun 7 13:00:28 PDT 2012


On 6/7/12 Jun 7 -2:57 PM, Faheem Mitha wrote:
> 
> Hi,
> 
> SBCL lets one collect garbage manually, if I understand the
> documentation correctly, with
> 
> (gc :full t)
> 
> CCL accepts (gc) but not (gc :full t), and it does collect garbage,
> though the heap in CCL never seems to get very large. However, I could
> not find any documentation for the 'gc' function, at least not in the
> manual.
> 
> So, what is the correct way to collect garbage manually for CCL? If it
> is not (gc) then is the fact that (gc) works just an accident? I'd
> appreciate a clarification of this point. Please CC me on any reply.

I haven't tested it fully, but perhaps you would find the
TRIVIAL-GARBAGE library helpful.  It provides an
implementation-independent API to control of garbage collection.

cheers,
r




More information about the Openmcl-devel mailing list