mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 17:14:41 +02:00
8319999: Refactor MetaspaceShared::use_full_module_graph()
Reviewed-by: dholmes, ccheung
This commit is contained in:
parent
d9a89c59da
commit
a6343c0b7b
16 changed files with 111 additions and 76 deletions
|
@ -1269,7 +1269,8 @@ bool Arguments::add_property(const char* prop, PropertyWriteable writeable, Prop
|
|||
if (strcmp(key, "jdk.module.showModuleResolution") == 0 ||
|
||||
strcmp(key, "jdk.module.validation") == 0 ||
|
||||
strcmp(key, "java.system.class.loader") == 0) {
|
||||
MetaspaceShared::disable_full_module_graph();
|
||||
CDSConfig::disable_loading_full_module_graph();
|
||||
CDSConfig::disable_dumping_full_module_graph();
|
||||
log_info(cds)("full module graph: disabled due to incompatible property: %s=%s", key, value);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue