[v3] conforming ext/allocators

Benjamin Kosnik bkoz@redhat.com
Tue Dec 23 08:12:00 GMT 2003


tested x86/linux

This converts most of the ext/allocators to the new style.

__new_alloc -> new_allocator
__malloc_alloc -> malloc_allocator
__mt_allococ -> (same, unfinished)
__debug_alloc -> debug_allocator

The current default allocator, __pool_alloc, is untouched except for
minimal fixups due to fallout from the above.

The __mt_alloc bits are started, but not especially done. This allocator
is currently not especially usable, although it can now be compiled. It
needs some work, which will be the subject of a separate message.

I'm not quite sure how useful debug_allocator is, but it was easy enough
to fix.

-benjamin


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: p.20031223-1.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20031223/b0d2ad9d/attachment.ksh>


More information about the Gcc-patches mailing list