Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8278065

Refactor subclassAudits to use ClassValue

XMLWordPrintable

        As a follow-up to JDK-8277072, we should refactor java.io.ObjectInputStream.Caches#subclassAudits and java.io.ObjectOutputStream.Caches#subclassAudits to use ClassValue instead of SoftReference, similar to what we did in JDK-8277072 for java.io.ObjectStreamClass.Caches#localDescs. Then we can also remove the common machinery java.io.ObjectStreamClass#processQueue and java.io.ObjectStreamClass.WeakClassKey.

              rkennke Roman Kennke
              rkennke Roman Kennke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: