> This is an update to the thread dump generated by > HotSportDiagnosticMXBean.dumpThreads and the jcmd equivalent. > > 1. The thread output is updated to include the identity string of the Thread > object to make it easier link a Thread.join usage to the target thread. > 2. The parkBlocker is now set when parked in StructuredTaskScope.join parks > to make it easier to find the STS in the thread dump. > 3. The thread CPU time is now included for platform threads when available. > 4. The JSON dump escapes forward slash between the module and class name in > the stack traces. Escaping of this character is optional and dropped, as it > was annoying. > 5. The escaping fails if a thread name contains a control character. > > Testing: tier1-3 > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Alan Bateman has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 14 additional commits since the last revision: - Address review comments - Merge branch 'master' into JDK-8394915 - Merge branch 'master' into JDK-8394915 - Merge branch 'master' into JDK-8394915 - Merge branch 'master' into JDK-8394915 - Escape thread name in plain thread dump - cpuTime cleanup - Merge branch 'master' into JDK-8394915 - Merge branch 'master' into JDK-8394915 - Add cpuTime - ... and 4 more: https://git.openjdk.org/jdk/compare/c43603c3...f2014652 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/33659/files - new: https://git.openjdk.org/jdk/pull/33659/files/b5974bf9..f2014652 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=33659&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33659&range=00-01 Stats: 7156 lines in 215 files changed: 4893 ins; 1244 del; 1019 mod Patch: https://git.openjdk.org/jdk/pull/33659.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/33659/head:pull/33659 PR: https://git.openjdk.org/jdk/pull/33659
