Re: squid-3.HEAD IPAddress leak

From: Adrian Chadd <adrian@dont-contact.us>
Date: Thu, 7 Feb 2008 12:21:10 +0900

On Thu, Feb 07, 2008, Robert Collins wrote:
> >
> > I've removed that hack, and things work fine for me. Ubuntu 7.01 here, x86_64.
>
> There's a useful c++ thing called 'placement new' - its used when you
> have classes that you want to use on the stack, but still have tight
> abstraction boundaries.

Well, I haven't removed the temporary malloc/free pair, whatever its called;
I've just removed Amos' workaround in src/comm.cc so it doesn't leak on my
system whilst I profile.

Still, this is one of those "death of a thousand cuts" method of killing performance..

Adrian
Received on Wed Feb 06 2008 - 20:09:21 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:09 MST