File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
spring-core/src/main/java/org/springframework/core/metrics/jfr Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2002-2022 the original author or authors.
2+ * Copyright 2002-2025 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -51,10 +51,11 @@ public FlightRecorderApplicationStartup() {
5151
5252 @ Override
5353 public StartupStep start (String name ) {
54+ Long parentId = this .currentSteps .getFirst ();
5455 long sequenceId = this .currentSequenceId .incrementAndGet ();
5556 this .currentSteps .offerFirst (sequenceId );
5657 return new FlightRecorderStartupStep (sequenceId , name ,
57- this . currentSteps . getFirst () , committedStep -> this .currentSteps .removeFirstOccurrence (sequenceId ));
58+ parentId , committedStep -> this .currentSteps .removeFirstOccurrence (sequenceId ));
5859 }
5960
6061}
You can’t perform that action at this time.
0 commit comments