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

Remove unused chars following '\0'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 9, 10, 11
    • hotspot
    • None
    • b19

        We can use `jhsdb jsnap` to check all PerfData.
        String values in PerfData are defined as jbyte array, but JSnap cannot handle it well as following:

        ```
        $ jhsdb jsnap --pid 28542 --all | less

        sun.gc.cause=No GC^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
        ```

              ysuenaga Yasumasa Suenaga
              ysuenaga Yasumasa Suenaga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: