server-skynet-source-3rd-je.../jemalloc/src
Jason Evans 10e4523094 Fix a heap dumping deadlock.
Restructure the ctx initialization code such that the ctx isn't locked
across portions of the initialization code where allocation could occur.
Instead artificially inflate the cnt_merged.curobjs field, just as is
done elsewhere to avoid similar races to the one that would otherwise be
created by the reduction in locking scope.

This bug affected interval- and growth-triggered heap dumping, but not
manual heap dumping.
2011-01-14 17:27:44 -08:00
..
arena.c Remove an arena_bin_run_size_calc() constraint. 2010-12-16 14:23:32 -08:00
base.c Port to Mac OS X. 2010-09-11 18:20:16 -07:00
chunk_dss.c Use mremap(2) for huge realloc(). 2010-11-30 16:50:58 -08:00
chunk_mmap.c Wrap strerror_r(). 2010-09-20 16:05:41 -07:00
chunk_swap.c Use mremap(2) for huge realloc(). 2010-11-30 16:50:58 -08:00
chunk.c Use mremap(2) for huge realloc(). 2010-11-30 16:50:58 -08:00
ckh.c Fix compiler warnings. 2010-09-20 19:20:48 -07:00
ctl.c Fix a "thread.arena" mallctl bug. 2010-12-29 12:21:05 -08:00
extent.c Rewrite red-black trees. 2010-02-28 15:00:18 -08:00
hash.c Restructure source tree. 2010-02-11 14:45:59 -08:00
huge.c Use mremap(2) for huge realloc(). 2010-11-30 16:50:58 -08:00
jemalloc.c Update various comments. 2010-12-17 18:07:53 -08:00
mb.c Restructure source tree. 2010-02-11 14:45:59 -08:00
mutex.c Make cumulative heap profile data optional. 2010-10-02 21:40:26 -07:00
prof.c Fix a heap dumping deadlock. 2011-01-14 17:27:44 -08:00
rtree.c Use offsetof() when sizing dynamic structures. 2010-10-01 18:02:43 -07:00
stats.c Replace JEMALLOC_OPTIONS with MALLOC_CONF. 2010-10-23 18:37:06 -07:00
tcache.c Replace JEMALLOC_OPTIONS with MALLOC_CONF. 2010-10-23 18:37:06 -07:00
zone.c Port to Mac OS X. 2010-09-11 18:20:16 -07:00