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

Erik Gahlin egahlin at openjdk.org
Tue Dec 19 17:44:49 UTC 2023


On Tue, 19 Dec 2023 16:28:03 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

> However, the cache can be emptied under high memory pressure, so the `ObjectStreamClass` instance might be recreated later, thus re-invoking the serialization checker once again.

I think it would be good to state in the description when checks occur, something like: Only the first time a class is serialized are the misdeclaration checks carried out, but may happen happen more frequently under high memory pressure. (Try to avoid using the word "event")

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

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


More information about the core-libs-dev mailing list