NIO Socket.read() may not respect the socket timeout
Alan Bateman
alan.bateman at oracle.com
Wed May 28 19:04:47 UTC 2025
On 28/05/2025 18:56, Alexei Olkhovskii wrote:
>
> Hi Alan, thanks for response
>
> > Would it be possible to do some digging to say for sure if this
> happens after StackOverflowError (SOE)?
>
> We saw a thread throwing an SOE while holding a DB connection. Later,
> there was another thread getting stuck while trying to cleanup a
> connection.
>
This may be an issue with the reserved stack area. There was work done
in JDK 9 via JEP 270 [1] but I think it needs to be looked at again.
-Alan
[1] https://openjdk.org/jeps/270
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/nio-dev/attachments/20250528/286f171b/attachment.htm>
More information about the nio-dev
mailing list