-
Enhancement
-
Resolution: Won't Fix
-
P3
-
10
In JDK 12, there's experimental support for custom loader in CDS. However, there are limitations:
1. if two or more custom loaders want to load a class named "A", only one of those loaders can actually succeed in loading an archived class.
2. the classlist needs to be crafted (manually, or by a script that parses the output of -Xlog:class+load=debug). We should make it possible to include information for custom loaders automatically with -XX:DumpLoadedClassList.
(TBD - the actual proposal will be discussed on hotspot-runtime-dev@openjdk.java.net).
1. if two or more custom loaders want to load a class named "A", only one of those loaders can actually succeed in loading an archived class.
2. the classlist needs to be crafted (manually, or by a script that parses the output of -Xlog:class+load=debug). We should make it possible to include information for custom loaders automatically with -XX:DumpLoadedClassList.
(TBD - the actual proposal will be discussed on hotspot-runtime-dev@openjdk.java.net).
- relates to
-
JDK-8207812 Implement Dynamic CDS Archive
- Resolved
-
JDK-8265602 -XX:DumpLoadedClassList should support custom loaders
- Resolved
-
JDK-8215311 JEP 350: Dynamic CDS Archives
- Closed