You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2023/05/22 12:52:22 UTC

[tomcat] branch 9.0.x updated: Use consistent default naming for virtual threads

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

markt 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 1face8c2b1 Use consistent default naming for virtual threads
1face8c2b1 is described below

commit 1face8c2b16f67dcc7a6800e8506032818b25359
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon May 22 13:51:48 2023 +0100

    Use consistent default naming for virtual threads
---
 java/org/apache/tomcat/util/net/AbstractEndpoint.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/net/AbstractEndpoint.java b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
index 9ed6966ae2..aa8debbb93 100644
--- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
+++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
@@ -1081,7 +1081,7 @@ public abstract class AbstractEndpoint<S,U> {
     public void createExecutor() {
         internalExecutor = true;
         if (getUseVirtualThreads()) {
-            executor = new VirtualThreadExecutor(getName() + "-exec-");
+            executor = new VirtualThreadExecutor(getName() + "-virt-");
         } else {
             TaskQueue taskqueue = new TaskQueue();
             TaskThreadFactory tf = new TaskThreadFactory(getName() + "-exec-", daemon, getThreadPriority());


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