From e93b618b21b3302abcfafe7bd915445beb380326 Mon Sep 17 00:00:00 2001 From: wbq_sky Date: Tue, 8 Jun 2021 20:07:06 +0800 Subject: [PATCH] Deleted the unrelated code Signed-off-by: wbq_sky --- .../libs/distributeddb/common/src/task_pool_impl.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/services/distributeddataservice/libs/distributeddb/common/src/task_pool_impl.cpp b/services/distributeddataservice/libs/distributeddb/common/src/task_pool_impl.cpp index 4c0ce9a0f..40b66cb39 100755 --- a/services/distributeddataservice/libs/distributeddb/common/src/task_pool_impl.cpp +++ b/services/distributeddataservice/libs/distributeddb/common/src/task_pool_impl.cpp @@ -13,7 +13,6 @@ * limitations under the License. */ #include "task_pool_impl.h" -#include #include "db_errno.h" #include "log_print.h" @@ -145,8 +144,6 @@ bool TaskPoolImpl::IdleExit(std::unique_lock &lock) return true; } } else { - // No task exist, force release memory cache for this thread - (void)mallopt(M_PURGE, 0); if (isGenericWorker) { hasTasks_.notify_all(); } -- Gitee