bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12892: ‘gc-stats’ w/o ‘bytes-malloced’


From: Andy Wingo
Subject: bug#12892: ‘gc-stats’ w/o ‘bytes-malloced’
Date: Wed, 06 Mar 2013 17:03:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

On Wed 06 Mar 2013 08:41, Thien-Thi Nguyen <address@hidden> writes:

> () Andy Wingo <address@hidden>
> () Wed, 06 Mar 2013 08:00:08 +0100
>
>    On Wed 06 Mar 2013 06:51, Thien-Thi Nguyen <address@hidden> 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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]