A list of blocking methods in JVM

Ron Pressler ron.pressler at oracle.com
Fri Apr 26 13:47:02 UTC 2019


Plus LockSupport.park, of course.


On April 26, 2019 at 2:19:07 PM, Alan Bateman (alan.bateman at oracle.com) wrote:

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