[Top][All Lists]

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

Re: glibc_malloc_overhead

From: Paul Eggert
Subject: Re: glibc_malloc_overhead
Date: Fri, 30 Sep 2011 10:13:26 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20110922 Thunderbird/3.1.15

On 09/30/11 00:34, Eli Zaretskii wrote:

> How stable can we expect the value of glibc_malloc_overhead to be?
> What if the glibc developers decide to change it whenever they see fit?

I think the value is fairly stable, but of course there's no guarantee.
(I blundered into the problem only because I was using some unusual
debugging options; normally, the code happened to not ask for a number
of bytes in the magic range that causes a core dump.)

> I'd suggest to only account for this overhead if glibc is
> being used.

Better yet, let's modify it to not depend on this particular glibc
internal at all.  I did that in the trunk, as bzr 105968.

reply via email to

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