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/03/07 23:23:32 UTC

svn commit: r1575431 - /subversion/trunk/subversion/libsvn_fs_fs/caching.c

Author: stefan2
Date: Fri Mar  7 22:23:32 2014
New Revision: 1575431

URL: http://svn.apache.org/r1575431
Log:
Reduce the number of high-prio objects cluttering the cache.

* subversion/libsvn_fs_fs/caching.c
  (svn_fs_fs__initialize_caches): Representation headers are only slightly
                                  more "important" than the actual windows.
                                  Assign the same prio; their small size
                                  alone increases their cache survivability.

Modified:
    subversion/trunk/subversion/libsvn_fs_fs/caching.c

Modified: subversion/trunk/subversion/libsvn_fs_fs/caching.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/caching.c?rev=1575431&r1=1575430&r2=1575431&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/caching.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/caching.c Fri Mar  7 22:23:32 2014
@@ -512,7 +512,7 @@ svn_fs_fs__initialize_caches(svn_fs_t *f
                        svn_fs_fs__deserialize_rep_header,
                        sizeof(pair_cache_key_t),
                        apr_pstrcat(pool, prefix, "REPHEADER", SVN_VA_NULL),
-                       SVN_CACHE__MEMBUFFER_HIGH_PRIORITY,
+                       SVN_CACHE__MEMBUFFER_DEFAULT_PRIORITY,
                        fs,
                        no_handler,
                        fs->pool));