GC leak?
Stephen J. Turnbull
stephen at xemacs.org
Wed Feb 20 01:00:27 EST 2008
Michael Sperber writes:
> Marcus Crestani <crestani at informatik.uni-tuebingen.de> writes:
> > Currently the garbage collector does not run the finalizers when
> > XEmacs exits. This is bad, we should definitely fix this. I see if I
> > can come up with a patch in the next couple of days.
>
> This kind of stuff can't work in general. (Even though the assumption
> that it can be done is common, and was made in the early Java versions.)
> For the gory details, see:
>
> http://www.hpl.hp.com/techreports/2002/HPL-2002-335.ps
Note that (AFAICT IANAL) the "gory details" do point out that if it's
simply a matter of releasing system resources, these problems don't
arise. I don't know whether it's feasible to make that distinction in
Lisp, though.
The claim is also made that "in well-written code" only one line in
10000 should refer to finalization. Is that true of XEmacs?
More information about the XEmacs-Beta
mailing list