RFR: 8275338: Add JFR events for notable serialization situations [v3]
Daniel Fuchs
dfuchs at openjdk.org
Wed Dec 20 08:34:51 UTC 2023
On Tue, 19 Dec 2023 19:39:22 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> What about fixed `String`s rather than `int`s for the kind of error?
>> Something like `"SUID_INEFFECTIVE_ON_ENUM"`, and so on?
>> It would be nice to be able to use enums, but AFAIK that's not supported in JFR.
>
> You could define them with an Enum but use the ordinal as the value for JFR.
Same remark here about finality as https://github.com/openjdk/jdk/pull/17129#discussion_r1432400888. public statics should be final.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17129#discussion_r1432402527
More information about the core-libs-dev
mailing list