Open Alexjsenn opened 4 years ago
Hey @andrewazores, is there still something to do with issue? Just saw it mention in code:
I haven't checked the behaviour since probably when this bug was filed. In the end I think we worked around it effectively enough so it hasn't been a priority to look at it again, but perhaps the underlying bug was fixed when we upgraded JMC versions in -core
? If not, then I think it's still there.
The default recording options can be retrieved from a target JVM using
IFlightRecorderService::getAvailableRecordingOptions()
. The map returned specifies the default values for different recording options. While testing (using the cjfr instance itself as a targetJVM) the JVM reports that the default value fortoDisk
isfalse
. However, after creating a recording without specifyingtoDisk
(which we assume would mean the JVM would fall back on its default), the recording is created withtoDisk=true
. Given this inconsistency, thetoDisk
checkbox in the new recordings page of the web-client has been set to default to true, thus requiring the user to specifically disable the option if they wish to.