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 a6879bb commit bf2ed33Copy full SHA for bf2ed33
dd-java-agent/src/main/java/datadog/trace/bootstrap/AgentBootstrap.java
@@ -56,6 +56,18 @@ public final class AgentBootstrap {
56
private static boolean initialized = false;
57
private static List<File> agentFiles = null;
58
59
+ static {
60
+ // Workaround JDK-8345810.
61
+ // On Linux, libpthread must be loaded and initialized
62
+ // while in single threaded mode.
63
+ try {
64
+ if ("Linux".equals(System.getProperty("os.name"))) {
65
+ System.loadLibrary("pthread");
66
+ }
67
+ } catch (Exception e) {
68
69
70
+
71
public static void premain(final String agentArgs, final Instrumentation inst) {
72
agentmain(agentArgs, inst);
73
}
0 commit comments