You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by iv...@apache.org on 2015/05/12 17:13:05 UTC
svn commit: r1678970 -
/subversion/trunk/subversion/libsvn_subr/cache-membuffer.c
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