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

JFR: Time-fixed recordings should be released at the end of the duration when destination is set

    XMLWordPrintable

    Details

    • Resolved In Build:
      b01

      Description

      The chunk files in the repository are not removed after the end of the duration for the time-fixed recordings:

      For example if we start a time-fixed recording for the duration of 2mins.

       $ date ; /opt/apps/java/jdk170_85AC/bin/sparcv9/jcmd 7460 JFR.start name=Test01 settings=profile duration=2m filename=/var/tmp/Test01.jfr

      Monday, February 29, 2016 11:39:16 AM PST
      7460:
      Started recording 1. The result will be written to:
      /var/tmp/Test01.jfr

      After the 2 min recording has completed we can still see the chunk files in the
      repository:
       $ date ; ls -l /var/tmp/2016_02_29_11_37_26_7460/*
      Monday, February 29, 2016 11:41:21 AM PST
      -rw------- 1 app app 860568 Feb 29 11:39
      /var/tmp/2016_02_29_11_37_26_7460/2016_02_29_11_37_26_7460_0.jfr
       -rw------- 1 app app 615747 Feb 29 11:41
      /var/tmp/2016_02_29_11_37_26_7460/2016_02_29_11_39_16_7460_0.jfr
       -rw------- 1 app app 0 Feb 29 11:41
      /var/tmp/2016_02_29_11_37_26_7460/2016_02_29_11_41_16_7460_0.jfr
       -rw------- 1 app app 0 Feb 29 11:41
       /var/tmp/2016_02_29_11_37_26_7460/2016_02_29_11_41_16_7460_0.jfr.part

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              poonam Poonam Bajaj Parhar
              Reporter:
              shadowbug Shadow Bug
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: