Thread.join can wait on Thread, allows joinNanos to be removed

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: core-libs

      The implementation of Thread.join on a virtual Thread required its own implementation in the initial implementation. This is because Object.wait pinned its carrier. Now that Object.wait can be preempted it means that Thread.join can work consistently for all threads, the special joinNanos for virtual thread can be removed and the termination field removed.

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

              Created:
              Updated: