mallctl("arenas.purge") dead-locks

Jason Evans jasone at
Sat Nov 3 23:07:35 PDT 2012

On Oct 31, 2012, at 1:38 AM, Mike Hommey wrote:
> When i tried using arenas.purge, it appeared that it is dead-locking.
> This is due to both arenas_purge_ctl and arena_purge getting the
> ctl_mtx mutex.
> I know arena.i.purge replaces arenas.purge, but arenas.purge is still
> more convenient, since it doesn't require to retrieve narenas.

This is fixed now on the dev branch:;a=commit;h=34457f51448e81f32a1bff16bbf600b79dd9ec5a


More information about the jemalloc-discuss mailing list