RFR: 8278065: Refactor subclassAudits to use ClassValue
openjdk-notifier[bot]
duke at openjdk.java.net
Fri Dec 10 16:31:46 UTC 2021
On Wed, 1 Dec 2021 14:45:23 GMT, Roman Kennke <rkennke at openjdk.org> wrote:
> As a follow-up to #6375, this change refactors java.io.ObjectInputStream.Caches#subclassAudits and java.io.ObjectOutputStream.Caches#subclassAudits to use ClassValue instead of SoftReference, similar to what we did in #6375 for java.io.ObjectStreamClass.Caches#localDescs. Then we can now also remove the common machinery java.io.ObjectStreamClass#processQueue and java.io.ObjectStreamClass.WeakClassKey.
>
> Testing:
> - [x] tier1
> - [x] tier2
> - [ ] tier3
The dependent pull request has now been integrated, and the target branch of this pull request has been updated. This means that changes from the dependent pull request can start to show up as belonging to this pull request, which may be confusing for reviewers. To remedy this situation, simply merge the latest changes from the new target branch into this pull request by running commands similar to these in the local repository for your personal fork:
git checkout JDK-8277072
git fetch https://git.openjdk.java.net/jdk master
git merge FETCH_HEAD
# if there are conflicts, follow the instructions given by git merge
git commit -m "Merge master"
git push
-------------
PR: https://git.openjdk.java.net/jdk/pull/6637
More information about the core-libs-dev
mailing list