RFR: 8244: Turn off scientific notation in JMC for attributes with long data type
Suchita Chaturvedi
schaturvedi at openjdk.org
Tue Jul 30 21:14:36 UTC 2024
On Tue, 30 Jul 2024 16:44:03 GMT, Alex Macdonald <aptmac at openjdk.org> wrote:
> Looks good, although the issue title and description make reference to an option in the preferences that would control this, is this currently in the works or should the issue be updated?
>
> Also not sure if you had seen it, but egahlin left a [comment](https://bugs.openjdk.org/browse/JMC-8244?focusedId=14688532&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14688532) mentioning an approach that jmc 4 and jfr-tool use, which would be to only use scientific notation for floats & doubles, if that's something you'd be interested in as well.
Hi @aptmac , Thanks for taking a look at it. Actually the discussion started with giving an option (like in preference), then we had a detailed discussion with customer as well as Erik. Erik suggested to skip scientific notation for long attributes and that should solve the issue. Same concept I have followed in the fix provided as part of this PR. I agree the subject of the issue was bit confusing, I have updated the same now.
-------------
PR Comment: https://git.openjdk.org/jmc/pull/572#issuecomment-2259218603
More information about the jmc-dev
mailing list