understanding GC
Michael Sperber
sperber at deinprogramm.de
Thu Feb 3 02:25:58 EST 2011
Julian Bradfield <jcb+xeb at jcbradfield.org> writes:
> As usual when I try to do anything, I find I really don't quite
> understand GC and when GCPRO is necessary.
Did you look at the section on garbage collection in the internals
manual? In particular, there's a subsection on GCPRO.
> concat() in fns.c GCPROs its arguments, to be helpful to the caller.
> What is it that concat() does that could cause a GC or QUIT?
It allocates. If there's not enough free space in the heap to satisfy
an allocation, a GC is triggered.
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
More information about the XEmacs-Beta
mailing list