We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e11771 commit 46a956dCopy full SHA for 46a956d
dd-java-agent/agent-bootstrap/src/main/java/datadog/trace/bootstrap/Agent.java
@@ -869,7 +869,7 @@ private static synchronized void startJmx() {
869
// Load JFR Handlers class early, if present (it has been moved and renamed in JDK23+).
870
// This prevents a deadlock. See PROF-13025.
871
try {
872
- Agent.class.getClassLoader().loadClass("jdk.jfr.events.Handlers");
+ AGENT_CLASSLOADER.loadClass("jdk.jfr.events.Handlers");
873
} catch (Exception e) {
874
// Ignore when the class is not found or anything else goes wrong.
875
}
0 commit comments