This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new c21ca9cad8 Actually use pollerThreadPriority
c21ca9cad8 is described below
commit c21ca9cad89c02cc30640e2675bc202b5b8fc0f9
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 fa97418b84..50e12c67eb 100644
--- a/java/org/apache/tomcat/util/net/NioEndpoint.java
+++ b/java/org/apache/tomcat/util/net/NioEndpoint.java
@@ -404,7 +404,7 @@ public class NioEndpoint extends
AbstractJsseEndpoint<NioChannel,SocketChannel>
// 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 4bcde36698..d7d5b9dd0e 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -155,6 +155,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]