[jdk11u-dev] RFR: 8277072: ObjectStreamClass caches keep ClassLoaders alive [v2]

Martin Doerr mdoerr at openjdk.java.net
Fri Mar 18 10:41:32 UTC 2022


On Thu, 17 Mar 2022 15:53:32 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

>> Hi all,
>> 
>> This pull request contains a backport of commit [8eb453ba](https://github.com/openjdk/jdk/commit/8eb453baebe377697286f7eb32280ca9f1fd7775) from the [openjdk/jdk](https://git.openjdk.java.net/jdk) repository.
>> 
>> The commit being backported was authored by Roman Kennke on 10 Dec 2021 and was reviewed by Roger Riggs and Peter Levart.
>> 
>> It fixes a memory leak in ObjectStreamClass under certain conditions. See bug for details.
>> The backport was not clean, there have been some rather minor differences in context.
>> 
>> Thanks!
>
> Roman Kennke has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix usage of Reference.refersTo() in new test

LGTM.

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

Marked as reviewed by mdoerr (Reviewer).

PR: https://git.openjdk.java.net/jdk11u-dev/pull/869


More information about the jdk-updates-dev mailing list