-
Notifications
You must be signed in to change notification settings - Fork 454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deadlock when using JDK17 with maven java project #2676
Deadlock when using JDK17 with maven java project #2676
Comments
@snjeza It does seem to help a bit but i will test out more.. i do notice that whenever i call clean java server workspace, to try and get a clean compilation, the old processes are not cleaned up. For example. now i have 4 processes since the morning.
|
It did seem to help initially, but after calling cleanup workspace and reload a bunch of times, its still stuck, but no deadlock in the jstack, just seems to hang now on these steps
|
@mohnishkodnani Could you provide the jstack?
Could you show your log - Enable logging |
|
jstack of one of the jdt processes on the system.
|
Version of java language server : v1.10.2022082204 |
It seems like everytime i do |
|
@snjeza let me know if there is more information i can provide, this happened in the morning and i took the logs as best as I could. |
@mohnishkodnani |
@snjeza this is vscode created..
|
Looks like a lock between worker that updates maven dependencies and the worker that initializes the workspace.
|
Their parent process is 1. It is the system process.
Could you try https://github.com/snjeza/vscode-test/raw/master/java-1.10.4.vsix ?
It is ok. |
[provide a description of the issue]
Open a java project in visual studio code causes a deadlock where the java project import gets stuck.
Environment
Steps To Reproduce
[Please attach a sample project reproducing the error]
Please attach logs
Current Result
Deadlock
Expected Result
Project loads up
Additional Informations
There are 2 jdt processes running when i check my system
083ced92 Initialize Workspace: 31% Refreshing '/jdt.ls-java-project'. [307/1000]
48dfea68 Refreshing Maven model: [0/-1]
The text was updated successfully, but these errors were encountered: