From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109187: Adjust consing_since_gc when objects are explicitly freed. Date: Mon, 23 Jul 2012 06:06:09 -0400 Message-ID: References: <500D18D4.7010506@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1343037990 15355 80.91.229.3 (23 Jul 2012 10:06:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 Jul 2012 10:06:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 23 12:06:30 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1StFX1-0006ZQ-Az for ged-emacs-devel@m.gmane.org; Mon, 23 Jul 2012 12:06:27 +0200 Original-Received: from localhost ([::1]:37531 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StFX0-0002BQ-CD for ged-emacs-devel@m.gmane.org; Mon, 23 Jul 2012 06:06:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StFWt-0002At-Cz for emacs-devel@gnu.org; Mon, 23 Jul 2012 06:06:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1StFWn-0005oD-Jh for emacs-devel@gnu.org; Mon, 23 Jul 2012 06:06:19 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:60553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StFWn-0005o5-GI for emacs-devel@gnu.org; Mon, 23 Jul 2012 06:06:13 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q6NA6AIm017842; Mon, 23 Jul 2012 06:06:11 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 9FFC6AE323; Mon, 23 Jul 2012 06:06:09 -0400 (EDT) In-Reply-To: <500D18D4.7010506@yandex.ru> (Dmitry Antipov's message of "Mon, 23 Jul 2012 13:26:44 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4287=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4287> : streams <789228> : uri <1172548> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:151811 Archived-At: >>> + (free_cons, free_misc): Subtract object size from consing_since_gc. >> Why bother? > IMHO, mostly because consing_since_gc means "total size of new objects which > are managed by GC". If we manage some of them by hand, we shouldn't allow GC > to overestimate an amount of work to be done. So, it's only for theoretical reasons? If so, I'd rather we don't bother. Stefan