I'm trying to use the following JVM arguments to create a flight recording for the JVM that is created when running JUnit tests in Eclipse (these are added to the VM arguments for the JUnit run configuration):
I see the following on the console (not sure if this is just sysout or slf4j logging to the configured console appender)
Started recording 1. No limit (duration/maxsize/maxage) in use. Use JFR.dump name=default filename=FILEPATH to copy recording data to file.
But when the JUnit test completes and terminates there is no file created.
I think it is suggesting you need to provide a filename setting to tell it where you want the file. The dump settings might only be for exceptional exits, not successful completion. See Starting the Flight Recorder - Release R28 for more.