getsentry / getsentry/sentry-java
JVM Profiling Windows support
- 主要語言
- Kotlin
- 星號
- 1.4k
- 分支
- 478
- 平均合併
- 3 天 4 小時
- 30 天內合併 PR
- 72
描述
### Description
Our Java SDK currently does not support Windows.
> There is no open source version of async-profiler for Windows. Your best bet on Windows is probably JDK Flight Recorder. It comes with a number of flaws, but given the limitations of the platform, it is hard to achieve the same level of Java profiling quality as on Linux or macOS anyway.
See https://github.com/getsentry/sentry-java/issues/2635#issuecomment-1588345999
`async-profiler` is not planning to add Windows support directly: https://github.com/async-profiler/async-profiler/issues/188.
This means we'd have to look into other ways of capturing profiles for Windows as suggested in the comment quoted and linked above.
We'd have to check with legal whether we could use this: https://docs.oracle.com/javacomponents/jmc-5-4/jfr-runtime-guide/about.htm#JFRUH170
Seems like it requires a commercial license. Assuming each customer would have to have that license.
貢獻指南
研究方向
首先檢視所參照的 async-profiler Windows 討論和 JDK Flight Recorder 執行階段指南。確認 Windows profiling 方案是否合法可用,並定義實作等效 SDK 支援所需的實作與驗證工作;issue 未指定任何檔案或測試。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- performance
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100