GNU bug report logs - #12892
‘gc-stats’ w/o ‘bytes-malloced’

Previous Next

Package: guile;

Reported by: Thien-Thi Nguyen <ttn <at> gnuvola.org>

Date: Thu, 15 Nov 2012 08:43:01 UTC

Severity: normal

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andy Wingo <wingo <at> pobox.com>
To: Thien-Thi Nguyen <ttn <at> gnuvola.org>
Cc: 12892 <at> debbugs.gnu.org
Subject: bug#12892: ‘gc-stats’ w/o ‘bytes-malloced’
Date: Wed, 06 Mar 2013 17:03:50 +0100
On Wed 06 Mar 2013 08:41, Thien-Thi Nguyen <ttn <at> gnuvola.org> writes:

> () Andy Wingo <wingo <at> pobox.com>
> () Wed, 06 Mar 2013 08:00:08 +0100
>
>    On Wed 06 Mar 2013 06:51, Thien-Thi Nguyen <ttn <at> gnuvola.org> writes:
>
>    >    What is the meaning of this field?
>    >
>    > It's a copy of the C global var ‘scm_mallocated’, which tracks
>    > "current allocation" (all malloced minus all freed).
>
>    There is no such C global var.
>
> http://git.savannah.gnu.org/cgit/guile.git/tree/libguile/gc.c?h=ttn-back-in-the-saddle#n210            
>
> You have forgotten perhaps that we are trying to figure out how to surf
> a change between 1.8 and 2.0, and that "this field" is a 1.8 field?

1.8 is the old stable series, so it's not a great referent in the
present tense.

Anyway, Guile 2 does not track the number of bytes freed -- only the
bytes that are mallocated.

Andy
-- 
http://wingolog.org/




This bug report was last modified 12 years and 76 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.