[RFA] Adding n <= max_size check in allocator::allocate

Paolo Carlini pcarlini@suse.de
Wed Oct 20 14:42:00 GMT 2004


Paolo Carlini wrote:

> From a QoI point of view, at least, I think we should have these
> checks in our allocators (only pool_allocator is ok!) and mean to
> work on this ASAP, together with the corresponding testcases.

Hi again,

Just finished testing the below on x86/x86_64, 
--enable-libstdcxx-allocator=mt,
bitmap, new, pool.

I will commit it later today, barring objections...

Paolo.

///////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_big_alloc
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20041020/07be9e85/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_big_alloc
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20041020/07be9e85/attachment-0001.ksh>


More information about the Libstdc++ mailing list