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.

...

socket adaptor receive also okay
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 blocking operations use the ForkJoinPool.ManagedBocker mechanism by way of operations in the previous table.

...