Skip to content

Wrong parentId tracking in FlightRecorderApplicationStartup #34128

@youngledo

Description

@youngledo

It looks like the eventId and parentId of the JFR events generated by 'FlightRecorderApplicationStartup' do not match.
image
image

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

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions