Skip to content

Commit 502adf7

Browse files
authored
Record JVM info on JVMs without JFR (#8431)
1 parent 2d7d791 commit 502adf7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dd-java-agent/agent-profiling/profiling-ddprof/src/main/java/com/datadog/profiling/ddprof/DatadogProfiler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ String cmdStartProfiling(Path file) throws IllegalStateException {
263263
+ "This is not recommended and may cause instability and crashes.",
264264
safemode);
265265
}
266-
StringBuilder cmd = new StringBuilder("start,jfr=7");
266+
StringBuilder cmd = new StringBuilder("start,jfr");
267267
cmd.append(",file=").append(file.toAbsolutePath());
268268
cmd.append(",loglevel=").append(getLogLevel(configProvider));
269269
cmd.append(",jstackdepth=").append(getStackDepth(configProvider));

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ moshi = '1.11.0'
2929
testcontainers = '1.20.1'
3030
jmc = "8.1.0"
3131
autoservice = "1.0-rc7"
32-
ddprof = "1.21.0"
32+
ddprof = "1.21.1"
3333
asm = "9.7.1"
3434
cafe_crypto = "0.1.0"
3535
lz4 = "1.7.1"

0 commit comments

Comments
 (0)