axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sc...@apache.org
Subject svn commit: r657839 - /webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/JAXBUtils.java
Date Mon, 19 May 2008 14:40:48 GMT
Author: scheu
Date: Mon May 19 07:40:47 2008
New Revision: 657839

URL: http://svn.apache.org/viewvc?rev=657839&view=rev
Log:
Quick Change to increase the JAXBUtils pool size.  
Contributor:David Strite
Due to recent changes to switch from WeakReferences to SoftReferences, the pool size is not
being
hit.  Increasing to 50 is a reasonable limit.

Modified:
    webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/JAXBUtils.java

Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/JAXBUtils.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/JAXBUtils.java?rev=657839&r1=657838&r2=657839&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/JAXBUtils.java
(original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/JAXBUtils.java
Mon May 19 07:40:47 2008
@@ -1067,7 +1067,7 @@
                     new ConcurrentHashMap<K, List<V>>());
 
         // The maps are freed up when a LOAD FACTOR is hit
-        private static int MAX_LIST_FACTOR = 10;
+        private static int MAX_LIST_FACTOR = 50;
         
         /**
          * @param key



Mime
View raw message