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

JFR: Slow dump with path-to-gc-roots=true

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 15
    • 13
    • hotspot
    • jfr
    • b25

        I tried to run:

        $ java -XX:StartFlightRecording ...
        $ jcmd <pid> JFR.dump filename=test.jfr path-to-gc-roots=true

        on the latest JDK 13 (debug-level=release) with a heap of 150 MB and it took 5 seconds. This seems at least a magnitude too slow This was done using an application that fills a HashSet with objects (shallow heap). This could possibly be a regression from "JDK-8214542: JFR: Old Object Sample event slow on a deep heap in debug build"

              egahlin Erik Gahlin
              egahlin Erik Gahlin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: