NativeThreadSet should use placeholder for virtual threads

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 23
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: