RFR: 8277072: ObjectStreamClass caches keep ClassLoaders alive [v3]
Roman Kennke
rkennke at openjdk.java.net
Wed Dec 1 12:21:28 UTC 2021
On Wed, 1 Dec 2021 10:49:54 GMT, Peter Levart <plevart at openjdk.org> wrote:
> ...I think that you could remove now obsolete java.io.ObjectStreamClass.EntryFuture nested class. It's not used any more.
Done.
> It would be nice to follow-up this patch with patches that make use of ClassValue also for:
>
> * java.io.ObjectInputStream.Caches#subclassAudits
>
> * java.io.ObjectOutputStream.Caches#subclassAudits
>
>
> ...this way the common static machinery like:
>
> * java.io.ObjectStreamClass#processQueue
>
> * java.io.ObjectStreamClass.WeakClassKey
> ...could get removed as it is not used in ObjectStreamClass any more.
I filed: https://bugs.openjdk.java.net/browse/JDK-8278065
Thanks!
-------------
PR: https://git.openjdk.java.net/jdk/pull/6375
More information about the core-libs-dev
mailing list