< prev index next >

src/hotspot/share/runtime/arguments.cpp

Print this page

*** 1456,1466 **** #if INCLUDE_CDS if (is_internal_module_property(key) || strcmp(key, "jdk.module.main") == 0) { MetaspaceShared::disable_optimized_module_handling(); ! log_info(cds)("Using optimized module handling disabled due to incompatible property: %s=%s", key, value); } #endif if (strcmp(key, "java.compiler") == 0) { process_java_compiler_argument(value); --- 1456,1473 ---- #if INCLUDE_CDS if (is_internal_module_property(key) || strcmp(key, "jdk.module.main") == 0) { MetaspaceShared::disable_optimized_module_handling(); ! log_info(cds)("optimized module handling: disabled due to incompatible property: %s=%s", key, value); ! } ! if (strcmp(key, "jdk.module.showModuleResolution") == 0 || ! strcmp(key, "jdk.module.illegalAccess") == 0 || ! strcmp(key, "jdk.module.validation") == 0 || ! strcmp(key, "java.system.class.loader") == 0) { ! MetaspaceShared::disable_full_module_graph(); ! log_info(cds)("full module graph: disabled due to incompatible property: %s=%s", key, value); } #endif if (strcmp(key, "java.compiler") == 0) { process_java_compiler_argument(value);
*** 2505,2515 **** // -bootclasspath/a: } else if (match_option(option, "-Xbootclasspath/a:", &tail)) { Arguments::append_sysclasspath(tail); #if INCLUDE_CDS MetaspaceShared::disable_optimized_module_handling(); ! log_info(cds)("Using optimized module handling disabled due to bootclasspath was appended"); #endif // -bootclasspath/p: } else if (match_option(option, "-Xbootclasspath/p:", &tail)) { jio_fprintf(defaultStream::output_stream(), "-Xbootclasspath/p is no longer a supported option.\n"); --- 2512,2522 ---- // -bootclasspath/a: } else if (match_option(option, "-Xbootclasspath/a:", &tail)) { Arguments::append_sysclasspath(tail); #if INCLUDE_CDS MetaspaceShared::disable_optimized_module_handling(); ! log_info(cds)("optimized module handling: disabled because bootclasspath was appended"); #endif // -bootclasspath/p: } else if (match_option(option, "-Xbootclasspath/p:", &tail)) { jio_fprintf(defaultStream::output_stream(), "-Xbootclasspath/p is no longer a supported option.\n");
< prev index next >