[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] Re: Call to strdup breaks heap profilers
From: |
Daniel Jacobowitz |
Subject: |
[Libunwind-devel] Re: Call to strdup breaks heap profilers |
Date: |
Mon, 21 Jul 2008 22:24:29 -0400 |
User-agent: |
Mutt/1.5.17 (2008-05-11) |
On Mon, Jul 21, 2008 at 07:11:51PM -0700, Arun Sharma wrote:
> I've temporarily reverted this commit from our copy of libunwind - so it's
> not super urgent. But it'd be nice to get a fix in the longer term that
> doesn't involve calls to malloc.
I've definitely not forgotten about this - I will get it fixed.
> Also, I'm curious about how the mpatrol recursion guard works. In our case,
> the lock in question is in the malloc implementation itself [1].
Nothing particularly special; it already had a recursion trap, just
wasn't applying it in some places. The checking happens outside of
normal allocation locking.
--
Daniel Jacobowitz
CodeSourcery