-
Bug
-
Resolution: Fixed
-
P3
-
hs24, hs25
-
b34
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8018449 | 7u45 | Markus Grönlund | P3 | Closed | Fixed | b01 |
JDK-8009493 | 7u40 | Markus Grönlund | P3 | Resolved | Fixed | b15 |
A temporary chunk file(.jfr.part file) in the jfr repository can keep growing indefinitely under some circumstances.
Reproduces easily with the included testcase. Run with the following arguments:
java -XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=true,disk=true,settings=./test.jfc,maxsize=10m,maxchunksize=1m,maxage=10s Test
The files in the repository will keep growing past the max sizes:
# du -h /tmp/2013_02_19_15_26_07_5591/*
0 /tmp/2013_02_19_15_26_07_5591/2013_02_19_15_26_07_5591.jfr
129M /tmp/2013_02_19_15_26_07_5591/2013_02_19_15_26_07_5591.jfr.part
Reproduces easily with the included testcase. Run with the following arguments:
java -XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=true,disk=true,settings=./test.jfc,maxsize=10m,maxchunksize=1m,maxage=10s Test
The files in the repository will keep growing past the max sizes:
# du -h /tmp/2013_02_19_15_26_07_5591/*
0 /tmp/2013_02_19_15_26_07_5591/2013_02_19_15_26_07_5591.jfr
129M /tmp/2013_02_19_15_26_07_5591/2013_02_19_15_26_07_5591.jfr.part
- backported by
-
JDK-8009493 jfr repository grows larger than maxsize if disabled events are triggered only
-
- Resolved
-
-
JDK-8018449 jfr repository grows larger than maxsize if disabled events are triggered only
-
- Closed
-