Easy way to try out alternate allocators?

Benjamin Kosnik bkoz@redhat.com
Fri Oct 16 20:33:00 GMT 2009


> Is there any compile-time flag to enable a different allocator
> globally?  

Configure time only.

look for "--enable-libstdcxx-allocator"
http://gcc.gnu.org/onlinedocs/libstdc++/manual/configure.html

> Other debugging / performance suggestions welcome as well.  Thanks,

See:
http://gcc.gnu.org/onlinedocs/libstdc++/manual/debug.html

-benjamin



More information about the Libstdc++ mailing list