[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory leaks

From: David Kastrup
Subject: Re: Memory leaks
Date: Mon, 07 Mar 2011 23:27:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Andreas Schwab <address@hidden> writes:

> Uday S Reddy <address@hidden> writes:
>> I have begun to wonder if obarray gets freed after buffer-local-var stops
>> pointing to it, say through another setq to buffer-local-var.
> Obarrays are ordinary vectors, that get garbage collected like any other
> object.

Unfortunately, symbols are daisy-chained from their obarray bucket, so
even unused symbols can't be collected until all their successors in the
hidden hash bucket chain have become unused as well.

David Kastrup

reply via email to

[Prev in Thread] Current Thread [Next in Thread]