Hanging conftest
Siddhesh Poyarekar
siddhesh@redhat.com
Wed Dec 4 03:38:00 GMT 2013
On Tue, Dec 03, 2013 at 10:08:04AM -0700, Eric Blake wrote:
> Michal complained that setting MALLOC_CHECK_ for the entire configure
> slowed things down.
That's funny because...
> #endif
> +#ifdef M_CHECK_ACTION
> + mallopt(M_CHECK_ACTION, 2);
> +#endif
> +
... this should have the same effect as MALLOC_CHECK_, i.e. it should
enable the extra checking and slow things down in the same manner as
MALLOC_CHECK_. However, it looks like we don't do __malloc_check_init
for M_CHECK_ACTION, which is what initializes the additional checks.
Does anyone know if it is intentional? It looks like a bug to me.
Siddhesh
More information about the Libc-alpha
mailing list