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

Jaikiran Pai jpai at openjdk.org
Tue Dec 19 14:42:49 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.

Hello Raffaello, 

> On the other hand, the checks and the events generation are done for serializable classes that actually actively participate in serialization, lazily, and just once per class

Is it per class for each classloader that loads it? Or is it per class per JVM? It's more out of curiosity than anything else because I don't think it makes a big difference (I don't expect too many classloaders that would lead to the case of extremely large streams of events).

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

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



More information about the security-dev mailing list