patch: mt_allocator.h
Paolo Carlini
pcarlini@suse.de
Tue Jun 8 15:00:00 GMT 2004
Dhruv Matani wrote:
>> Before any other consideration: is this regtested?
>
> It originally wasn't, but after running it, the patch did pass the
> tests, so it's ok ;-)
Ok, thanks. Check-performance too?
I agree with you that, at least, this is the original SGI/HP design
for pool_allocator: see the attached patch, which I will commit soon
to mainline (if nobody object, indeed).
About mt_allocator, I'd like to think about it a little bit more: I'm
not 1000% sure that this is always the best choice also in presence of
threads, and so on.
In any case, what about not splitting mt_allocator in a __gnu_internal::
part and a std:: part? Can't we put *all* the implementation details
inside _Mt_alloc_base?
Paolo.
///////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_pool
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040608/de9b4ec2/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_pool
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040608/de9b4ec2/attachment-0001.ksh>
More information about the Libstdc++
mailing list