On Thu, 2019-09-12 at 14:24 -0700, Roy Hashimoto wrote:
> In the attached HttpCore 5.0 server program (gist), I'm using
> Conscrypt for the TLS provider. It works, but I noticed that after
> each request the CPU gets pegged to 100% usage.
> 
> I'm using org.conscrypt:conscrypt-openjdk-uber:2.2.1 and HttpCore 5.0
> from source at the HTTPCORE-599 fix. I see the same behavior on macOS
> Mojave and Debian Jessie. I'm using Conscrypt for ALPN on Java 8,
> though the minimal sample program here doesn't enable it.
> 
> What I see in the debugger is that SingleCoreIOReactor.doExecute() is
> repeatedly called with this line returning readyCount=1. It looks
> like the selector is set to SelectionKey.OP_WRITE,
> 
> Not sure if this is a HttpCore bug or a Conscrypt bug. I looked
> through the Conscrypt issues but nothing caught my attention as
> related.
> 
> Roy
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]

Roy

I am a bit tied up with other things at the moment (like trying to not
be a complete failure as a father to a 9 year old daughter) but I will
take a look at this issue next week. Anyway I am in the process of
making substantial changes to the TLS/SSL NIO layer and it likely makes
no sense to deal with issue until thatthe TLS/SSL NIO refactoring is
complete.

Cheers

Oleg  


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

Reply via email to