mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8194812: Extend class-data sharing to support the module path
8199360: Rework the support for the 'ignored' module options in CDS Reviewed-by: jiangli, lfoltan, iklam, mseledtsov
This commit is contained in:
parent
d187884156
commit
4ef7c919a2
55 changed files with 2009 additions and 349 deletions
|
@ -3891,6 +3891,11 @@ jint Threads::create_vm(JavaVMInitArgs* args, bool* canTryAgain) {
|
|||
// cache the system and platform class loaders
|
||||
SystemDictionary::compute_java_loaders(CHECK_JNI_ERR);
|
||||
|
||||
if (DumpSharedSpaces) {
|
||||
// capture the module path info from the ModuleEntryTable
|
||||
ClassLoader::initialize_module_path(THREAD);
|
||||
}
|
||||
|
||||
#if INCLUDE_JVMCI
|
||||
if (force_JVMCI_intialization) {
|
||||
JVMCIRuntime::force_initialization(CHECK_JNI_ERR);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue