You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2021/08/18 09:06:53 UTC

[tomcat] branch 10.0.x updated: Remove NioSelectorShared leftovers

This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.0.x by this push:
     new d1d4034  Remove NioSelectorShared leftovers
d1d4034 is described below

commit d1d40340afe3f0ab85b56f65277eba63cc5882f0
Author: remm <re...@apache.org>
AuthorDate: Wed Aug 18 11:06:35 2021 +0200

    Remove NioSelectorShared leftovers
---
 build.properties.default    |  4 ----
 build.xml                   |  1 -
 webapps/docs/config/ajp.xml | 25 -------------------------
 3 files changed, 30 deletions(-)

diff --git a/build.properties.default b/build.properties.default
index 1c1c174..09f2b2f 100644
--- a/build.properties.default
+++ b/build.properties.default
@@ -69,10 +69,6 @@ execute.findbugs=false
 # multicast tests to work
 java.net.preferIPv4Stack=false
 
-# Specify the default (true) else the empty string will be used which
-# effectively changes the setting to false
-org.apache.tomcat.util.net.NioSelectorShared=true
-
 # Location of GPG executable (used only for releases)
 gpg.exec=/path/to/gpg
 
diff --git a/build.xml b/build.xml
index b3a6a7b..de0272b 100644
--- a/build.xml
+++ b/build.xml
@@ -1983,7 +1983,6 @@
         <jvmarg value="-Djava.library.path=${test.apr.loc}"/>
         <jvmarg value="${test.formatter}"/>
         <jvmarg value="-Djava.net.preferIPv4Stack=${java.net.preferIPv4Stack}"/>
-        <jvmarg value="-Dorg.apache.tomcat.util.net.NioSelectorShared=${org.apache.tomcat.util.net.NioSelectorShared}"/>
 
         <!-- Java 9 -->
         <jvmarg value="${java9.test.option.1}"/>
diff --git a/webapps/docs/config/ajp.xml b/webapps/docs/config/ajp.xml
index 1b678cd..81c825a 100644
--- a/webapps/docs/config/ajp.xml
+++ b/webapps/docs/config/ajp.xml
@@ -708,31 +708,6 @@
         <code>-1</code> for unlimited cache and <code>0</code> for no cache.</p>
       </attribute>
 
-      <attribute name="selectorPool.maxSelectors" required="false">
-        <p>(int)The max selectors to be used in the pool, to reduce selector
-        contention. Use this option when the command line
-        <code>org.apache.tomcat.util.net.NioSelectorShared</code> value is set
-        to false. Default value is <code>200</code>.</p>
-      </attribute>
-
-      <attribute name="selectorPool.maxSpareSelectors" required="false">
-        <p>(int)The max spare selectors to be used in the pool, to reduce
-        selector contention. When a selector is returned to the pool, the system
-        can decide to keep it or let it be GC'd. Use this option when the
-        command line <code>org.apache.tomcat.util.net.NioSelectorShared</code>
-        value is set to false. Default value is <code>-1</code> (unlimited).</p>
-      </attribute>
-
-      <attribute name="command-line-options" required="false">
-        <p>The following command line options are available for the NIO
-        connector:<br/>
-        <code>-Dorg.apache.tomcat.util.net.NioSelectorShared=true|false</code>
-        - default is <code>true</code>. Set this value to <code>false</code> if you wish to
-        use a selector for each thread. When you set it to <code>false</code>, you can
-        control the size of the pool of selectors by using the
-        <strong>selectorPool.maxSelectors</strong> attribute.</p>
-      </attribute>
-
     </attributes>
   </subsection>
 

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