Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8347400

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8, 25
    • 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/".

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

              Created:
              Updated: