getsentry / getsentry/sentry-java

JVM Profiling Windows support

Offen
#4,779 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Feature Java Profiles
Vorherrschende Sprache
Kotlin
Sterne
1.4k
Forks
478
Ø Merge
2 T. 23 Std.
Gemergte PRs (30 T.)
67

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.