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 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.

>    We could track total allocations registered via
>    scm_gc_register_allocation.
>
> Sounds complicated.

On the contrary, this function is called already for mallocations.

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.