RFR: 8275338: Add JFR events for notable serialization situations [v4]

Jaikiran Pai jpai at openjdk.org
Tue Dec 19 15:07:51 UTC 2023


On Tue, 19 Dec 2023 12:21:05 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

>> Adds serialization misdeclaration events to JFR.
>
> Raffaello Giulietti has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Better name for a label, corrected name of removed field.

src/java.base/share/classes/java/io/SerializationMisdeclarationChecker.java line 276:

> 274:     }
> 275: 
> 276:     private static Object getObject(Field f) {

Should we call this method `getStaticFieldValue(...)`, because that's what the implementation is.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/17129#discussion_r1431535049


More information about the hotspot-jfr-dev mailing list