PATCH: include/ext/mt_allocator.h

Gerald Pfeifer gerald@pfeifer.com
Thu Feb 26 23:44:00 GMT 2004


On Fri, 23 Jan 2004, Loren James Rittle wrote:
> As committed to mainline.  Bootstrapped and regression checked on
> i386-unknown-freebsd4.9 (and elsewhere by others).  Radical
> performance improvement noted on various platforms.  Thank you Stefan!
>
> 2004-01-23  Stefan Olsson  <stefan@snon.net>
>
> 	* include/ext/mt_allocator.h: Reduce lock contention.

If this is so useful, would that be suitable for the 3.4 branch as well?

(Does this also help with the non-thread case?)

Gerald



More information about the Libstdc++ mailing list