Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The following blocking operations are virtual thread friendly in the current prototype; these methods do not pin the carrier thread when the operation blocks.

...

socket adaptor receive also okay

...

The following blocking operations pin the carrier thread when the operation blocks. These blocking operations do use the ForkJoinPool.ManagedBocker mechanism (in the case of default scheduler at least) to temporarily extend the parallelism until the blocking operation completes.

...

An alternative name service implementation for InetAddress has been prototyped in the sandbox (aefimov-dns-client-branch) is virtual thread friendly. TBD if this will be proposed as a JEP. Minimallhy a service provider interface will be introduced to make it possible to deploy name service implementations that do not pin the carrier thread during lookups.

...