JFR: Recording cant be written to repository with non-ascii characters

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 8, 25
    • Component/s: hotspot
    • None
    • jfr
    • windows

      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/".

            Assignee:
            Unassigned
            Reporter:
            Joakim Nordström
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: