GNU bug report logs -
#12892
‘gc-stats’ w/o ‘bytes-malloced’
Previous Next
Full log
View this message in rfc822 format
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.