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

Roger Riggs rriggs at openjdk.org
Wed Dec 20 14:31:54 UTC 2023


On Tue, 19 Dec 2023 16:45:04 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:
> 
>   Changes according to reviewer's comments.

It would also be useful/interesting to include a test that checks every Serializable class (by  Invoking `ObjectStreamClass.lookup(clazz)`) in the Java runtime and reports any jfr events.  
Fixing them would be a separate task.  The compiler warnings from last year should have fixed most/many non-conforming classes.

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

PR Comment: https://git.openjdk.org/jdk/pull/17129#issuecomment-1864569540



More information about the security-dev mailing list