Return-Path: X-Original-To: apmail-subversion-commits-archive@minotaur.apache.org Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CD61D17BEF for ; Tue, 12 May 2015 15:13:05 +0000 (UTC) Received: (qmail 63611 invoked by uid 500); 12 May 2015 15:13:05 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 63583 invoked by uid 500); 12 May 2015 15:13:05 -0000 Mailing-List: contact commits-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@subversion.apache.org Delivered-To: mailing list commits@subversion.apache.org Received: (qmail 63573 invoked by uid 99); 12 May 2015 15:13:05 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 May 2015 15:13:05 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id 958DBAC02E6 for ; Tue, 12 May 2015 15:13:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1678970 - /subversion/trunk/subversion/libsvn_subr/cache-membuffer.c Date: Tue, 12 May 2015 15:13:05 -0000 To: commits@subversion.apache.org From: ivan@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150512151305.958DBAC02E6@hades.apache.org> Author: ivan Date: Tue May 12 15:13:05 2015 New Revision: 1678970 URL: http://svn.apache.org/r1678970 Log: Follow-up to r1564217: Remove unused constant and outdated docstring. * subversion/libsvn_subr/cache-membuffer.c (ALLOCATIONS_PER_POOL_CLEAR): Remove. Modified: subversion/trunk/subversion/libsvn_subr/cache-membuffer.c Modified: subversion/trunk/subversion/libsvn_subr/cache-membuffer.c URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/cache-membuffer.c?rev=1678970&r1=1678969&r2=1678970&view=diff ============================================================================== --- subversion/trunk/subversion/libsvn_subr/cache-membuffer.c (original) +++ subversion/trunk/subversion/libsvn_subr/cache-membuffer.c Tue May 12 15:13:05 2015 @@ -2565,11 +2565,6 @@ typedef struct svn_membuffer_cache_t svn_mutex__t *mutex; } svn_membuffer_cache_t; -/* After an estimated ALLOCATIONS_PER_POOL_CLEAR allocations, we should - * clear the svn_membuffer_cache_t.pool to keep memory consumption in check. - */ -#define ALLOCATIONS_PER_POOL_CLEAR 10 - /* Basically calculate a hash value for KEY of length KEY_LEN, combine it * with the CACHE->PREFIX and write the result in CACHE->COMBINED_KEY. * This could replace combine_key() entirely but we actually use it only