mallctl("arenas.purge") dead-locks

Mike Hommey mh+jemalloc at glandium.org
Wed Oct 31 01:38:18 PDT 2012


Hi,

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.

Mike



More information about the jemalloc-discuss mailing list