You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2014/02/13 23:11:52 UTC
svn commit: r1568063 -
/subversion/trunk/subversion/libsvn_subr/cache-membuffer.c
Author: stefan2
Date: Thu Feb 13 22:11:51 2014
New Revision: 1568063
URL: http://svn.apache.org/r1568063
Log:
* subversion/libsvn_subr/cache-membuffer.c
(increment_hit_counters): Update comment. No functional change.
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=1568063&r1=1568062&r2=1568063&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/cache-membuffer.c (original)
+++ subversion/trunk/subversion/libsvn_subr/cache-membuffer.c Thu Feb 13 22:11:51 2014
@@ -2018,8 +2018,7 @@ increment_hit_counters(svn_membuffer_t *
{
/* To minimize the memory footprint of the cache index, we limit local
* hit counters to 32 bits. These may overflow and we must make sure that
- * the global sums are still (roughly due to races) the sum of all local
- * counters. */
+ * the global sums are still the sum of all local counters. */
if (++entry->hit_count == 0)
cache->hit_count -= APR_UINT32_MAX;
else