From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: no-spam@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Fix to long-standing crashes in GC Date: 24 May 2004 13:57:08 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <40A3BC23.8060000@math.ku.dk> <200405180013.i4I0Ddl15818@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1085408750 32557 80.91.224.253 (24 May 2004 14:25:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 May 2004 14:25:50 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon May 24 16:25:38 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BSGOY-0001hp-00 for ; Mon, 24 May 2004 16:25:38 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BSGOY-0002hA-00 for ; Mon, 24 May 2004 16:25:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BSFzu-0002Fp-11 for emacs-devel@quimby.gnus.org; Mon, 24 May 2004 10:00:10 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BSFww-0001yW-Pm for emacs-devel@gnu.org; Mon, 24 May 2004 09:57:07 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BSEJF-0002eI-QH for emacs-devel@gnu.org; Mon, 24 May 2004 08:12:33 -0400 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.34) id 1BSE4o-00011Z-8q for emacs-devel@gnu.org; Mon, 24 May 2004 07:57:06 -0400 Original-Received: (qmail 52333 invoked from network); 24 May 2004 11:57:04 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 24 May 2004 11:57:04 -0000 Original-To: rms@gnu.org In-Reply-To: Original-Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23891 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23891 RMS wrote: > With my fix, marker blocks are never freed (they remain > on the free marker lists) -- this can be improved by keeping > the "all free" blocks on a separate list and freeing them > at the end of GC. I may do that later... > > It might be simpler, and not much slower, to scan the list of marker > blocks at the end of GC and check each one to see if it is all free. Yes, looking for and freeing marker blocks with all Lisp_Misc_Free objects would work. -- Kim F. Storm http://www.cua.dk