> 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 16 additional commits since the 
last revision:

 - Make awaitWaiting in testThreadJoin/testStructuredTaskScopeJoin easier to 
understand
 - Merge branch 'master' into JDK-8394915
 - 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
 - ... and 6 more: https://git.openjdk.org/jdk/compare/35aac78d...c6290a3f

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/33659/files
  - new: https://git.openjdk.org/jdk/pull/33659/files/f2014652..c6290a3f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=33659&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33659&range=01-02

  Stats: 3740 lines in 129 files changed: 3106 ins; 253 del; 381 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

Reply via email to