On Dec 23, 2015, at 10:32 AM, Cosmin Paraschiv <[email protected]> wrote:
> When using LinuxThreads, malloc bootstrapping deadlocks, since
> malloc_tsd_boot0
> ends up calling pthread_setspecific, which causes recursive allocation. Fix
> it,
> by moving the malloc_tsd_boot0 call to malloc_init_hard_recursible.
>
> The deadlock has been introduced by commit 8bb3198f72, when tsd_boot was split
> and the top half, tsd_boot0, got an extra tsd_wrapper_set call.
>
> Signed-off-by: Cosmin Paraschiv <[email protected]>
> ---
> src/jemalloc.c | 21 ++++++++++++++++-----
> 1 file changed, 16 insertions(+), 5 deletions(-)
>
> <0001-Call-malloc_tsd_boot0-from-malloc_init_hard_recursib.patch>_______________________________________________
>
Integrated:
https://github.com/jemalloc/jemalloc/commit/9cb481a73f6d2b518f695a669c1f850e477fdd2c
Thanks,
Jason
_______________________________________________
jemalloc-discuss mailing list
[email protected]
http://www.canonware.com/mailman/listinfo/jemalloc-discuss