From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Should catchlist elements be marked during GC? Date: Fri, 14 Jul 2006 00:07:40 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1152850124 29834 80.91.229.2 (14 Jul 2006 04:08:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 Jul 2006 04:08:44 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 14 06:08:43 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G1Eym-0002o0-Fr for ged-emacs-devel@m.gmane.org; Fri, 14 Jul 2006 06:08:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G1Eym-0004wf-1D for ged-emacs-devel@m.gmane.org; Fri, 14 Jul 2006 00:08:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G1Exq-0004U8-7K for emacs-devel@gnu.org; Fri, 14 Jul 2006 00:07:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G1Exp-0004So-KN for emacs-devel@gnu.org; Fri, 14 Jul 2006 00:07:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G1Exo-0004Sk-Ve for emacs-devel@gnu.org; Fri, 14 Jul 2006 00:07:40 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G1Ezj-0002eU-BX for emacs-devel@gnu.org; Fri, 14 Jul 2006 00:09:39 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1G1Exo-00067H-39; Fri, 14 Jul 2006 00:07:40 -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.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:56991 Archived-At: During GC, we don't explicitly go through the catchlist, marking the TAG and VAL member of each element. Yes we do. Here's the code from Fgarbage_collect. for (catch = catchlist; catch; catch = catch->next) { mark_object (catch->tag); mark_object (catch->val); }