On 11/18/2015 6:02 PM, Cosmin Paraschiv 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 | 23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)
Bump.
_______________________________________________
jemalloc-discuss mailing list
[email protected]
http://www.canonware.com/mailman/listinfo/jemalloc-discuss