Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2015-02-19 13:18:29 +0000
committerGreg Wilkins2015-02-19 13:18:29 +0000
commitb60ea47ef4df745d3e4c0c90235f4a9cae250119 (patch)
tree4577409af719f76413502ead0b5fca540696f98c /jetty-io
parent8bd94ec6be2c597effa3fdcf44c5d3211767e7e8 (diff)
downloadorg.eclipse.jetty.project-b60ea47ef4df745d3e4c0c90235f4a9cae250119.tar.gz
org.eclipse.jetty.project-b60ea47ef4df745d3e4c0c90235f4a9cae250119.tar.xz
org.eclipse.jetty.project-b60ea47ef4df745d3e4c0c90235f4a9cae250119.zip
Revert "Revert "Fixed AsyncIO double dispatch""
This reverts commit 8bd94ec6be2c597effa3fdcf44c5d3211767e7e8. This is a revert of the revert to add back in the useful debug, plus some TODO comments describing the problems
Diffstat (limited to 'jetty-io')
-rw-r--r--jetty-io/src/main/java/org/eclipse/jetty/io/FillInterest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/FillInterest.java b/jetty-io/src/main/java/org/eclipse/jetty/io/FillInterest.java
index de52bbd7cc..e3bc03ecca 100644
--- a/jetty-io/src/main/java/org/eclipse/jetty/io/FillInterest.java
+++ b/jetty-io/src/main/java/org/eclipse/jetty/io/FillInterest.java
@@ -60,6 +60,8 @@ public abstract class FillInterest
}
try
{
+ if (LOG.isDebugEnabled())
+ LOG.debug("{} register {}",this,callback);
needsFillInterest();
}
catch (Throwable e)
@@ -78,7 +80,7 @@ public abstract class FillInterest
LOG.debug("{} fillable {}",this,callback);
if (callback != null && _interested.compareAndSet(callback, null))
callback.succeeded();
- else
+ else if (LOG.isDebugEnabled())
LOG.debug("{} lost race {}",this,callback);
}

Back to the top