Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8205777 | 11.0.1 | Markus Grönlund | P3 | Resolved | Fixed | team |
This is important if you want to record data far back in time, which can be GBs of data, but not dump all that data every time the JVM exists.
With two recordings you can do:
$java -XX:StartFlightRecording:maxage=2d,maxsize=5GB - XX:StartFlightRecording:maxage=10m,dumponexit=true -jar MyApp.jar
This use case was supported in Oracle JDK 8, by using -XX:StartFlightRecording in combination with- XX:FlightRecorderOptions=defaultrecording=true. JDK 9 removed defaultrecording to simplify configuration
With two recordings you can do:
$java -XX:StartFlightRecording:maxage=2d,maxsize=5GB - XX:StartFlightRecording:maxage=10m,dumponexit=true -jar MyApp.jar
This use case was supported in Oracle JDK 8, by using -XX:StartFlightRecording in combination with- XX:FlightRecorderOptions=defaultrecording=true. JDK 9 removed defaultrecording to simplify configuration
- backported by
-
JDK-8205777 Add support for launching multiple startup recordings
-
- Resolved
-