
14 Jun
2010
14 Jun
'10
8:55 a.m.
On 06/14/2010 08:04 AM, Steven Watanabe wrote:
AMDG
Has anyone here seen this problem? I do not know whether this is a bug with tcmalloc or boost, but I would really like to use tcmalloc because it gives me a 10-50% performance increase when I am not throwing exceptions.
I think __cxa_demangle is using glibc's malloc implementation, but free is calling tcmalloc. I have no idea how to make __cxa_demangle work with tcmalloc.
If you link with tcmalloc, you can check ldd output to verify that tcmalloc is the very first library in the list. If it's not, try moving it to the beginning of the linker command line.