hg: jdk/submit: 8240245: Avoid calling is_shared_class_visible() in SystemDictionary::load_shared_class()
yumin.qi at oracle.com
yumin.qi at oracle.com
Thu Jun 11 06:16:41 UTC 2020
Changeset: 3c69cce3c041
Author: minqi
Date: 2020-06-10 23:16 -0700
URL: https://hg.openjdk.java.net/jdk/submit/rev/3c69cce3c041
8240245: Avoid calling is_shared_class_visible() in SystemDictionary::load_shared_class()
Summary: SystemDitionary::load_shared_class can avoid calling is_shared_class_visible if dumptime and runtime do not use modulepath and boot classpath appending.
Reviewed-by: iklam, ccheung
! src/hotspot/share/classfile/classLoader.cpp
! src/hotspot/share/classfile/classLoader.hpp
! src/hotspot/share/classfile/systemDictionary.cpp
! src/hotspot/share/classfile/systemDictionary.hpp
! src/hotspot/share/memory/filemap.cpp
! src/hotspot/share/memory/filemap.hpp
! src/hotspot/share/memory/metaspaceShared.cpp
! src/hotspot/share/memory/metaspaceShared.hpp
! src/hotspot/share/runtime/arguments.cpp
+ test/hotspot/jtreg/runtime/cds/appcds/jigsaw/modulepath/OptimizeModuleHandlingTest.java
+ test/hotspot/jtreg/runtime/cds/appcds/jigsaw/modulepath/src/com.bars/com/bars/Main.java
+ test/hotspot/jtreg/runtime/cds/appcds/jigsaw/modulepath/src/com.bars/module-info.java
+ test/hotspot/jtreg/runtime/cds/appcds/jigsaw/modulepath/src/com.foos/com/foos/Test.java
+ test/hotspot/jtreg/runtime/cds/appcds/jigsaw/modulepath/src/com.foos/module-info.java
More information about the jdk-submit-changes
mailing list