Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8321594

NativeThreadSet should use placeholder for virtual threads

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • None
    • core-libs
    • b02

      NativeThreadSet is a supporting class used by FileChannel to track the threads doing I/O on the channel. It supports the signalling of native threads that are blocked in file I/O and also supports waiting for all threads to finish I/O operations. NativeThreadSet should be re-examined. On Windows it doesn't need to use the threads array as threads aren't signalled. For virtual threads then it we need to move away from tracking the carrier thread handle.

            alanb Alan Bateman
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: