Author: markt
Date: Fri Sep 17 16:43:33 2010
New Revision: 998195

URL: http://svn.apache.org/viewvc?rev=998195&view=rev
Log:
Nothing was reading this. Remove it. It can always be added back in later if we 
need it for something.

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

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?rev=998195&r1=998194&r2=998195&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Fri Sep 17 
16:43:33 2010
@@ -120,11 +120,6 @@ public class NioEndpoint extends Abstrac
     long lastParachuteCheck = System.currentTimeMillis();
     
     /**
-     * Keep track of how many threads are in use
-     */
-    protected AtomicInteger activeSocketProcessors = new AtomicInteger(0);
-    
-    /**
      * 
      */
     protected volatile CountDownLatch stopLatch = null;
@@ -1469,7 +1464,6 @@ public class NioEndpoint extends Abstrac
         }
          
         public void run() {
-            NioEndpoint.this.activeSocketProcessors.addAndGet(1);
             SelectionKey key = null;
             try {
                 key = 
socket.getIOChannel().keyFor(socket.getPoller().getSelector());
@@ -1543,7 +1537,7 @@ public class NioEndpoint extends Abstrac
                 status = null;
                 //return to cache
                 processorCache.offer(this);
-                NioEndpoint.this.activeSocketProcessors.addAndGet(-1);         
   }
+            }
         }
 
     }



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

Reply via email to