We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 340d9ab commit 29db959Copy full SHA for 29db959
1 file changed
src/executor/wall_time/perf/mod.rs
@@ -97,6 +97,12 @@ impl PerfRunner {
97
// Infer the unwinding mode from the benchmark cmd
98
let (cg_mode, stack_size) = if let Some(mode) = config.perf_unwinding_mode {
99
(mode, None)
100
+ } else if config.command.contains("gradle")
101
+ || config.command.contains("java")
102
+ || config.command.contains("maven")
103
+ {
104
+ // In Java, we must use FP unwinding otherwise we'll have broken call stacks.
105
+ (UnwindingMode::FramePointer, None)
106
} else if config.command.contains("cargo") {
107
(UnwindingMode::Dwarf, None)
108
} else if config.command.contains("go test") {
0 commit comments