RFR: 8261941: Use ClassLoader for unregistered classes during -Xshare:dump [v5]
Calvin Cheung
ccheung at openjdk.java.net
Thu Sep 16 16:40:34 UTC 2021
> Before this change, unregistered classes are loaded by the boot class loader during CDS dump time.
> This RFE creates an URLClassLoader based on the source specified in the classlist and uses the URLClassLoader to load the unregistered class during CDS dump time. The URLClassLoader instances will be cached in a hash table with the source as the key so that classes associated with the same source will be loaded by the same instance of class loader.
>
> Passed tiers 1 - 4 testing.
Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:
add back a blank line to jvm.cpp
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/5458/files
- new: https://git.openjdk.java.net/jdk/pull/5458/files/6272a480..bcf20769
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5458&range=04
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5458&range=03-04
Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/5458.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5458/head:pull/5458
PR: https://git.openjdk.java.net/jdk/pull/5458
More information about the hotspot-runtime-dev
mailing list