Add warning in the documentation of TerminatingThreadLocal

XMLWordPrintable

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

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

              Created:
              Updated: