From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Memory leaks Date: Mon, 07 Mar 2011 23:27:00 +0100 Organization: Organization?!? Message-ID: <87ipvutvm3.fsf@fencepost.gnu.org> References: <4D70CF59.4010406@cs.bham.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1299536855 1952 80.91.229.12 (7 Mar 2011 22:27:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Mar 2011 22:27:35 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 07 23:27:32 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pwitn-00035v-I9 for ged-emacs-devel@m.gmane.org; Mon, 07 Mar 2011 23:27:31 +0100 Original-Received: from localhost ([127.0.0.1]:46699 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pwitm-0004D9-WF for ged-emacs-devel@m.gmane.org; Mon, 07 Mar 2011 17:27:31 -0500 Original-Received: from [140.186.70.92] (port=41910 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwitY-00047z-Ca for emacs-devel@gnu.org; Mon, 07 Mar 2011 17:27:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwitW-0002cZ-UB for emacs-devel@gnu.org; Mon, 07 Mar 2011 17:27:16 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:32808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwitW-0002cT-Ln for emacs-devel@gnu.org; Mon, 07 Mar 2011 17:27:14 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PwitU-0002wW-Ln for emacs-devel@gnu.org; Mon, 07 Mar 2011 23:27:12 +0100 Original-Received: from p508ec1b9.dip.t-dialin.net ([80.142.193.185]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Mar 2011 23:27:12 +0100 Original-Received: from dak by p508ec1b9.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Mar 2011 23:27:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p508ec1b9.dip.t-dialin.net X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:NXkfWqOCKjB72/tvKZknr4S/o4I= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:136850 Archived-At: Andreas Schwab writes: > Uday S Reddy 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