Change jdk.trackAllThreads to default to true

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 21
    • Affects Version/s: None
    • Component/s: core-svc
    • None
    • b26

      Virtual threads created directly with the Thread API are not included in the new thread dump by default. It is time to switch the default so that they do appear in thread dumps. Future work will reduce/remove the overhead of tracking threads (JDK-8309484). The change proposed here has no impact to virtual threads created with the virtual ThreadPerTaskExecutor or StructuredTaskScope.

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

              Created:
              Updated:
              Resolved: