This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new b37eb9b66f Actually use pollerThreadPriority
b37eb9b66f is described below
commit b37eb9b66f88ad6bd4a77e04b2ee576470ef9775
Author: remm <[email protected]>
AuthorDate: Wed May 20 12:19:07 2026 +0200
Actually use pollerThreadPriority
---
java/org/apache/tomcat/util/net/NioEndpoint.java | 2 +-
webapps/docs/changelog.xml | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/java/org/apache/tomcat/util/net/NioEndpoint.java
b/java/org/apache/tomcat/util/net/NioEndpoint.java
index 7b1dff1ddb..09b4750f33 100644
--- a/java/org/apache/tomcat/util/net/NioEndpoint.java
+++ b/java/org/apache/tomcat/util/net/NioEndpoint.java
@@ -374,7 +374,7 @@ public class NioEndpoint extends
AbstractNetworkChannelEndpoint<NioChannel,Socke
// Start poller thread
poller = new Poller();
Thread pollerThread = new Thread(poller, getName() + "-Poller");
- pollerThread.setPriority(threadPriority);
+ pollerThread.setPriority(pollerThreadPriority);
pollerThread.setDaemon(true);
pollerThread.start();
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 0a815eec03..af9c428c0c 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -163,6 +163,10 @@
<bug>70050</bug>: Avoid NPE when no header frame is processed in
HTTP/2,
following refactor clean-up of header buffer. (remm)
</fix>
+ <fix>
+ Properly use <code>pollerThreadPriority</code> for the NIO poller
+ thread. (remm)
+ </fix>
</changelog>
</subsection>
<subsection name="Jasper">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]