redhat-developer / redhat-developer/vscode-java
java process going rogue with 5000+ threads
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
I started seeing slowness on my computer and it is due to a java process taking up 99.99% of cpu.
I can kill it but it soon again starts.
Today I managed to run jstack and saw it has over 5739 threads running
below is https://jstack.review/ output
and attached the full stacktrace here:
maybe its related to #4307 as its in a repo with lots of small projects (~60) in a multimodule project.
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.
Research direction
Start with the attached jstack2.txt and the jstack.review output to identify the thread groups and entry points associated with the 99.99% CPU process. Compare the findings with issue #4307 and the multimodule-project context; done should mean reproducing the runaway process and documenting or fixing the cause.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- devtools, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100