Versions Compared

Key

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

The following blocking operations are virtual thread friendly; these methods "release" the underlying carrier thread when the operation blocks.

...

connect, disconnect, send, and write do not block 

...

The following blocking operations use the ForkJoinPool.ManagedBocker mechanism when invoked from a virtual thread. Parallelism is temporarily extended until the blocking operation completes.

...

The following are some of the blocking operations that use the ForkJoinPool.ManagedBocker mechanism by way of the operations in the previous table.

...