JDK-8309406 : Change jdk.trackAllThreads to default to true
  • Type: Enhancement
  • Component: core-svc
  • Sub-Component: tools
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-06-03
  • Updated: 2023-06-13
  • Resolved: 2023-06-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 21
21 b26Fixed
Related Reports
Duplicate :  
Relates :  
Description
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.
Comments
Changeset: 2e9eff56 Author: Alan Bateman <alanb@openjdk.org> Date: 2023-06-06 06:01:38 +0000 URL: https://git.openjdk.org/jdk/commit/2e9eff56418273e85accc43dcef533995c6be8bf
06-06-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/14300 Date: 2023-06-03 13:41:53 +0000
05-06-2023