tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rémy Maucherat <r...@apache.org>
Subject Re: svn commit: r1652468 - /tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java
Date Mon, 19 Jan 2015 10:52:25 GMT
2015-01-17 2:41 GMT+01:00 Mark Thomas <markt@apache.org>:

> The other thought I had (but haven't had time to test for performance
> impact) is that the readPending semaphore is really only useful when the
> previous or current read is non-blocking. A blocking read followed by a
> blocking read doesn't need it.
>
> I tested it (commenting it out in flushBlocking), the impact is rather
marginal with ab.

Rémy

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message