From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sven Hartrumpf Newsgroups: gmane.lisp.guile.devel Subject: Re: Guile 1.5.8 beta available for testing. Date: Thu, 05 Sep 2002 21:52:35 +0200 (CEST) Sender: guile-devel-admin@gnu.org Message-ID: <20020905.215235.74747474.Sven.Hartrumpf@FernUni-Hagen.de> References: <15733.59819.885362.513767@meddo.cs.uu.nl> <20020904.164324.74735108.Sven.Hartrumpf@FernUni-Hagen.de> <15735.18763.141553.273633@meddo.cs.uu.nl> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1031255524 1738 127.0.0.1 (5 Sep 2002 19:52:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 5 Sep 2002 19:52:04 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17n2fZ-0000RL-00 for ; Thu, 05 Sep 2002 21:52:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17n2h6-0006xq-00; Thu, 05 Sep 2002 15:53:36 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17n2gI-0006wi-00 for guile-devel@gnu.org; Thu, 05 Sep 2002 15:52:46 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17n2gE-0006wW-00 for guile-devel@gnu.org; Thu, 05 Sep 2002 15:52:44 -0400 Original-Received: from oak.fernuni-hagen.de ([132.176.114.41]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17n2gE-0006wM-00 for guile-devel@gnu.org; Thu, 05 Sep 2002 15:52:42 -0400 Original-Received: from amavis by oak.FernUni-Hagen.de with scanned-ok (Exim 4.04) id 17n2gC-0002E0-00 for guile-devel@gnu.org; Thu, 05 Sep 2002 21:52:40 +0200 Original-Received: from ki220.fernuni-hagen.de ([132.176.72.220] helo=localhost) by oak.FernUni-Hagen.de with esmtp (Exim 4.04) id 17n2g8-0002Di-00 for guile-devel@gnu.org; Thu, 05 Sep 2002 21:52:36 +0200 Original-To: guile-devel@gnu.org In-Reply-To: <15735.18763.141553.273633@meddo.cs.uu.nl> X-Mailer: Mew version 3.0.58 on Emacs 21.1 / Mule 5.0 (SAKAKI) X-Virus-Scanned: by AMaViS perl-11 Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:1312 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1312 On 5 Sep 2002, Han-Wen Nienhuys wrote: > > How can I make the GC verbose? > > Insert printfs in scm_igc () (gc.c) and scm_i_sweep_all_segments() > (gc-segment.c), the argument they take is the type of object being > allocated. Also, you could insert a > > scm_display(scm_gc_stats(), scm_current_error_port ()) > > at the end of scm_igc, halfway in scm_gc_for_newcell(). > > Also there's some printfs in gc-malloc.c that you could switch on. Thanks. I was lazy and just added in libguile/gc.h: #define DEBUGINFO (Maybe rename it?) (Then, I had to add #include in libguile/gc-freelist.c to avoid an gcc error.) I will report the results to Han-Wen. Sven _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel