This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push: new 1bd2cd4 Log concurrency issues 1bd2cd4 is described below commit 1bd2cd44e2e360b69bb3bdb79d27b7474111abda Author: remm <r...@apache.org> AuthorDate: Tue May 7 00:31:34 2019 +0200 Log concurrency issues It does flag the tests with the few random failures, although the sample size is too small to call it. --- java/org/apache/tomcat/util/net/NioEndpoint.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/java/org/apache/tomcat/util/net/NioEndpoint.java b/java/org/apache/tomcat/util/net/NioEndpoint.java index 8d945bc..02fb854 100644 --- a/java/org/apache/tomcat/util/net/NioEndpoint.java +++ b/java/org/apache/tomcat/util/net/NioEndpoint.java @@ -1526,6 +1526,11 @@ public class NioEndpoint extends AbstractJsseEndpoint<NioChannel,SocketChannel> try { synchronized (this) { if (!completionDone) { + // This filters out same notification until processing + // of the current one is done + if (log.isDebugEnabled()) { + log.debug("Skip concurrent " + (read ? "read" : "write") + " notification"); + } return; } if (read) { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org