[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libunwind-devel] [patch] Fix for fast unwind and tcmalloc not playi
Re: [Libunwind-devel] [patch] Fix for fast unwind and tcmalloc not playing well together.
Fri, 28 Oct 2011 15:08:28 +0200
Hi Paul, Arun,
> I propose combined approach: delay until PTHREAD_DESTRUCTOR_ITERATIONS,
> then set "cache_destroyed" boolean so we don't re-allocate (and don't leak).
> Re-tested on Linux/x86_64 (Ubuntu 10.04); no new failures.
> [This patch also cleans up 'return 0;' vs. 'return NULL;']
I've tested the patch and for my part, it's fine. Thanks Paul for the fix.