It looks like the eventId and parentId of the JFR events generated by 'FlightRecorderApplicationStartup' do not match.
I don't know if I did something wrong?
Here is my sample code and JVM parameters:
@SpringBootApplication
public class StartApplication {
public static void main(String[] args) {
SpringApplication springApplication = new SpringApplication(StartApplication.class);
springApplication.setApplicationStartup(new FlightRecorderApplicationStartup());
springApplication.run(args);
}
}
-XX:StartFlightRecording:filename=/data/app.jfr,duration=30s -XX:FlightRecorderOptions=stackdepth=192
Additional
Spring Boot Version: 2.5.15、
I tried to use the '3.4.1 'version, and it seems to be the same:
Comment From: bclozel
Duplicates https://github.com/spring-projects/spring-framework/issues/34128