getsentry / getsentry/sentry-java

JVM Profiling Windows support

Open
#4,779 1 comment 0 reactions 0 assignees View on GitHub
Feature Java Profiles
Dominant language
Kotlin
Stars
1.4k
Forks
478
Avg merge
2d 23h
Merged PRs (30d)
67

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.