From: markt Date: Fri, 17 Sep 2010 16:43:33 +0000 (+0000) Subject: Nothing was reading this. Remove it. It can always be added back in later if we need... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=fe3c58d630f5e30a0807df7619ea9e0790f7fed0;p=tomcat7.0 Nothing was reading this. Remove it. It can always be added back in later if we need it for something. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@998195 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/tomcat/util/net/NioEndpoint.java b/java/org/apache/tomcat/util/net/NioEndpoint.java index 4004c3d43..6cb20abcc 100644 --- a/java/org/apache/tomcat/util/net/NioEndpoint.java +++ b/java/org/apache/tomcat/util/net/NioEndpoint.java @@ -120,11 +120,6 @@ public class NioEndpoint extends AbstractEndpoint { 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 AbstractEndpoint { } 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 AbstractEndpoint { status = null; //return to cache processorCache.offer(this); - NioEndpoint.this.activeSocketProcessors.addAndGet(-1); } + } } }