Re: Optimizing Current

From: Bruce Cran <bruce_at_cran.org.uk>
Date: Mon, 12 Jul 2004 19:04:37 +0100
On 12 Jul 2004, at 17:49, Daniel Eriksson wrote:

> Bruce Cran wrote:
>
>> I think it's probably more about turning off malloc debugging
>> and using
>> a non-debug kernel.  To turn off malloc debugging, create a symlink
>> /etc/malloc.conf -> aj.   It's a broken link of course, but
>> it works -
>> see malloc(3) for more information.
>
> Is A and J turned on by default in CURRENT? I was under the impression 
> they
> were turned off by default if no symlink was present. Right or wrong?


 From the testing I've done, with no symlink present, printing out a 
malloc'd buffer results in a lot of 0xd0 s, while with a symlink 
pointing to 'aj' the memory was all 0s.   So it would seem that AJ is 
turned on by default in CURRENT.

--
Bruce Cran
Received on Mon Jul 12 2004 - 16:04:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:01 UTC