From: ludovic.courtes@laas.fr (Ludovic Courtès)
Subject: Re: [PATCH] Fixed `scm_i_take_stringbufn ()'
Date: Wed, 15 Feb 2006 09:01:30 +0100 [thread overview]
Message-ID: <878xsdnj8l.fsf@laas.fr> (raw)
In-Reply-To: <8764nhjvl5.fsf@zip.com.au> (Kevin Ryde's message of "Wed, 15 Feb 2006 11:48:22 +1100")
Kevin Ryde <user42@zip.com.au> writes:
> I made some memory leak checks for myself by demanding that
> "(assoc-ref (gc-stats) 'bytes-malloced)" was steady across some
> repetitions of a test. That's actually a different number though (is
> it?), but it should in theory be possible to exercise some of the
> malloc/free counting or balancing (post 1.8 that is :-).
I'm not sure doing so would be that easy because `bytes-malloced'
follows a periodic distribution whose period is unknown (i.e., each call
to `scm_take_locale_stringn ()' makes it slightly increase, and each
mark/sweep sequence -- which is occurs roughly periodically -- changes
it back to a much lower value).
Thanks,
Ludovic.
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
next prev parent reply other threads:[~2006-02-15 8:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-13 16:38 [PATCH] Fixed `scm_i_take_stringbufn ()' Ludovic Courtès
2006-02-13 21:38 ` Kevin Ryde
2006-02-14 9:47 ` Ludovic Courtès
2006-02-15 0:38 ` Kevin Ryde
2006-02-15 7:58 ` Ludovic Courtès
2006-02-15 22:03 ` Kevin Ryde
2006-02-21 8:37 ` Ludovic Courtès
2006-02-15 0:48 ` Kevin Ryde
2006-02-15 8:01 ` Ludovic Courtès [this message]
2006-02-15 22:15 ` Kevin Ryde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878xsdnj8l.fsf@laas.fr \
--to=ludovic.courtes@laas.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).