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

Add warning in the documentation of TerminatingThreadLocal

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • core-libs
    • None

      Virtual threads can be unmounted from a carrier thread at any time. Since TerminatingThreadLocal works with platform threads, we should add a warning that virtual threads needs to be pinned during holder value access.

            pminborg Per-Ake Minborg
            pminborg Per-Ake Minborg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: