-
Bug
-
Resolution: Fixed
-
P3
-
7u85
-
b01
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
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
- duplicates
-
JDK-8178857 JFR is leaking strings
- Closed