• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Page Information

    Loading...
  1. Dashboard
  2. Undefined Space
  3. Loom
  4. Blocking

Page History

Versions Compared

Old Version 35

changes.mady.by.user Alan Bateman

Saved on Oct 31, 2020

compared with

New Version 36

changes.mady.by.user Alan Bateman

Saved on Oct 31, 2020

  • Previous Change: Difference between versions 34 and 35
  • Next Change: Difference between versions 36 and 37
  • View Page History

Key

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

...

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


APIMethod(s)Notes
java.lang.Objectwait
java.lang.ProcesswaitForWindows only
java.io.FileAll file I/O operations
java.io.FileInputStreamopen, read, skip
java.io.FileOutputStreamopen, write
java.io.RandomAccessFileopen, read, write, seek
java.net.InetAddressAll lookup operationsInetAddress SPI in the works that will allow deploying a virtual thread friendly name resolver
java.nio.MappedByteBufferforce
java.nio.channels.SelectorAll blocking selection operations
java.nio.channels.FileChannelread, write, lock, truncate, force, transferTo
java.nio.fileAll file I/O operations

...

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

...

Overview
Content Tools
ThemeBuilder

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.23
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 275, "requestCorrelationId": "81f4fef9d791b17e"}