Other |
---|
tbdUnresolved |
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
JDK-8316969 :
|
|
JDK-8319343 :
|
|
JDK-8328313 :
|
Currently, the CDS archived full module graph (FMG, implemented in JDK-8244778) is disabled when you specify command-line options that are related to the module system. We should improve CDS so that we can still take advantage of the FMG when certain command-line options are specified. Here are a few possibilities to consider: 1. At runtime, --add-modules is specified. One common scenario is when -XX:+EnableJVMCI is specified, we automatically add the jdk.internal.vm.ci module. We should try to load the FMG, and then add the extra modules as specified. 2. At runtime, --module is specified. This limits the number of modules visible in the boot layer. We should load the FMG from CDS, and then trim out the unwanted modules. 3. At dump time, --module is specified This limits the number of modules visible in the boot layer. At runtime, we require that the same --module must be specified in order to load the FMG. 4. At runtime, --module-path is specified. We should load the FMG from CDS, and then add the extra modules. 5. At dump time, --module-path is specified We should dump the FMG with the extra modules. At run time, we require that --module-path is the same as (or a superset of) the dump time --module-path in order to load the FMG. This RFE can be implemented in several steps (to be tracked as subtasks of this RFE).
|