RFR: 8292916: Streamline LoaderConstraint purging
Coleen Phillimore
coleenp at openjdk.org
Thu Aug 25 15:35:08 UTC 2022
The code to purge loader constraints walks through the class loader list of an unloaded class, and then asserts that the there are no leftovers. It can just directly remove the list of loaders without that walk.
Also I left the variable name 'probe' to help with diffs for [JDK-8291969](https://bugs.openjdk.org/browse/JDK-8291969) a little, but it's a bad variable name.
Tested with tier1-3 which contains jck tests.
-------------
Commit messages:
- 8292916: Streamline LoaderConstraint purging
Changes: https://git.openjdk.org/jdk/pull/10023/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10023&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8292916
Stats: 54 lines in 1 file changed: 10 ins; 12 del; 32 mod
Patch: https://git.openjdk.org/jdk/pull/10023.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10023/head:pull/10023
PR: https://git.openjdk.org/jdk/pull/10023
More information about the hotspot-runtime-dev
mailing list