-
Enhancement
-
Resolution: Fixed
-
P3
-
11, 14, 15
-
b14
JFR allows recordings to be started with a delay in the following manner:
1. java -XX:StartFlightRecording:delay=<timespan>
2. jcmd JFR.start delay=<timespan>
3. Recording::scheduleStart(Duration);
This works fine, but most of the time recordings are not started with a delay, which means two unneessary threads are created when JFR is initialized, adding footprint and slowing down both startup and shudown.
1. java -XX:StartFlightRecording:delay=<timespan>
2. jcmd JFR.start delay=<timespan>
3. Recording::scheduleStart(Duration);
This works fine, but most of the time recordings are not started with a delay, which means two unneessary threads are created when JFR is initialized, adding footprint and slowing down both startup and shudown.