[Ecls-list] Declaring functions and shutting down ECL

Julian St. der_julian at web.de
Tue Jun 10 17:25:03 UTC 2003

On Tue, 10 Jun 2003 17:13:45 +0200
Juan Jose Garcia-Ripoll <worm at arrakis.es> wrote:

> Once you start ECL, there is currently no way to unload it. This is due to the 
> fact that I cannot control the internals of the Boehm-Weiser garbage 
> collector.
> However, it should be relatively easy to implement this if you use the old 
> garbage collector. Here we know precisely how much memory was allocated, and 
> we can simply munmap() everything. Basically, you have to have a look at 
> alloc.d, and more precisely to the routine cl_resize_hole(), which is the one 
> that gets fresh memory for ECL.

Ok, this is not a big problem at the moment. I guess most users of my plugin (if it ever gets really usable) won't reload the plugin all the time. So memory leaking when unloading goes for the time being on the known-bugs list. :)

                           Reboot America.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20030610/952fd928/attachment.sig>

More information about the ecl-devel mailing list