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.
- duplicates
-
JDK-8302185 jdk.trackAllThreads should be enabled by default
- Closed
- relates to
-
JDK-8302185 jdk.trackAllThreads should be enabled by default
- Closed