JDK-8322567 : Release Note: JFR: Increased Startup Time when Using `-XX:StartFlightRecording`
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 22
  • Priority: P3
  • Status: Resolved
  • Resolution: Delivered
  • Submitted: 2023-12-20
  • Updated: 2024-02-16
  • Resolved: 2024-01-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 22
22Resolved
Description
A noticeable 10% increase in startup time can be observed when using the `-XX:StartFlightRecording` option with smaller applications. This is due to an ongoing initiative to reduce technical debt in the JFR bytecode instrumentation. The work is anticipated to be finished in a future release, resulting in a startup time that is comparable to JDK 21.
Comments
The regression happened in JDK 22 so it makes sens to have that as fix version.
13-02-2024