spring-projects / spring-projects/spring-boot

Investigate jcmd's json thread dump format

Open
#35,782 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: task
Dominant language
Java
Stars
81.5k
Forks
42.7k
Avg merge
2d 4h
Merged PRs (30d)
65

Description

As part of JEP 444, jcmd has gained the ability to generate a json-formatted thread dump:

$ jcmd <pid> Thread.dump_to_file -format=json <file>

We might be able to serve this format from actuator's threaddump endpoint.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the jcmd Thread.dump_to_file -format=json command from JEP 444 and the actuator's threaddump endpoint. Determine whether the endpoint can serve this JSON thread-dump format, and document the resulting implementation scope or conclusion.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.