From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Marking weak alist vectors, epilogue Date: Tue, 10 Jan 2006 09:33:03 +0000 Message-ID: <87ace4h1gw.fsf@ossau.uklinux.net> References: <87y83z3vh5.fsf@laas.fr> <4371CF46.4010708@xs4all.nl> <87y83xkcq6.fsf@laas.fr> <87sltny8dh.fsf_-_@laas.fr> <87zmm53152.fsf_-_@laas.fr> <87ace5jj3x.fsf@ossau.uklinux.net> <87bqyksdb6.fsf@laas.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1136899290 19939 80.91.229.2 (10 Jan 2006 13:21:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 Jan 2006 13:21:30 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jan 10 14:21:27 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EwJR5-0001NF-5U for guile-devel@m.gmane.org; Tue, 10 Jan 2006 14:21:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EwJKc-0000Yn-6P for guile-devel@m.gmane.org; Tue, 10 Jan 2006 08:14:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EwFwV-0002gw-FS for guile-devel@gnu.org; Tue, 10 Jan 2006 04:37:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EwFwQ-0002f3-49 for guile-devel@gnu.org; Tue, 10 Jan 2006 04:37:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EwFwL-0002eU-Dq for guile-devel@gnu.org; Tue, 10 Jan 2006 04:37:18 -0500 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EwFyl-0005zN-SH for guile-devel@gnu.org; Tue, 10 Jan 2006 04:39:48 -0500 Original-Received: from laruns (host86-129-132-201.range86-129.btcentralplus.com [86.129.132.201]) by mail3.uklinux.net (Postfix) with ESMTP id 92D6540A11E for ; Tue, 10 Jan 2006 09:35:13 +0000 (UTC) Original-Received: from laruns (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id B29AE9F92A for ; Tue, 10 Jan 2006 09:33:03 +0000 (GMT) Original-To: guile-devel@gnu.org In-Reply-To: <87bqyksdb6.fsf@laas.fr> ( =?iso-8859-1?q?Ludovic_Court=E8s's_message_of?= "Tue, 10 Jan 2006 09:21:49 +0100") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5583 Archived-At: ludovic.courtes@laas.fr (Ludovic Court=E8s) writes: > Neil Jerram writes: > >> ludovic.courtes@laas.fr (Ludovic Court=E8s) writes: >> >>> + scm_properties_whash =3D scm_permanent_object (scm_properties_whash); >> >> What is the symptom of the fact that we are currently missing this >> line? > > You mean: does it actually yield a fault at run-time? Well, it doesn't > /seem/ to (i.e., I haven't identified any reproducible "bug" caused by > this), but I think it /could/. ;-) > > All other such global variables are, understandably, explicitly made > non-collectable. For instance, in `srcprop.c', SCM_SOURCE_WHASH is > non-collectable because it is bound to a top-level binding. In > `symbols.c', the SYMBOLS weak hash table is made permanent via a call to > `scm_permanent_object ()'. I just looked into this. scm_properties_whash is actually OK, because it is defined like this in root.h: #define scm_properties_whash scm_sys_protects[10] and the elements of scm_sys_protects are handled specially in gc-mark.c. Regards, Neil=20 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel