Author: remm
Date: Thu May 21 15:31:30 2015
New Revision: 1680909

URL: http://svn.apache.org/r1680909
Log:
Set useCaches to true for testing before removing it. I am now more interested 
in channel caching, but IMO processor (and also event in NIO1) caching should 
be dropped.

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java?rev=1680909&r1=1680908&r2=1680909&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java Thu May 21 
15:31:30 2015
@@ -102,7 +102,7 @@ public class Nio2Endpoint extends Abstra
     /**
      * Use the object caches to reduce GC at the expense of additional memory 
use.
      */
-    private boolean useCaches = false;
+    private boolean useCaches = true;
     public void setUseCaches(boolean useCaches) { this.useCaches = useCaches; }
     public boolean getUseCaches() { return useCaches; }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to