From 6661f059234de8514f063efe8147f0ab9644d85f Mon Sep 17 00:00:00 2001 From: Jaroslav Bachorik Date: Mon, 7 Jul 2025 17:21:50 +0200 Subject: [PATCH 1/2] Clarify support for GraalVM JIT and Datadog Profiler --- content/en/profiler/enabling/java.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/en/profiler/enabling/java.md b/content/en/profiler/enabling/java.md index 9bfe9bca688d7..6cd14ffcf5d64 100644 --- a/content/en/profiler/enabling/java.md +++ b/content/en/profiler/enabling/java.md @@ -37,6 +37,8 @@ Minimum JDK versions: - OpenJ9 JDK 8u372+, 11.0.18+, 17.0.6+ (used on Eclipse OpenJ9, IBM JDK, IBM Semeru Runtime). The profiler is disabled by default for OpenJ9 due to the possibility of crashing JVM caused by a subtle bug in JVTMI implementation. If you are not experiencing any crashes, you can enable the profiler by adding `-Ddd.profiling.ddprof.enabled=true`. - Azul Platform Prime 23.05.0.0+ (formerly Azul Zing) +_*Note*: Datadog Profiler is disabled on GraalVM JIT (JVMCI) and needs to be enabled explicitly with `-Ddd.profiling.ddprof.enabled=true` or `DD_PROFILING_DDPROF_ENABLED=true`._ + The Datadog Profiler uses the JVMTI `AsyncGetCallTrace` function, in which there is a [known issue][1] prior to JDK release 17.0.5. This fix was backported to 11.0.17 and 8u352. The Datadog Profiler is not enabled unless the JVM the profiler is deployed into has this fix. Upgrade to at least 8u352, 11.0.17, 17.0.5, or the latest non-LTS JVM version to use the Datadog Profiler. [1]: https://bugs.openjdk.org/browse/JDK-8283849 From 159c59ea7d355b24f32d49e487217508b47cb632 Mon Sep 17 00:00:00 2001 From: Jaroslav Bachorik Date: Tue, 8 Jul 2025 10:56:29 +0200 Subject: [PATCH 2/2] Update content/en/profiler/enabling/java.md Co-authored-by: Ursula Chen <58821586+urseberry@users.noreply.github.com> --- content/en/profiler/enabling/java.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/profiler/enabling/java.md b/content/en/profiler/enabling/java.md index 05e85fefb48f7..9db0f011f95be 100644 --- a/content/en/profiler/enabling/java.md +++ b/content/en/profiler/enabling/java.md @@ -38,7 +38,7 @@ Minimum JDK versions: - Azul Platform Prime 23.05.0.0+ (formerly Azul Zing) -_*Note*: Datadog Profiler is disabled on GraalVM JIT (JVMCI) and needs to be enabled explicitly with `-Ddd.profiling.ddprof.enabled=true` or `DD_PROFILING_DDPROF_ENABLED=true`._ +**Note:** The Datadog Profiler is disabled on the GraalVM compiler (JVMCI) and needs to be enabled explicitly with `-Ddd.profiling.ddprof.enabled=true` or `DD_PROFILING_DDPROF_ENABLED=true`. The Datadog Profiler uses the JVMTI `AsyncGetCallTrace` function, in which there is a [known issue][1] prior to JDK release 17.0.5. This fix was backported to 11.0.17 and 8u352. The Datadog Profiler is not enabled unless the JVM the profiler is deployed into has this fix. Upgrade to at least 8u352, 11.0.17, 17.0.5, or the latest non-LTS JVM version to use the Datadog Profiler.