redhat-developer / redhat-developer/vscode-java
Extension Doesn't work if Flight Recorder is Enabled
未关闭
还没有人认领这个 Issue。
bug
ls-error/crash
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
With JFR enabled, the extension does not work at all.
Environment
- Operating System: Mac OS
- JDK version: OpenJDK 14
- Visual Studio Code version: 1.44.2
- Java extension version: 0.60.0
Steps To Reproduce
- Enable JFR in User settings with the following setting:
"java.jdt.ls.vmargs": "-XX:StartFlightRecording=settings=default,dumponexit=true,filename=/Users/bruno/jfrdumps -Xms512m",
-
Restart extension
-
Try to work on any Java project
Current Result
Nothing works.
Expected Result
Should work same way as without JFR.
Additional Informations
The language server JVM is up and running and things are happening inside of it. When you quit VS Code or terminate the JVM, a JFR dump will be produced and will highlight thousands of Errors/Exceptions.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,在启用 JFR 的情况下使用 java.jdt.ls.vmargs 设置复现故障,然后比较 language server 的 JVM 在启用和未启用 JFR 时的行为。追踪 Java 项目操作停止工作的原因,并验证扩展在继续生成所请求的 JFR dump 的同时仍能正常运行。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript, vscode
- 领域
- developer-experience, devtools
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100