Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

target JVMs report a different default "toDisk" value from actual value used in new recordings #263

Open
Alexjsenn opened this issue Sep 11, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@Alexjsenn
Copy link
Contributor

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 for toDisk is false. However, after creating a recording without specifying toDisk (which we assume would mean the JVM would fall back on its default), the recording is created with toDisk=true.
Given this inconsistency, the toDisk 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.

@tthvo
Copy link
Member

tthvo commented Sep 12, 2023

@andrewazores
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants