Re: [MERGE] Split MemPool.cc into framework and allocators

2010-05-29 Thread Henrik Nordström
lör 2010-05-29 klockan 22:36 +1200 skrev Amos Jeffries: > Okay. Forget the shuffling in this commit then. > > +1. Merged. Regards Henrik

Re: [MERGE] Split MemPool.cc into framework and allocators

2010-05-29 Thread Henrik Nordström
lör 2010-05-29 klockan 15:17 +1200 skrev Amos Jeffries: > Also needs release notes update for added option > --enable-chunkedmempools and removed option --enable-mempools. I think I'll actually drop the configure parameter for now. That code is now experimental, and can be enabled by a environme

Re: [PATCH] search for modern malloc implementation

2010-05-29 Thread Amos Jeffries
Kinkie wrote: On Sat, May 29, 2010 at 8:58 AM, Amos Jeffries wrote: This updates configure.in to make it search for and link in a modern malloc library. If none is found the default libc implementation is used. To save flags state in configure.in there's utility functions, please see SQUID_ST

Re: [MERGE] Split MemPool.cc into framework and allocators

2010-05-29 Thread Henrik Nordström
lör 2010-05-29 klockan 22:36 +1200 skrev Amos Jeffries: > That single squid_curtime dependency is exactly the remaining problem > with the non-squid binaries in AIX and Cygwin builds. Despite the > binaries that are breaking making no use of this memory code. That dependency never brings in the

Re: [MERGE] Split MemPool.cc into framework and allocators

2010-05-29 Thread Amos Jeffries
Henrik Nordström wrote: lör 2010-05-29 klockan 15:06 +1200 skrev Amos Jeffries: This is the bit intended for 3.2+ right? Should probably go back to earlier releases as well. Loss of mempool statistics is highly undesired. Okay. Forget the shuffling in this commit then. +1. In addition t

Re: [MERGE] Split MemPool.cc into framework and allocators

2010-05-29 Thread Henrik Nordström
lör 2010-05-29 klockan 15:06 +1200 skrev Amos Jeffries: > This is the bit intended for 3.2+ right? Should probably go back to earlier releases as well. Loss of mempool statistics is highly undesired. In addition the small change in trunk is missing configure.in help text correction. Thought I di

Re: [PATCH] search for modern malloc implementation

2010-05-29 Thread Henrik Nordström
lör 2010-05-29 klockan 18:58 +1200 skrev Amos Jeffries: > +CXXFLAGS="$CXXFLAGS -nostdlib" > +AC_SEARCH_LIBS([malloc],[tcmalloc jemalloc dlmalloc ptmalloc3 > nedmalloc ptmalloc2 malloc]) > +CXXFLAGS=$saved_flags I am not very comfortable with this. -nostdlib is a GCC option, and also there is no gu

Re: [PATCH] search for modern malloc implementation

2010-05-29 Thread Kinkie
On Sat, May 29, 2010 at 8:58 AM, Amos Jeffries wrote: > This updates configure.in to make it search for and link in a modern malloc > library. If none is found the default libc implementation is used. To save flags state in configure.in there's utility functions, please see SQUID_STATE_SAVE/SQUID