getsentry / getsentry/sentry-java

JVM Profiling Windows support

Aperta
#4,779 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Feature Java Profiles
Lingua principale
Kotlin
Stelle
1.4k
Fork
478
Merge medio
2g 22h
PR unite (30g)
69

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.