A list of blocking methods in JVM

Alan Bateman Alan.Bateman at oracle.com
Fri Apr 26 13:18:37 UTC 2019


On 26/04/2019 13:30, Sergei Egorov wrote:
> Hello!
>
> Since Loom is also about taking care of the blocking methods, I was
> wondering if there is a list of all blocking (at least from I/O
> perspective) methods in the JVM?
>
> We need to know about them in the BlockHound tool (
> https://github.com/reactor/BlockHound ), to be able to detect blocking
> calls from non-blocking threads (this of course will become useless once
> Loom is integrated, but today and tomorrow the blocking calls will stay and
> we want to provide a tool to at least detect them :) )
>
Not exactly what you are looking for but it might be useful:
   https://wiki.openjdk.java.net/display/loom/Networking+IO

-Alan


More information about the loom-dev mailing list