subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svn-r...@apache.org
Subject svn commit: r1585643 - in /subversion/branches/1.8.x: ./ STATUS subversion/libsvn_subr/config_file.c
Date Tue, 08 Apr 2014 04:01:36 GMT
Author: svn-role
Date: Tue Apr  8 04:01:36 2014
New Revision: 1585643

URL: http://svn.apache.org/r1585643
Log:
Merge r1581296 from trunk:

 * r1581296
   Reduce buffer size used for parsing config files. There no reason to waste 
   100kb of memory -- 16kb is enough to avoid I/O overhead.
   Justification:
     Significantly reduce server memory footprint on high load.
   Votes:
     +1: ivan, rhuijben, kotkov

Modified:
    subversion/branches/1.8.x/   (props changed)
    subversion/branches/1.8.x/STATUS
    subversion/branches/1.8.x/subversion/libsvn_subr/config_file.c

Propchange: subversion/branches/1.8.x/
------------------------------------------------------------------------------
  Merged /subversion/trunk:r1581296

Modified: subversion/branches/1.8.x/STATUS
URL: http://svn.apache.org/viewvc/subversion/branches/1.8.x/STATUS?rev=1585643&r1=1585642&r2=1585643&view=diff
==============================================================================
--- subversion/branches/1.8.x/STATUS (original)
+++ subversion/branches/1.8.x/STATUS Tue Apr  8 04:01:36 2014
@@ -378,14 +378,6 @@ Veto-blocked changes:
 Approved changes:
 =================
 
- * r1581296
-   Reduce buffer size used for parsing config files. There no reason to waste 
-   100kb of memory -- 16kb is enough to avoid I/O overhead.
-   Justification:
-     Significantly reduce server memory footprint on high load.
-   Votes:
-     +1: ivan, rhuijben, kotkov
-
  * r1583977
    Do not leave dead transaction if commit was blocked by start-commit hook.
    Justification:

Modified: subversion/branches/1.8.x/subversion/libsvn_subr/config_file.c
URL: http://svn.apache.org/viewvc/subversion/branches/1.8.x/subversion/libsvn_subr/config_file.c?rev=1585643&r1=1585642&r2=1585643&view=diff
==============================================================================
--- subversion/branches/1.8.x/subversion/libsvn_subr/config_file.c (original)
+++ subversion/branches/1.8.x/subversion/libsvn_subr/config_file.c Tue Apr  8 04:01:36 2014
@@ -69,7 +69,7 @@ typedef struct parse_context_t
 
   /* Parser buffer for getc() to avoid call overhead into several libraries
      for every character */
-  char parser_buffer[SVN_STREAM_CHUNK_SIZE]; /* Larger than most config files */
+  char parser_buffer[SVN__STREAM_CHUNK_SIZE]; /* Larger than most config files */
   size_t buffer_pos; /* Current position within parser_buffer */
   size_t buffer_size; /* parser_buffer contains this many bytes */
 } parse_context_t;



Mime
View raw message