mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 09:04:41 +02:00
8316969: Improve CDS module graph support for --module option
Reviewed-by: iklam, alanb
This commit is contained in:
parent
7a7b1e5a92
commit
e318cd25cb
13 changed files with 296 additions and 21 deletions
|
@ -1262,8 +1262,7 @@ bool Arguments::add_property(const char* prop, PropertyWriteable writeable, Prop
|
|||
}
|
||||
|
||||
#if INCLUDE_CDS
|
||||
if (is_internal_module_property(key) ||
|
||||
strcmp(key, "jdk.module.main") == 0) {
|
||||
if (is_internal_module_property(key)) {
|
||||
MetaspaceShared::disable_optimized_module_handling();
|
||||
log_info(cds)("optimized module handling: disabled due to incompatible property: %s=%s", key, value);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue