This is an automated email from the ASF dual-hosted git repository.
markt-asf 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 2d5b03b28b Remove unnecessary volatile
2d5b03b28b is described below
commit 2d5b03b28bc3a3f69a7790476f900f120e3dcdc2
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 0cbb959c40..0e9919e893 100644
--- a/java/org/apache/tomcat/util/threads/InlineExecutorService.java
+++ b/java/org/apache/tomcat/util/threads/InlineExecutorService.java
@@ -35,7 +35,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]