This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Speeing up __cxa_atexit
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 06 Jun 2002 20:02:38 +0200
- Subject: Re: Speeing up __cxa_atexit
- Organization: CodeSourcery, LLC
- References: <20330000.1023381579@warlock.codesourcery.com>
Mark Mitchell <mark@codesourcery.com> writes:
[...]
| See my point about what happens if users replace functions like malloc.
Certainly I don't undertand what is really going on, but I'm sure when
the user replaces malloc(), he/she invokes undefined behaviour.
He/she can however replace operator new() -- that is why some
implementations of quality use malloc() (or any other homegrown
allocators) for their internals.
-- Gaby