Reviewing r1166576...
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 9 Sep 2011 21:30:28 +0000 (21:30 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 9 Sep 2011 21:30:28 +0000 (21:30 +0000)
commite7cd6217b4441f46b7a0c5459013c8781e002a35
tree38024e41322d038be70a0bb9d21a93574a1b7b4c
parente3e0e302d8c9cceb69bdc2d6223b29064d9d2731
Reviewing r1166576...
Improve performance of Http11Processor.disableKeepAlive(): call getMaxThreads() first and do not call getCurrentThreadsBusy() twice,
because ThreadPoolExecutor.getActiveCount() in JRE is implemented as a loop that counts threads and that should be expensive.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1167368 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/coyote/http11/Http11Processor.java