Optimizing Current
Bruce Cran
bruce at cran.org.uk
Mon Jul 12 11:04:39 PDT 2004
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
More information about the freebsd-current
mailing list