Add support for new jcmd command "Thread.dump_to_file"
Open
@thurka is already working on this.
Since Jun 2, 2023.
enhancement
- Dominant language
- Java
- Stars
- 3.3k
- Forks
- 334
- PR merge metrics
- No merged PRs in 30d
Description
As part of JEP 444: Virtual Threads jcmd can emit the thread dump in JSON format in addition to plain text:
$ jcmd <pid> Thread.dump_to_file -format=json <file>
Thread dump in json format can be used to visualize the thread dump with a large number of virtual threads.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.