redhat-developer / redhat-developer/vscode-java

java process going rogue with 5000+ threads

Open
#4,328 1 comment 0 reactions 0 assignees View on GitHub

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

Image

and attached the full stacktrace here:

jstack2.txt

maybe its related to #4307 as its in a repo with lots of small projects (~60) in a multimodule project.

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.