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

markt-asf pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new 69f737b3c2 Remove unnecessary volatile
69f737b3c2 is described below

commit 69f737b3c24f8752deccc39d26e08048b1436414
Author: Mark Thomas <[email protected]>
AuthorDate: Wed Nov 4 16:26:39 2026 +0000

    Remove unnecessary volatile
---
 java/org/apache/tomcat/util/threads/InlineExecutorService.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/threads/InlineExecutorService.java 
b/java/org/apache/tomcat/util/threads/InlineExecutorService.java
index 52ca30bf79..7d788e0007 100644
--- a/java/org/apache/tomcat/util/threads/InlineExecutorService.java
+++ b/java/org/apache/tomcat/util/threads/InlineExecutorService.java
@@ -34,7 +34,7 @@ public class InlineExecutorService extends 
AbstractExecutorService {
     }
 
     private volatile boolean shutdown;
-    private volatile int runningTasks;
+    private int runningTasks;
     private volatile boolean terminated;
 
     private final Object lock = new Object();


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to