getsentry / getsentry/sentry-java

JVM Profiling Windows support

未关闭
#4,779 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Feature Java Profiles
主要语言
Kotlin
星标
1.4k
派生
478
平均合并
2 天 23 小时
30 天内合并 PR
67

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。