Alternatives for Flight Recorder JVM flag FlightRecorderOptions=something has ben removed
Issue
When starting an application, the following issues happen:
-XX:FlightRecorderOptions=maxage=... has been removed. Use -XX:StartFlightRecording=maxage=... instead.
Error occurred during initialization of VM
Failure when starting JFR on_vm_start
Or another example:
-XX:FlightRecorderOptions=settings=... has been removed. Use -XX:StartFlightRecording=settings=... instead.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.x
- OpenJDK 8
- OpenJDK 11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.