Native methods and virtual threads

Brian S O'Neill bronee at gmail.com
Fri Jul 14 19:51:57 UTC 2023


What I really meant was, what are some of the ideas being discussed to 
allow arbitrary native methods to work in harmony with virtual threads. 
The InetAddressResolver just handles one specific case.

On 2023-07-14 12:37 PM, Alan Bateman wrote:
> On 14/07/2023 20:28, Brian S O'Neill wrote:
>> What are some of the ideas being discussed, other than using io_uring 
>> for the JDK file API?
> 
> Look at JEP 418 as an example, that allows you to deploy an 
> InetAddressResolver that releases the carrier during lookup operations. 
> The JDK built-in implementation smooths over this right now by 
> temporarily increasing parallelism during lookup operations.
> 
> -Alan


More information about the loom-dev mailing list