[armedbear-devel] Recovering "special slots" after package deletion

Alan Ruttenberg alanruttenberg at gmail.com
Tue Jan 11 14:21:54 UTC 2011


On Mon, Jan 10, 2011 at 5:38 PM, Erik Huelsmann <ehuels at gmail.com> wrote:
> Since packages can be deleted, symbols be garbage collected.
> In the current implementation, GC-ing a special symbol will leave the
> slot it was assigned unused. There's no way the slot gets reassigned,
> because nothing keeps track of these 'dead' slots. To make matters
> worse: there may be huge lisp structures referenced in the dead slot,
> because it's also not cleared out.

Would it not make sense to have delete-package at least clear out the
relevant values in the array.
-Alan




More information about the armedbear-devel mailing list