On Tue, 19 Dec 2023 16:28:03 GMT, Raffaello Giulietti <rgiulie...@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

Reply via email to