From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Fix to long-standing crashes in GC Date: Sun, 23 May 2004 14:28:06 -0400 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> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1085339947 23308 80.91.224.253 (23 May 2004 19:19:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 23 May 2004 19:19:07 +0000 (UTC) Cc: teirllm@dms.auburn.edu, monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun May 23 21:19:01 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 1BRyUv-000509-00 for ; Sun, 23 May 2004 21:19:01 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BRyUv-0008H3-00 for ; Sun, 23 May 2004 21:19:01 +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 1BRyKz-0002JP-Lg for emacs-devel@quimby.gnus.org; Sun, 23 May 2004 15:08:45 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BRxz8-0006AV-CQ for emacs-devel@gnu.org; Sun, 23 May 2004 14:46:10 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BRxi3-0002aG-6A for emacs-devel@gnu.org; Sun, 23 May 2004 14:29:02 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BRxhf-0002Sx-1r for emacs-devel@gnu.org; Sun, 23 May 2004 14:28:07 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1BRxhe-0004Mi-Jm; Sun, 23 May 2004 14:28:06 -0400 Original-To: storm@cua.dk (Kim F. Storm) In-reply-to: (storm@cua.dk) 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:23860 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23860 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.