From 54269dc0ed3e4d04b2539016431de3cfe8330719 Mon Sep 17 00:00:00 2001 From: Jason Evans Date: Thu, 16 Feb 2017 22:02:42 -0800 Subject: [PATCH] Remove obsolete arena_maybe_purge() call. Remove a call to arena_maybe_purge() that was necessary for ratio-based purging, but is obsolete in the context of decay-based purging. --- src/arena.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/arena.c b/src/arena.c index e0fa3a8b..a914abda 100644 --- a/src/arena.c +++ b/src/arena.c @@ -850,10 +850,6 @@ arena_slab_dalloc(tsdn_t *tsdn, arena_t *arena, extent_t *slab) { extent_hooks_t *extent_hooks = EXTENT_HOOKS_INITIALIZER; extent_dalloc_cache(tsdn, arena, &extent_hooks, slab); - - malloc_mutex_lock(tsdn, &arena->decay.mtx); - arena_maybe_purge(tsdn, arena); - malloc_mutex_unlock(tsdn, &arena->decay.mtx); } static void