When a repository path contains non-ascii characters, the JFR chunkfiles cannot be written to it, resulting in an empty recording.
This can happen if f.i. a Windows username contains non-ascii characters, and the temp dir defaults to this.
A workaround is to override the default temp directory with '-Djava.io.tempdir' or explicitly set repository path with '-XX:FlightRecorderOptions:repository' to a directory containing only ascii characters.
It can similarly be reproduced by setting '-Djava.io.tmpdir' or '-XX:FlightRecorderOptions:repository' to a path with non-ascci characters, f.i. "-Djava.io.tmpdir=c:/célinedion/".
This can happen if f.i. a Windows username contains non-ascii characters, and the temp dir defaults to this.
A workaround is to override the default temp directory with '-Djava.io.tempdir' or explicitly set repository path with '-XX:FlightRecorderOptions:repository' to a directory containing only ascii characters.
It can similarly be reproduced by setting '-Djava.io.tmpdir' or '-XX:FlightRecorderOptions:repository' to a path with non-ascci characters, f.i. "-Djava.io.tmpdir=c:/célinedion/".