avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/collections BucketMap.java
Date Mon, 18 Feb 2002 13:44:39 GMT
bloritsch    02/02/18 05:44:39

  Modified:    src/java/org/apache/avalon/excalibur/collections
                        BucketMap.java
  Log:
  make BucketMap default to a size that is not a power of 2, increase the number of threads
on the ContainerProfile, decrease the number of components
  
  Revision  Changes    Path
  1.7       +3 -3      jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/collections/BucketMap.java
  
  Index: BucketMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/collections/BucketMap.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- BucketMap.java	16 Feb 2002 12:17:55 -0000	1.6
  +++ BucketMap.java	18 Feb 2002 13:44:39 -0000	1.7
  @@ -18,12 +18,12 @@
    *
    * @author  <a href="bloritsch@apache.org">Berin Loritsch</a>
    * @author  <a href="g-froehlich@gmx.de">Gerhard Froehlich</a>
  - * @version CVS $Revision: 1.6 $ $Date: 2002/02/16 12:17:55 $
  + * @version CVS $Revision: 1.7 $ $Date: 2002/02/18 13:44:39 $
    * @since 4.0
    */
   public final class BucketMap
   {
  -    private static final int DEFAULT_BUCKETS = 256;
  +    private static final int DEFAULT_BUCKETS = 255;
       private final Node[]   m_buckets;
       private final Object[] m_locks;
   
  @@ -78,7 +78,7 @@
   
           return keySet;
       }
  -    
  +
        /**
        * Returns the current number of key, value pairs.
        *
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message